Script fixes, additions, and area changes

This commit is contained in:
EpicValor
2023-09-03 21:12:26 -05:00
parent b3a5e77663
commit 430f3102d9
100 changed files with 40112 additions and 1032 deletions

View File

@@ -6,6 +6,13 @@ object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetCurrentHitPoints(oPC)<=0)
{
effect eKill = EffectDeath(TRUE);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eKill,oPC);
PopUpGUIPanel(GetLastPlayerDied(),GUI_PANEL_PLAYER_DEATH);
}
if (GetItemPossessedBy(oPC, "playershandbook")!= OBJECT_INVALID)
return;
CreateItemOnObject("playershandbook", oPC);
@@ -14,4 +21,5 @@ if (GetItemPossessedBy(oPC, "emotewand")!= OBJECT_INVALID)
return;
CreateItemOnObject("emotewand", oPC);
GiveGoldToCreature(oPC, 230);
}