Advertisement
Hipopotofobia

Fixed Hunter EE

Aug 8th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. # The enchant identifier must be unique.
  2. identifier: Hunter
  3.  
  4. # The max level for this enchant.
  5. max-level: 5
  6.  
  7. # The group of this enchant. Configure the groups in the groups.yml file.
  8. group: SIMPLE
  9.  
  10. # Description
  11. description:
  12. - "A chance to give your opponent weakness,"
  13. - "glowing and spawn an TNT at them"
  14. - "to hunt them"
  15.  
  16. # What items this enchant can be applied to.
  17. item-whitelist:
  18. - "BOWS"
  19.  
  20. # For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
  21. effects:
  22. SPAWN_TNT:
  23. # The trigger that will fire this effect.
  24. trigger: ATTACK_PLAYER_RANGE, ATTACK_MOB_RANGE
  25. # What player should the effect be ran on: USER/OPPONENT.
  26. who: OPPONENT
  27. fuse: 40
  28. amount: "{random(low=0, up={level})}"
  29. # Chance of the effect firing.
  30. chance: "5 * {level}"
  31. POTION:
  32. trigger: ATTACK_PLAYER_RANGE, ATTACK_MOB_RANGE
  33. potion-type: GLOWING
  34. duration: "10*{level}"
  35. who: OPPONENT
  36. chance: "10*{level}"
  37. POTION-2:
  38. # The trigger that will fire this effect.
  39. trigger: ATTACK_PLAYER_RANGE, ATTACK_MOB_RANGE
  40. potion-type: WEAKNESS
  41. duration: "5*{level}"
  42. who: OPPONENT
  43. chance: "20*{level}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement