summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorcalciumkid <calciumkid@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-08 11:03:24 +0000
committercalciumkid <calciumkid@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-08 11:03:24 +0000
commit96c184ccaff83c9788e67100465178bb0c1663bd (patch)
tree6b70d35bd87339f7d4aa150b78235393611fe7e6 /npc
parent28a130d40fd4761815cb187f14e5f8b2f6e04249 (diff)
downloadhercules-96c184ccaff83c9788e67100465178bb0c1663bd.tar.gz
hercules-96c184ccaff83c9788e67100465178bb0c1663bd.tar.bz2
hercules-96c184ccaff83c9788e67100465178bb0c1663bd.tar.xz
hercules-96c184ccaff83c9788e67100465178bb0c1663bd.zip
Quest bugfixes.
bugreport:4089, bugreport:3600, bugreport:5046 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15023 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/newgears/2005_headgears.txt3
-rw-r--r--npc/quests/quests_ein.txt8
-rw-r--r--npc/quests/quiz/quiz_qt.txt42
3 files changed, 29 insertions, 24 deletions
diff --git a/npc/quests/newgears/2005_headgears.txt b/npc/quests/newgears/2005_headgears.txt
index 7dd7f12e3..696fc60cc 100644
--- a/npc/quests/newgears/2005_headgears.txt
+++ b/npc/quests/newgears/2005_headgears.txt
@@ -1957,6 +1957,8 @@ gl_prison1,97,104,1 script Phendark#LhzHat 1202,{
break;
case 3:
+ mes "Phendark.";
+ next;
if((@temp1 == 1 || @temp1 == 2) && @temp2 == 1)
{
mes "[Phendark]";
@@ -2000,6 +2002,7 @@ gl_prison1,97,104,1 script Phendark#LhzHat 1202,{
case 4:
mes "Zealotus.";
+ next;
break;
}
switch( select( "Insult him.", "Apologize." ) )
diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt
index 0ec73cfdc..2edb3539d 100644
--- a/npc/quests/quests_ein.txt
+++ b/npc/quests/quests_ein.txt
@@ -3424,7 +3424,7 @@ einbroch,132,84,3 script Liotzburg#ein 853,2,2,{
close;
OnTouch:
- if ($EinPolution > 9) {
+ if ($EinPolution > 9 && !$@AlrdEinPoll) {
mes "[Liotzburg]";
mes "What's going on?!";
mes "Who's responsible?!";
@@ -3438,8 +3438,10 @@ OnTouch:
mes "fix this! I gotta hide and find";
mes "someplace safe!";
close2;
- donpcevent "Einbroch Smog Alert::OnEnable";
- hideonnpc "Liotzburg#ein";
+ if ($EinPolution > 9 && !$@AlrdEinPoll) {
+ donpcevent "Einbroch Smog Alert::OnEnable";
+ hideonnpc "Liotzburg#ein";
+ }
end;
}
else {
diff --git a/npc/quests/quiz/quiz_qt.txt b/npc/quests/quiz/quiz_qt.txt
index 518191833..ab77197a5 100644
--- a/npc/quests/quiz/quiz_qt.txt
+++ b/npc/quests/quiz/quiz_qt.txt
@@ -1482,7 +1482,7 @@ if(quiz_rvl == 18) {
mes "Name of monster which drop";
mes "'Big Ribbon'?";
next;
- menu "Eclipse",sM1_6,"Dragon Fly",sM1_6,"Vocal",sM1_6,"Toad,",-;
+ menu "Eclipse",sM1_6,"Dragon Fly",sM1_6,"Vocal",sM1_6,"Toad",-;
set @score_test2, @score_test2 + 10;
@@ -1676,11 +1676,11 @@ if(quiz_rvl == 20) {
mes "For reference, number of particapants are";
next;
mes "[Kantryl]";
- mes "1st Quiz Revolution - " + quiz1 + "/200";
- mes "2nd Quiz Revolution - " + quiz2 + "/200";
- mes "3rd Quiz Revolution - " + quiz3 + "/200";
- mes "4th Quiz Revolution - " + quiz4 + "/200";
- mes "5th Quiz Revolution - " + quiz5 + "/200";
+ mes "1st Quiz Revolution - " + $quiz1 + "/200";
+ mes "2nd Quiz Revolution - " + $quiz2 + "/200";
+ mes "3rd Quiz Revolution - " + $quiz3 + "/200";
+ mes "4th Quiz Revolution - " + $quiz4 + "/200";
+ mes "5th Quiz Revolution - " + $quiz5 + "/200";
mes "keep it in your mind.";
close;
@@ -1719,15 +1719,15 @@ if(quiz_rvl == 20) {
mes "So please make right decision.";
next;
mes "[Kantryl]";
- mes "1st Quiz Revolution - " + quiz1 + "/200";
- mes "2nd Quiz Revolution - " + quiz2 + "/200";
- mes "3rd Quiz Revolution - " + quiz3 + "/200";
- mes "4th Quiz Revolution - " + quiz4 + "/200";
- mes "5th Quiz Revolution - " + quiz5 + "/200";
+ mes "1st Quiz Revolution - " + $quiz1 + "/200";
+ mes "2nd Quiz Revolution - " + $quiz2 + "/200";
+ mes "3rd Quiz Revolution - " + $quiz3 + "/200";
+ mes "4th Quiz Revolution - " + $quiz4 + "/200";
+ mes "5th Quiz Revolution - " + $quiz5 + "/200";
next;
menu "Join 1st round",-,"Join 2nd round",s2nd,"Join 3rd round",s3nd,"Join 4th round",s4nd,"Join 5th round",s5nd;
- if(quiz1 > 199){
+ if($quiz1 > 199){
mes "[Kantryl]";
mes "I'm sorry. We are all full at";
mes "1st round of quiz revolution";
@@ -1740,7 +1740,7 @@ if(quiz_rvl == 20) {
mes "I have received your application";
mes "Try hard and study hard.";
set quiz_rvl,19;
- set quiz1,quiz1 + 1;
+ set $quiz1,$quiz1 + 1;
getitem 7280,1; //Quiz_Ticket01
close;
@@ -1748,7 +1748,7 @@ if(quiz_rvl == 20) {
s2nd:
- if(quiz2 > 199){
+ if($quiz2 > 199){
mes "[Kantryl]";
mes "I'm sorry. We are all full at";
mes "2nd round of quiz revolution";
@@ -1761,14 +1761,14 @@ if(quiz_rvl == 20) {
mes "I have received your application";
mes "Try hard and study hard.";
set quiz_rvl,19;
- set quiz2,quiz2 + 1;
+ set $quiz2,$quiz2 + 1;
getitem 7281,1; //Quiz_Ticket02
close;
s3nd:
- if(quiz3 > 199){
+ if($quiz3 > 199){
mes "[Kantryl]";
mes "I'm sorry. We are all full at";
mes "3rd round of quiz revolution.";
@@ -1782,7 +1782,7 @@ if(quiz_rvl == 20) {
mes "I have received your application.";
mes "Try hard and study hard.";
set quiz_rvl,19;
- set quiz3,quiz3 + 1;
+ set $quiz3,$quiz3 + 1;
getitem 7282,1; //Quiz_Ticket03
close;
@@ -1790,7 +1790,7 @@ if(quiz_rvl == 20) {
s4nd:
- if(quiz4 > 199){
+ if($quiz4 > 199){
mes "[Kantryl]";
mes "I'm sorry. We are all full at";
mes "4th round of quiz revolution.";
@@ -1803,7 +1803,7 @@ if(quiz_rvl == 20) {
mes "I have received your application.";
mes "Try hard and study hard.";
set quiz_rvl,19;
- set quiz4,quiz4 + 1;
+ set $quiz4,$quiz4 + 1;
getitem 7283,1; //Quiz_Ticket04
close;
@@ -1811,7 +1811,7 @@ if(quiz_rvl == 20) {
s5nd:
- if(quiz5 > 199){
+ if($quiz5 > 199){
mes "[Kantryl]";
mes "I'm sorry. We are all full at";
mes "5th round of quiz revolution.";
@@ -1824,7 +1824,7 @@ if(quiz_rvl == 20) {
mes "I have received your application.";
mes "Try hard and study hard.";
set quiz_rvl,19;
- set quiz5,quiz5 + 1;
+ set $quiz5,$quiz5 + 1;
getitem 7284,1; //Quiz_Ticket05
close;