DamageEffect - Septillihedron/SuperheroesPlusSchema GitHub Wiki
DamageEffect - An object
Properties
mode - Required enum
Allowed values
- ALL
- OTHER
- SELF
The mode of operation
Defaults to SELF
Expression
damage - OptionalThe amount damage that will be dealt
Defaults to 5
EntityDamageEvent.DamageCause
damageCause - OptionalThe type of damage that will be dealt
Defaults to CUSTOM
shouldTriggerEvents - Optional boolean
Whether to make the damage come from the user, thus triggering things like thorns
Defaults to false