For the complete documentation index, see llms.txt. This page is also available as Markdown.

🔧Power Modifiers

EnchantedMobs registers 10 built-in modifier keys. Modifiers run in YAML order after trigger conditions and before abilities.

Reference pages

Common format

modifiers:
  unique-entry-id:
    type: damage
    conditions: {}
    random: 1
    cooldown: 0
    operation: MULTIPLY
    value: 1.25

Common fields

Field
Default
Description

type

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.

Shared numeric operations

Operation
Result

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

Type index

Last updated