Перейти к основному содержимому

Sniper Arrow Action

Increases damage based on the distance the arrow traveled

Поля

ПолеТипПо умолчаниюОписание
multiplierPerBlockDouble0.05Damage multiplier per block traveled
maxBonusDamageDouble10.0Maximum bonus damage that can be added
Общие поля 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.