summaryrefslogtreecommitdiff
path: root/npc/quests/quests_amatsu.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-14 10:09:31 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-14 10:09:31 +0000
commit4c9e879b3634033f065912a543bcbf4c9abd498e (patch)
tree889443ec69d0bcc687583ba8ee1cf74b6cab3546 /npc/quests/quests_amatsu.txt
parent60d515242ed7eae1c9655850960d1d57918cbad1 (diff)
downloadhercules-4c9e879b3634033f065912a543bcbf4c9abd498e.tar.gz
hercules-4c9e879b3634033f065912a543bcbf4c9abd498e.tar.bz2
hercules-4c9e879b3634033f065912a543bcbf4c9abd498e.tar.xz
hercules-4c9e879b3634033f065912a543bcbf4c9abd498e.zip
fixed momomtaro, massive einbroch quests bugfix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8744 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/quests_amatsu.txt')
-rw-r--r--npc/quests/quests_amatsu.txt34
1 files changed, 19 insertions, 15 deletions
diff --git a/npc/quests/quests_amatsu.txt b/npc/quests/quests_amatsu.txt
index 74bdad3cd..c64740466 100644
--- a/npc/quests/quests_amatsu.txt
+++ b/npc/quests/quests_amatsu.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= eAthena team & others? & MasterOfMuppets
//===== Current Version: =====================================
-//= 1.0
+//= 1.2
//===== Compatible With: =====================================
//= eAthena 7.15 +
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= I'm sorry for the mess, I couldn't do much better with
//= the current code I had.
//= 1.1 Added Sushi Quest and Amatsu Event from cities/ [Evera]
+//= 1.2 Fixed Momotaro Quest, thanks to .~Abism0~. [Lupus]
//============================================================
amatsu.gat,223,235,4 script Publisher 763,{
@@ -707,29 +708,32 @@ OnStart:
//=======================================MobCount===============================-
ama_test.gat,0,1,0 script mobcount#momotaro -1,{
OnMobDead:
- if ($MomoDokebi >= 8) goto Lfin;
+ if ($MomoDokebi >= 8){
+ areaannounce "ama_test.gat",30,78,68,120,"Dokebi: I will be baaack~~~~!!!",8;
+ attachrid($MomotaroRID);
+ initnpctimer;
+ end;
+ }
set $MomoDokebi,$MomoDokebi+1;
- attachrid($MomotaroRID);
set @mobrand,rand(4);
- if (@mobrand == 1) goto Lrand2;
- if (@mobrand == 2) goto Lrand3;
- if (@mobrand == 3) goto Lrand4;
+ if (@mobrand == 1) goto Lrand1;
+ if (@mobrand == 2) goto Lrand2;
+ if (@mobrand == 3) goto Lrand3;
+
+ areaannounce "ama_test.gat",30,78,68,120,"Dokebi: I'm sorry~~! Waaaaah~~",8;
+ end;
Lrand1:
- areaannounce "ama_test.gat",30,78,68,120,"Dokebi: I'm sorry~~! Waaaaah~~",8;detachrid;end;
+ areaannounce "ama_test.gat",30,78,68,120,"Dokebi: !! IT'S A RAID!!!! RUN!!",8;
+ end;
Lrand2:
- areaannounce "ama_test.gat",30,78,68,120,"Dokebi: !! IT'S A RAID!!!! RUN!!",8;detachrid;end;
+ areaannounce "ama_test.gat",30,78,68,120,"Dokebi: But I didn't even do anything baaaaad~!",8;
+ end;
Lrand3:
- areaannounce "ama_test.gat",30,78,68,120,"Dokebi: But I didn't even do anything baaaaad~!",8;detachrid;end;
-Lrand4:
- areaannounce "ama_test.gat",30,78,68,120,"Dokebi: Ow, Ouch!!!",8;detachrid;end;
-Lfin:
- areaannounce "ama_test.gat",30,78,68,120,"Dokebi: I will be baaack~~~~!!!",8;
- initnpctimer;
+ areaannounce "ama_test.gat",30,78,68,120,"Dokebi: Ow, Ouch!!!",8;
end;
OnTimer5000:
donpcevent "mobcount2#momotaro::OnTimer5000";
end;
-
}
//=======================================MobCount2==============================-
ama_test.gat,50,101,0 script mobcount2#momotaro -1,{