NWNDS/nwn_dark_sun/ps_deathfld_exit.nss
Jaysyn904 b01c5cc7db Added PnP Dire Rat.
Added PnP Dire Rat.
2021-07-21 17:48:43 -04:00

21 lines
465 B
Plaintext

/************************************
* Death Field onExit script *
* *
* Removes recurring damage *
* *
*************************************/
#include "lib_psionic"
void main()
{
object oPC=GetAreaOfEffectCreator();
object oTarget=GetExitingObject();
string sVarName=GetName(oPC)+"Field";
if (oTarget==oPC) return;
SetLocalInt(oTarget, sVarName, -1);
}