Added PnP Dire Rat.
Added PnP Dire Rat.
This commit is contained in:
20
nwn_dark_sun/ps_deathfld_exit.nss
Normal file
20
nwn_dark_sun/ps_deathfld_exit.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
/************************************
|
||||
* 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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user