Further file organization
Further file organization
This commit is contained in:
16
nwn/nwnprc/trunk/spells/tsspellhook.nss
Normal file
16
nwn/nwnprc/trunk/spells/tsspellhook.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "inc_utility"
|
||||
#include "x2_inc_spellhook"
|
||||
void main()
|
||||
{
|
||||
int nSpell = GetSpellId();
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
if(!GetIsObjectValid(oTarget)
|
||||
|| oTarget != OBJECT_SELF
|
||||
|| Get2DACache("spells", "HostileSetting", nSpell) == "1")
|
||||
{
|
||||
PRCSetUserSpecificSpellScriptFinished();
|
||||
return;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user