-
Notifications
You must be signed in to change notification settings - Fork 1
Attacked Activator
- Directly Activated, default false
- Event Type, any of ATTACK, HURT or DAMAGE, default HURT
This activator will activate its effects when the gem wielding player is attacked by an attacker.
Directly activated doesn't do anything on this activator yet, enabling it would fully disable the activator. A possible implementation would be a direct activation when the gem with this activator is on a shield that is actively blocking the attack.
The property Event Type allows to modify in which phase of the attack the effect gets activated. ATTACK is before shield, iframe and other blocking checks, HURT after iframe checks, DAMAGE after armor/protection/resistance checks, right before the possible death.
Mod Compat with First Aid: If the effect is only supposed to activate if the correct body part was hit, Event Type=DAMAGE and Directly Activated=true needs to be used.