Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- author: "Songoda"
- # The enchant identifier must be unique.
- identifier: Rot and Decay
- # The max level for this enchant.
- max-level: 10
- # The group of this enchant. Configure the groups in the groups.yml file.
- group: GODLY
- # Description
- description:
- - "Rots your enemies down when"
- - "you are attacked."
- # What items this enchant can be applied to.
- item-whitelist:
- - "ARMOR"
- # For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
- effects:
- POTION:
- # The trigger that will fire this effect.
- trigger: "DEFENSE_PLAYER_MELEE, DEFENSE_PLAYER_RANGE"
- # The potion type.
- potion-type: HARM
- # The amplifier of the potion effect.
- amplifier: 1
- # Duration of the potion effect.
- duration: "{level} * 1"
- # Chance of the effect firing.
- chance: "90 + {level}"
- # Who should this effect be ran on.
- who: OPPONENT
- CONSOLE_COMMAND:
- trigger: "DEFENSE_PLAYER_MELEE, DEFENSE_PLAYER_RANGE"
- # Command that should be ran.
- command: msg {opponent} &7&lDecaying
- # Who should this effect be ran on.
- who: OPPONENT
- # Chance of the effect firing.
- chance: "90 + {level}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement