PRC8/nwn/trunk/smp/phs_s_dimenlockb.nss
Jaysyn904 5914ed2ab5 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.
2023-08-22 10:00:21 -04:00

27 lines
865 B
Plaintext

/*:://////////////////////////////////////////////
//:: Spell Name Dimensional Lock : On Exit
//:: Spell FileName PHS_S_DimenlockB
//:://////////////////////////////////////////////
//:: Spell Effects Applied / Notes
//:://////////////////////////////////////////////
Removes one lot of spell visuals from Dimensional Lock.
//:://////////////////////////////////////////////
//:: Created By: Jasperre
//::////////////////////////////////////////////*/
#include "PHS_INC_SPELLS"
void main()
{
// Only remove from this AOE's AOE IF we failed, and a local is == 2.
object oSelf = OBJECT_SELF;
object oTarget = GetExitingObject();
string sId = "PHS_DIMEN_LOCK_SR" + ObjectToString(oTarget);
// Local
if(GetLocalInt(oSelf, sId) == 2)
{
// Exit - remove effects
PHS_AOE_OnExitEffects(PHS_SPELL_DIMENSIONAL_LOCK);
}
}