Advertisement
Hipopotofobia

EE Rot and decay 2

Sep 3rd, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. author: "Songoda"
  2.  
  3. # The enchant identifier must be unique.
  4. identifier: Rot and Decay
  5.  
  6. # The max level for this enchant.
  7. max-level: 10
  8.  
  9. # The group of this enchant. Configure the groups in the groups.yml file.
  10. group: GODLY
  11.  
  12. # Description
  13. description:
  14. - "Rots your enemies down when"
  15. - "you are attacked."
  16.  
  17. # What items this enchant can be applied to.
  18. item-whitelist:
  19. - "ARMOR"
  20.  
  21. # For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
  22. effects:
  23. POTION:
  24. # The trigger that will fire this effect.
  25. trigger: "DEFENSE_PLAYER_MELEE, DEFENSE_PLAYER_RANGE"
  26. # The potion type.
  27. potion-type: HARM
  28. # The amplifier of the potion effect.
  29. amplifier: 1
  30. # Duration of the potion effect.
  31. duration: "{level} * 1"
  32. # Chance of the effect firing.
  33. chance: "90 + {level}"
  34. # Who should this effect be ran on.
  35. who: OPPONENT
  36. CONSOLE_COMMAND:
  37. trigger: "DEFENSE_PLAYER_MELEE, DEFENSE_PLAYER_RANGE"
  38. # Command that should be ran.
  39. command: msg {opponent} &7&lDecaying
  40. # Who should this effect be ran on.
  41. who: OPPONENT
  42. # Chance of the effect firing.
  43. chance: "90 + {level}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement