跳到主要内容

Piercing Shot Action

Causes the arrow to act as true damage, ignoring armor

字段

字段类型默认值描述
damageBypassPercentageDouble0.5Multiplier of the original damage to convert into true damage (e.g. 0.5 for 50%)
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
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, because it reads a damage event. In the current version this event fires for direct hits only, not for damage dealt by an arrow, so test it before relying on it for bows.