Script fixes, additions, and area changes
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user