Pular para o conteúdo principal

Lifesteal Action

Heals the player based on the damage dealt

Campos

CampoTipoPadrãoDescrição
healPercentageDouble0.2Percentage of damage converted to health (e.g. 0.2 for 20%)
Campos comuns do TypeWriter (criteria, modifiers, triggers)
CampoTipoPadrãoDescrição
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.