Anvil
Loading...
Searching...
No Matches
Anvil.API.Events.PlaceableEvents.OnSpellCastAt Class Referencesealed

Called when Spell has been casted on NwPlaceable. More...

+ Inheritance diagram for Anvil.API.Events.PlaceableEvents.OnSpellCastAt:
+ Collaboration diagram for Anvil.API.Events.PlaceableEvents.OnSpellCastAt:

Static Public Member Functions

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

Properties

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

Detailed Description

Called when Spell has been casted on NwPlaceable.


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