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/quests_moscovia.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/quests_moscovia.txt')
-rw-r--r-- | npc/quests/quests_moscovia.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index 13dd91908..3e3bb3414 100644 --- a/npc/quests/quests_moscovia.txt +++ b/npc/quests/quests_moscovia.txt @@ -8624,10 +8624,10 @@ OnTouch: mes "- You hear a splashing as -"; mes "- something gleaming -"; mes "- seems to stare at you!! -"; - next; + close2; specialeffect2 EF_FLASHER; - percentheal -100,0; - close; + unitkill getcharid(CHAR_ID_ACCOUNT); + end; } } else if (rhea_rus_hair > 2 && rhea_rus_hair < 7) { mes "[Lusalka's Voice]"; @@ -8646,9 +8646,10 @@ OnTouch: close; } mes "-You seem to hear the splash but something gleaming raids on you!!-"; + close2; specialeffect2 EF_FLASHER; - percentheal -100,0; - close; + unitkill getcharid(CHAR_ID_ACCOUNT); + end; } } else if (rhea_rus_hair == 8) { mes "["+ strcharinfo(PC_NAME) +"]"; @@ -8884,10 +8885,11 @@ mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{ end; } mes "-When Lusalka watches you, you are blacked out-"; + close2; specialeffect2 EF_FLASHER; - percentheal -100,0; + unitkill getcharid(CHAR_ID_ACCOUNT); donpcevent "Lusalka#rus23::OnDisable"; - close; + end; OnInit: disablenpc "Lusalka#rus23"; |