跳到主要内容

Toxic Aura Action

Emits a toxic cloud, poisoning nearby enemies when you take heavy damage

字段

字段类型默认值描述
minimumDamageThresholdDouble6.0Minimum damage taken to trigger the aura
radiusDouble4.0Radius of the toxic aura in blocks
poisonDurationTicksInt100Duration of the poison effect applied in ticks (20 ticks = 1 second)
poisonAmplifierInt1Level of the poison effect applied
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_DEFEND. It reads the damage event of a hit received by the wearer.