Skip to main content

Deflect Action

Chance to deflect incoming projectiles back at the attacker

Fields

FieldTypeDefaultDescription
deflectChanceDouble0.15Chance to deflect the projectile (e.g. 0.15 for 15%)
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.