Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/*:://////////////////////////////////////////////
//:: 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);
}
}