Anvil
Anvil.API.Events.OnCheckEffectImmunity Class Reference

Called when an effect is checking for creature immunities.
Use this event to force an effect to bypass creature immunities. More...

+ Inheritance diagram for Anvil.API.Events.OnCheckEffectImmunity:
+ Collaboration diagram for Anvil.API.Events.OnCheckEffectImmunity:

Classes

class  Factory
 

Properties

bool Bypass [get, set]
 Gets or sets whether the specified immunity should be ignored, and the effect applied regardless. More...
 
NwCreature Creature = null! [get]
 The creature that the effect is being applied to. More...
 
ImmunityType ImmunityType [get]
 The type of immunity being checked. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when an effect is checking for creature immunities.
Use this event to force an effect to bypass creature immunities.

Property Documentation

◆ Bypass

bool Anvil.API.Events.OnCheckEffectImmunity.Bypass
getset

Gets or sets whether the specified immunity should be ignored, and the effect applied regardless.

◆ Creature

NwCreature Anvil.API.Events.OnCheckEffectImmunity.Creature = null!
get

The creature that the effect is being applied to.

◆ ImmunityType

ImmunityType Anvil.API.Events.OnCheckEffectImmunity.ImmunityType
get

The type of immunity being checked.


The documentation for this class was generated from the following file: