Skip to content

Passive Listener Take Damage

JasperLorelai edited this page Jan 24, 2025 · 3 revisions

Source Code

PassiveSpell trigger: takedamage

Warning

Since 4.0 Beta 17 this trigger has been deprecated.

Properties:

Property Value
Cancellable true
Has Entity Target true
Has Location Target false

Description:

The listener activates whenever an entity takes damage from another entity.

String Format Options:

Arguments are optional but may be a pipe-separated (|) list of DamageCause or items following the Magic Item String format.

triggers:
    - takedamage (causes or items)

Section Format Options:

(Unsupported for now.)

Clone this wiki locally