Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
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));
|
|
}
|
|
}
|