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.