mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-11 19:26:31 -05:00
Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
16
nwn/trunk/spells/tsspellhook.nss
Normal file
16
nwn/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