summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 05:12:30 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 05:12:30 +0000
commit6de5cb578078dfafbf1da489712304f43144bd7d (patch)
tree0b311cd7242f2317fd771de21a52e066c449fc8c /npc/quests
parentc116ea51790a6d42280cf599192614dc373cf91d (diff)
downloadhercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.gz
hercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.bz2
hercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.xz
hercules-6de5cb578078dfafbf1da489712304f43144bd7d.zip
Applied security patches. PLEASE CHECK THEM ALL.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9260 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests')
-rw-r--r--npc/quests/Lvl4_weapon_quest.txt4
-rw-r--r--npc/quests/quests_ein.txt11
-rw-r--r--npc/quests/quests_umbala.txt7
3 files changed, 19 insertions, 3 deletions
diff --git a/npc/quests/Lvl4_weapon_quest.txt b/npc/quests/Lvl4_weapon_quest.txt
index b3183c526..d99868e1e 100644
--- a/npc/quests/Lvl4_weapon_quest.txt
+++ b/npc/quests/Lvl4_weapon_quest.txt
@@ -150,7 +150,9 @@ L4_0_1:
mes "By the way, don't you want to know how evil the city of the dead will be?";
mes "I do since that city influences so much of this village";
mes "with it's mysterious power, you know.";
- break;
+ break;
+ default:
+ end;
}
close;
diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt
index 7d0421bc7..75eedb1e1 100644
--- a/npc/quests/quests_ein.txt
+++ b/npc/quests/quests_ein.txt
@@ -213,6 +213,8 @@ ein_in01.gat,231,163,1 script Sick Old Man 849,6,6,{
mes "you'll figure something out.";
set Shinokas_Quest,7;
close;
+ default:
+ end;
}
}
}
@@ -341,6 +343,8 @@ ein_in01.gat,231,163,1 script Sick Old Man 849,6,6,{
if(@shinqst2)set @shinqst2,0;
next;
break;
+ default:
+ end;
}
}
@@ -590,11 +594,14 @@ einbroch.gat,51,52,1 script lab_warp 45,2,2{
mes "the security system";
mes "will initiate lockout.";
close;
+ case 255:
case 3: //cancel
mes "[Security System]";
mes "You have canceled";
mes "the ID security check.";
close;
+ default:
+ end;
}
//ID check:
mes "[Security System]";
@@ -763,7 +770,7 @@ ein_in01.gat,254,35,1 script Scientist 749,{
mes "..............";
mes "*Grumble grumble*";
next;
- if(select("What's wrong?:Catch you later.")==2){
+ if(select("What's wrong?:Catch you later.")!=1){
mes "[Scientist]";
mes "Right.";
mes "Yeah.";
@@ -942,7 +949,7 @@ L_Apples:
mes "Hahaha! Th-thank you~";
mes "^111111*Hic-hic-hiccup!*^000000";
next;
- if(select("So what was that about Ymir's Heart?:Hehe, you're welcome.")==2){
+ if(select("So what was that about Ymir's Heart?:Hehe, you're welcome.")!=1){
mes "[Drunken Man]";
mes "Hahahaha!";
mes "You're great!";
diff --git a/npc/quests/quests_umbala.txt b/npc/quests/quests_umbala.txt
index b4a539b81..c5cdd54c4 100644
--- a/npc/quests/quests_umbala.txt
+++ b/npc/quests/quests_umbala.txt
@@ -695,6 +695,8 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
set .@gain,992;
}
break;
+ default:
+ end;
}
if(.@need == 0) {
next;
@@ -833,6 +835,8 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
set .@gain,992;
}
break;
+ default:
+ end;
}
next;
if(.@need == 0) {
@@ -912,10 +916,13 @@ um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
mes "good use.";
close;
case 3:
+ case 255:
mes "[Putsuchiritan]";
mes "If you don't wish my help at the moment,";
mes "that's fine. When you do, please come";
mes "by again.";
close;
}
+ default:
+ end;
} \ No newline at end of file