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,28 @@
//::///////////////////////////////////////////////
//:: Name Cold Comfort - OnExit
//:: FileName inv_coldcmfrtb.nss
//::///////////////////////////////////////////////
#include "inv_inc_invfunc"
void main()
{
//Get the object that is exiting the AOE
object oTarget = GetExitingObject();
//Search through the valid effects on the target.
effect eAOE = GetFirstEffect(oTarget);
while (GetIsEffectValid(eAOE))
{
//If the effect was created by the AoE then remove it
if (GetEffectCreator(eAOE) == GetAreaOfEffectCreator())
{
if(GetEffectSpellId(eAOE) == INVOKE_COLD_COMFORT)
{
RemoveEffect(oTarget, eAOE);
}
}
eAOE = GetNextEffect(oTarget);
}
}