Skip to main content

Enlightened Armor Action

Has a chance to heal you when attacked

Fields

FieldTypeDefaultDescription
chanceDouble0.1Chance to trigger the heal (e.g. 0.1 for 10%)
healAmountDouble2.0Amount of health to restore (in half-hearts)
Common TypeWriter fields (criteria, modifiers, triggers)
FieldTypeDefaultDescription
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_DEFEND. It reads the damage event of a hit received by the wearer.