Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

Acquire Potion Effects with Custom Levels and Time #231

Closed Nezumi-exe closed 11 years ago

Nezumi-exe commented 11 years ago

So what I'm thinking when you perform an action you should get a potion buff for a specific amount of time

Zarius commented 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