Thorns Advanced Action
Reflects a percentage of incoming melee damage back to the attacker
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
reflectPercentage | Double | 0.3 | Percentage of damage to reflect (e.g. 0.3 for 30%) |
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.