summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-10-16 15:12:01 +0200
committerGitHub <noreply@github.com>2016-10-16 15:12:01 +0200
commitfd5292f70192c61956556b3c53c68485938a022e (patch)
tree025a3a24d8b6bfddcf86ec3002c5d3cfbeeb1d96 /npc/quests
parent9805dcccbb3f8e5d400d4976486a6b41edfc1af0 (diff)
parent2f06704ee2f6be5566e8cbff0fd29a1238c7cae5 (diff)
downloadhercules-fd5292f70192c61956556b3c53c68485938a022e.tar.gz
hercules-fd5292f70192c61956556b3c53c68485938a022e.tar.bz2
hercules-fd5292f70192c61956556b3c53c68485938a022e.tar.xz
hercules-fd5292f70192c61956556b3c53c68485938a022e.zip
Merge pull request #1473 from Ridley8819/0hp
Fix cases were player were executed
Diffstat (limited to 'npc/quests')
-rw-r--r--npc/quests/eye_of_hellion.txt10
-rw-r--r--npc/quests/okolnir.txt2
-rw-r--r--npc/quests/quests_13_1.txt2
-rw-r--r--npc/quests/quests_ayothaya.txt2
-rw-r--r--npc/quests/quests_moscovia.txt16
-rw-r--r--npc/quests/seals/megingard_seal.txt7
-rw-r--r--npc/quests/the_sign_quest.txt7
7 files changed, 24 insertions, 22 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;
}
}
diff --git a/npc/quests/okolnir.txt b/npc/quests/okolnir.txt
index 6b3a52015..bdf763bd5 100644
--- a/npc/quests/okolnir.txt
+++ b/npc/quests/okolnir.txt
@@ -358,7 +358,7 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306
mes "[Wish Maiden]";
mes "...You are not qualified.";
close2;
- percentheal -100,0;
+ unitkill getcharid(CHAR_ID_ACCOUNT);
cutin "wish_maiden11",255;
end;
}
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt
index 8e57b3a96..0f1481282 100644
--- a/npc/quests/quests_13_1.txt
+++ b/npc/quests/quests_13_1.txt
@@ -13912,7 +13912,7 @@ que_dan02,115,53,3 script Man#moc2_crazyR01 4_M_DSTMAN,{
mes "Are you his enemy?";
mes "DIE!";
close2;
- percentheal -100,0;
+ unitkill getcharid(CHAR_ID_ACCOUNT);
end;
}
cutin "mocseal_kid01",255;
diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt
index 61f3d821c..f409782c8 100644
--- a/npc/quests/quests_ayothaya.txt
+++ b/npc/quests/quests_ayothaya.txt
@@ -1947,7 +1947,7 @@ ayo_dun01,272,26,0 duplicate(AyoTrap1) #th_dun1_1_4 HIDDEN_NPC
ayo_dun01,26,27,0 script #th_dun1_1::AyoTrap2 FAKE_NPC,1,1,{
OnTouch:
- percentheal -100,0;
+ unitkill getcharid(CHAR_ID_ACCOUNT);
end;
}
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";
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 {
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt
index 8a9cceb9b..2ed7ad703 100644
--- a/npc/quests/the_sign_quest.txt
+++ b/npc/quests/the_sign_quest.txt
@@ -4484,9 +4484,8 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "I'll freakin' beat you to near";
mes "freakin' death! Bam bam bam!";
close2;
- percentheal -100,0;
soundeffect "effect\\sign_noise.wav",1;
- percentheal -99,0;
+ Hp = 1;
warp "comodo",122,100;
end;
case 2:
@@ -10764,7 +10763,7 @@ que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{
mes "invitation? Insolent mortal!";
mes "Go back to where you belong!^000000";
close2;
- percentheal -100,0;
+ unitkill getcharid(CHAR_ID_ACCOUNT);
end;
}
else if (sign_q == 117) {
@@ -12202,7 +12201,7 @@ que_sign01,46,56,0 script Fountain#sign HIDDEN_NPC,{
case 1:
mes "...";
close2;
- percentheal -100,0;
+ unitkill getcharid(CHAR_ID_ACCOUNT);
end;
case 2:
mes "...";