From 2f06704ee2f6be5566e8cbff0fd29a1238c7cae5 Mon Sep 17 00:00:00 2001 From: Ridley Date: Mon, 10 Oct 2016 01:17:30 +0200 Subject: Fixes cases where player were executed On Aegis players set their HP to 0 by script are still alive. Since we don't want to copy this, scripts that set HP to 0 and expects the player to stay alive are changed. Additionally some scripts where changed where the HP were set to 1% instead to 1 HP and also the percentheal -100 with intended death set into close2. In megingard_seal.txt a end; was missing. --- npc/quests/seals/megingard_seal.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc/quests/seals') diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt index cf17a9619..228268602 100644 --- a/npc/quests/seals/megingard_seal.txt +++ b/npc/quests/seals/megingard_seal.txt @@ -1859,7 +1859,7 @@ morocc_in,146,179,0 script Employee#megin1 1_F_01,{ mes "^3355FFThe Inn Employee"; mes "knocks you out~^000000"; close2; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); end; } else { @@ -1897,7 +1897,8 @@ morocc_in,146,179,0 script Employee#megin1 1_F_01,{ mes "^3355FFThe Inn Employee"; mes "knocks you out~^000000"; close2; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); + end; } else { mes "[Ms. Scary Inn Employee]"; @@ -1937,7 +1938,7 @@ morocc_in,146,179,0 script Employee#megin1 1_F_01,{ mes "^3355FFThe Inn Employee"; mes "knocks you out~^000000"; close2; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); end; } else { -- cgit v1.2.3-70-g09d2