author: "Songoda" # The enchant identifier must be unique. identifier: Ragdoll # The max level for this enchant. max-level: 4 # The group of this enchant. Configure the groups in the groups.yml file. group: UNIQUE # How the enchant should be formatted on the enchanted item. applied-format: "&Ragdoll {level}" # Description description: - "A chance to be pushed back when." - "you take damage." # What items this enchant can be applied to. item-whitelist: - "ARMOR" # For a full list of effects, please visit: https://wiki.songoda.com/Epic_Enchants#Tutorials effects: THROW: # Chance that this will happen chance: "5 * {level}" # The trigger that will fire this effect trigger: DEFENSE_PLAYER_MELEE # What player should the effect be ran on: USER/OPPONENT. who: USER # What direction the player should be moved in: UP/DOWN/BACKWARD/FORWARD direction: BACKWARD # Magnitude of the throw magnitude: "0.1 * {level}" # What the direction should relative to relative-to: USER