diff options
author | Ridley <ridley8819@gmail.com> | 2016-10-10 01:17:30 +0200 |
---|---|---|
committer | Ridley <ridley8819@gmail.com> | 2016-10-16 14:37:43 +0200 |
commit | 2f06704ee2f6be5566e8cbff0fd29a1238c7cae5 (patch) | |
tree | 231ba54b219c15b75d299c5bb6a9e90942d182b8 /npc/quests/eye_of_hellion.txt | |
parent | 80afa9c5b1d3e7eff0d03f78de3454830789c87b (diff) | |
download | hercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.tar.gz hercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.tar.bz2 hercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.tar.xz hercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.zip |
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.
Diffstat (limited to 'npc/quests/eye_of_hellion.txt')
-rw-r--r-- | npc/quests/eye_of_hellion.txt | 10 |
1 files changed, 5 insertions, 5 deletions
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; } } |