Closed Nezumi-exe closed 11 years ago
Already possible with the poitioneffect parameter :) Eg:
GRASS:
- action: BREAK
chance: 0.5%
dropgroup: mygroup
drops:
- drop: BROWNMUSHROOM
message: "Some brown mushrooms break up in the grass, the smell makes you feel super-human."
potioneffect.attacker: SPEED@200@4 # speed level 4 for 10 seconds
- delay: 200
message: "The effect wore off."
All Bukkit potion effects are listed here: http://jd.bukkit.org/apidocs/org/bukkit/potion/PotionEffectType.html
So what I'm thinking when you perform an action you should get a potion buff for a specific amount of time