Venom Arrow Action
Poisons the target struck by the arrow
Fields
| Field | Type | Default | Description |
|---|---|---|---|
durationTicks | Int | 100 | Duration of the poison effect in ticks (20 ticks = 1 second) |
amplifier | Int | 0 | Level of the poison effect (0 = level 1) |
Common TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<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.