🔧Power Modifiers
Last updated
EnchantedMobs registers 10 built-in modifier keys. Modifiers run in YAML order after trigger conditions and before abilities.
modifiers:
unique-entry-id:
type: damage
conditions: {}
random: 1
cooldown: 0
operation: MULTIPLY
value: 1.25type
required
Registered modifier key. Keys are case-insensitive and - is normalized to _.
conditions
empty
Typed Power Conditions; every child must pass.
random
1
Application probability.
cooldown
0
Per-source, per-power, per-config-path cooldown in seconds.
Common checks run in this order: conditions, probability, then cooldown acquisition. A modifier whose event-specific implementation later finds incompatible context may still have acquired its common cooldown.
SET
operand
ADD
original + operand
SUBTRACT
original - operand
MULTIPLY
original × operand
DIVIDE
original ÷ operand; zero keeps original
MIN
minimum of original and operand
MAX
maximum of original and operand
duration
armor_pierce
stack_damage_modifier
modify_projectile
replace_projectile
Last updated