Passive Listener Give Damage - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: givedamage

Properties:

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

Description:

The listener activates whenever an entity deals damage to another entity.

String Format Options:

The argument is optional, but it may be a pipe-separated (|) list of items in the Magic Item String format or damage causes.

triggers:
    - givedamage (items or damage causes)

Config Format Options:

(Unsupported for now.)