Anvil
|
Triggered by NwCreature when a spell is cast upon it. More...
Static Public Member Functions | |
static void | Signal (NwObject caster, NwCreature target, NwSpell spell, bool harmful=true) |
Properties | |
NwGameObject | Caster = NWScript.GetLastSpellCaster().ToNwObject<NwGameObject>()! [get] |
Gets the NwGameObject of this spell. Returns null from an area of effect. | |
NwCreature | Creature = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()! [get] |
Gets the NwCreature 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. | |
![]() |
Triggered by NwCreature when a spell is cast upon it.