Beheading Action
Has a chance to drop the victim's head on kill
Поля
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
dropChance | Double | 0.05 | Chance to drop the head on kill (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_ATTACK. It reads the damage event of a melee hit.