Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The enchant identifier must be unique.
- identifier: Hunter
- # The max level for this enchant.
- max-level: 5
- # The group of this enchant. Configure the groups in the groups.yml file.
- group: SIMPLE
- # Description
- description:
- - "A chance to give your opponent weakness,"
- - "glowing and spawn an TNT at them"
- - "to hunt them"
- # What items this enchant can be applied to.
- item-whitelist:
- - "BOWS"
- # For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
- effects:
- SPAWN_TNT:
- # The trigger that will fire this effect.
- trigger: ATTACK_PLAYER_RANGE, ATTACK_MOB_RANGE
- # What player should the effect be ran on: USER/OPPONENT.
- who: OPPONENT
- fuse: 40
- amount: "{random(low=0, up={level})}"
- # Chance of the effect firing.
- chance: "5 * {level}"
- POTION:
- trigger: ATTACK_PLAYER_RANGE, ATTACK_MOB_RANGE
- potion-type: GLOWING
- duration: "10*{level}"
- who: OPPONENT
- chance: "10*{level}"
- POTION-2:
- # The trigger that will fire this effect.
- trigger: ATTACK_PLAYER_RANGE, ATTACK_MOB_RANGE
- potion-type: WEAKNESS
- duration: "5*{level}"
- who: OPPONENT
- chance: "20*{level}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement