//:://///////////////////////////////////////////// //:: Default: On Spell Cast At //:: NW_C2_DEFAULTB //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* This determines if the spell just cast at the target is harmful or not. */ //::////////////////////////////////////////////// //:: Created By: Preston Watamaniuk //:: Created On: Dec 6, 2001 //::////////////////////////////////////////////// #include "NW_I0_GENERIC" void main() { ExecuteScript("prc_npc_spellat", OBJECT_SELF); if(GetLastSpellHarmful()) { SignalEvent(OBJECT_SELF, EventUserDefined(1005)); } }