summaryrefslogtreecommitdiff
path: root/npc/quests/the_sign_quest.txt
diff options
context:
space:
mode:
authorRidley <ridley8819@gmail.com>2016-10-10 01:17:30 +0200
committerRidley <ridley8819@gmail.com>2016-10-16 14:37:43 +0200
commit2f06704ee2f6be5566e8cbff0fd29a1238c7cae5 (patch)
tree231ba54b219c15b75d299c5bb6a9e90942d182b8 /npc/quests/the_sign_quest.txt
parent80afa9c5b1d3e7eff0d03f78de3454830789c87b (diff)
downloadhercules-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/the_sign_quest.txt')
-rw-r--r--npc/quests/the_sign_quest.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt
index 274848569..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:
@@ -6837,7 +6836,7 @@ yuno,330,100,4 script Knight#ss 4_M_JOB_KNIGHT2,{
}
}
else {
- .@signid = getcharid(0,strcharinfo(PC_NAME));
+ .@signid = getcharid(CHAR_ID_CHAR,strcharinfo(PC_NAME));
.@sign3 = .@signid & 65535;
.@sign4 = .@signid >> 16;
.@sign1 = 254;
@@ -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 "...";