Lifesteal Action
Heals the player based on the damage dealt
Campos
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
healPercentage | Double | 0.2 | Percentage of damage converted to health (e.g. 0.2 for 20%) |
Campos comuns do TypeWriter (criteria, modifiers, triggers)
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
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.