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/eye_of_hellion.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/quests/eye_of_hellion.txt') diff --git a/npc/quests/eye_of_hellion.txt b/npc/quests/eye_of_hellion.txt index 15a61bf2b..8a2b54f8b 100644 --- a/npc/quests/eye_of_hellion.txt +++ b/npc/quests/eye_of_hellion.txt @@ -395,7 +395,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{ mes "you now before you are"; mes "consumed by its darkness!"; close2; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); end; } else if (HELLIONQ > 57 && HELLIONQ < 66) { @@ -435,7 +435,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{ mes "you now before you are"; mes "consumed by its darkness!"; close; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); end; } else if (HELLIONQ == 67) { @@ -1853,7 +1853,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{ mes "to your answer. However..."; mes "You have chosen poorly."; close2; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); end; case 2: mes "[Echoing Voice]"; @@ -1863,7 +1863,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{ mes "where is the respect for your"; mes "own life? If you are that willing to throw it away, you are no hero."; close2; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); end; case 3: mes "[Echoing Voice]"; @@ -1889,7 +1889,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{ mes "your own cowardice. You have"; mes "chosen extremely poorly..."; close2; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); end; } } -- cgit v1.2.3-70-g09d2