Evasion Action
Gives a chance to completely dodge and cancel incoming damage
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
dodgeChance | Double | 0.05 | Chance to dodge the attack (e.g. 0.05 for 5%) |
TypeWriter 通用字段(criteria, modifiers, triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
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.