Added PnP Dire Rat.
Added PnP Dire Rat.
This commit is contained in:
24
nwn_dark_sun/ar_mod_onleave.nss
Normal file
24
nwn_dark_sun/ar_mod_onleave.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
void DeleteStats(object oPlayer);
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetExitingObject();
|
||||
if (GetIsDM(oPC)) return;
|
||||
// Disabled to use the PRC HP Tacking functions
|
||||
/*string sVarName = "HP" + GetLocalString(oPC, "ID");
|
||||
int nHP = GetCurrentHitPoints(oPC);
|
||||
if (nHP == 0) nHP = -1;
|
||||
SetLocalInt(OBJECT_SELF, sVarName, nHP); */
|
||||
// Spell Tracking
|
||||
ExecuteScript("ar_inc_clearvar", oPC);
|
||||
|
||||
}
|
||||
|
||||
|
||||
void DeleteStats(object oPlayer)
|
||||
{
|
||||
DeleteLocalInt(oPlayer, "Arena");
|
||||
DeleteLocalInt(oPlayer, "Player");
|
||||
DeleteLocalInt(oPlayer, "Bounty");
|
||||
}
|
Reference in New Issue
Block a user