forked from Jaysyn/PRC8
Updated AMS marker feats. Removed arcane & divine marker feats. Updated Dread Necromancer for epic progression. Updated weapon baseitem models. Updated new weapons for crafting & npc equip. Updated prefix. Updated release archive.
27 lines
865 B
Plaintext
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);
|
|
}
|
|
}
|