Anvil
Loading...
Searching...
No Matches
Anvil.API.Events.DoorEvents.OnSpellCastAt Class Referencesealed
+ Inheritance diagram for Anvil.API.Events.DoorEvents.OnSpellCastAt:
+ Collaboration diagram for Anvil.API.Events.DoorEvents.OnSpellCastAt:

Static Public Member Functions

static void Signal (NwObject caster, NwDoor target, NwSpell spell, bool harmful=true)
 

Properties

NwGameObject Caster = NWScript.GetLastSpellCaster().ToNwObject<NwGameObject>()! [get]
 Gets the caster of this Spell (NwCreature, NwPlaceable, NwDoor). Returns null from an NwAreaOfEffect.
 
NwDoor Door = NWScript.OBJECT_SELF.ToNwObject<NwDoor>()! [get]
 Gets the NwDoor targeted by this Spell.
 
bool Harmful = NWScript.GetLastSpellHarmful().ToBool() [get]
 Gets a value indicating whether this spell is considered harmful.
 
NwSpell Spell = NwSpell.FromSpellId(NWScript.GetLastSpell())! [get]
 Gets the Spell that was cast.
 
- Properties inherited from Anvil.API.Events.IEvent

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