PRC8/nwn/nwnprc/trunk/spells/tsspellhook.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

16 lines
386 B
Plaintext

#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;
}
}