25 lines
589 B
Plaintext
25 lines
589 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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()
|
||
|
{
|
||
|
|
||
|
if(GetLastSpellHarmful())
|
||
|
{
|
||
|
SignalEvent(OBJECT_SELF, EventUserDefined(1005));
|
||
|
}
|
||
|
}
|