Voodoo Armor Action
Has a chance to apply Weakness to the attacker
Fields
| Field | Type | Default | Description |
|---|---|---|---|
chance | Double | 0.15 | Chance to apply weakness (e.g. 0.15 for 15%) |
durationTicks | Int | 100 | Duration of the weakness effect in ticks |
amplifier | Int | 0 | Level of the weakness effect |
Common TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
When to use it
Put this entry in the actions of a mechanic of a Custom Enchantment Definition whose event is PLAYER_DEFEND. It reads the damage event of a hit received by the wearer.