Date: 2014/12/05 16:56:52 UTC-08:00
Type: Denizen Script
# 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 {
}