Paste #11856: Untitled Paste

Date: 2014/12/05 16:56:52 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


# this links to Carrot Buff
'Carrot_Buff':
  type: world

  events:
    on player consumes i@carrot_item:
    - if <util.random.int[1].to[5]> = 5 {
      - random 3 
      - potion NIGHT_VISION <player> duration 30s power:10
      - potion POISON <player> duration:10s power:3
      - potion CONFUSION <player> duration:8s power:10
      }
      else {

    }