Added NWN Dark Sun module contents

Added NWN Dark Sun module contents.
This commit is contained in:
Jaysyn904
2021-07-12 21:24:46 -04:00
parent 556224a658
commit de24f81734
10609 changed files with 146652 additions and 0 deletions

View 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");
}