summaryrefslogtreecommitdiff
path: root/npc/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'npc/jobs')
-rw-r--r--npc/jobs/1-1/acolyte.txt9
-rw-r--r--npc/jobs/1-1/archer.txt9
-rw-r--r--npc/jobs/1-1/mage.txt15
-rw-r--r--npc/jobs/1-1/merchant.txt21
-rw-r--r--npc/jobs/1-1/swordsman.txt12
-rw-r--r--npc/jobs/1-1/thief.txt15
-rw-r--r--npc/jobs/2-1-1/AssassinCross.txt131
-rw-r--r--npc/jobs/2-1-1/HighPriest.txt101
-rw-r--r--npc/jobs/2-1-1/HighWizard.txt101
-rw-r--r--npc/jobs/2-1-1/LordKnight.txt120
-rw-r--r--npc/jobs/2-1-1/Sniper.txt117
-rw-r--r--npc/jobs/2-1-1/WhiteSmith.txt121
-rw-r--r--npc/jobs/2-1/assassin.txt55
-rw-r--r--npc/jobs/2-1/blacksmith.txt9
-rw-r--r--npc/jobs/2-1/hunter.txt19
-rw-r--r--npc/jobs/2-1/knight.txt42
-rw-r--r--npc/jobs/2-1/priest.txt68
-rw-r--r--npc/jobs/2-1/wizard.txt35
-rw-r--r--npc/jobs/2-2-1/Champion.txt102
-rw-r--r--npc/jobs/2-2-1/Clown.txt123
-rw-r--r--npc/jobs/2-2-1/Creator.txt119
-rw-r--r--npc/jobs/2-2-1/Gypsy.txt123
-rw-r--r--npc/jobs/2-2-1/Paladin.txt120
-rw-r--r--npc/jobs/2-2-1/Professor.txt101
-rw-r--r--npc/jobs/2-2-1/Stalker.txt131
-rw-r--r--npc/jobs/2-2/alchemist.txt46
-rw-r--r--npc/jobs/2-2/crusader.txt13
-rw-r--r--npc/jobs/2-2/monk.txt1920
-rw-r--r--npc/jobs/2-2/rogue.txt57
-rw-r--r--npc/jobs/custom/jobchange.txt118
-rw-r--r--npc/jobs/novice/novice.txt14
31 files changed, 2416 insertions, 1571 deletions
diff --git a/npc/jobs/1-1/acolyte.txt b/npc/jobs/1-1/acolyte.txt
index df02e4310..61edb7e44 100644
--- a/npc/jobs/1-1/acolyte.txt
+++ b/npc/jobs/1-1/acolyte.txt
@@ -3,21 +3,22 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
-//= eAthena 0.5.2 +, dev mod 1009 +
+//= eAthena 1.0 +
//===== Description: =========================================
//= <Description>
//===== Additional Comments: =================================
//= v1.0 Fully working.
//= v1.1 Added function calls for Priest Quest.
//= v1.2 Fixed Marthilda, Yosuke bugs. [Lupus]
+//= v1.3 Added instant job change for High Novice [Lupus]
//============================================================
// -- Father Mareusis --
-prt_church.gat,184,41,4 script "Father Mareusis" 60,
-{
+prt_church.gat,184,41,4 script "Father Mareusis" 60,{
+ callfunc "F_ToHigh",28,"Acolyte High",32,"High Priest",156,0,0,0,"Father Mareusis";
mes "[Father Mareusis]";
if(Class==Job_Novice && job_acolyte_q > 0) goto L_Check;
mes "What is it you are looking for?";
diff --git a/npc/jobs/1-1/archer.txt b/npc/jobs/1-1/archer.txt
index 0d2d0c6e2..86291415b 100644
--- a/npc/jobs/1-1/archer.txt
+++ b/npc/jobs/1-1/archer.txt
@@ -3,19 +3,20 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
-//= eAthena 7.15 +
+//= eAthena 1.0 +
//===== Description: =========================================
//= <Description>
//===== Additional Comments: =================================
//= Fully working
+//= v1.1 Added instant job change for High Novice [Lupus]
//============================================================
// -- Archer Guildsman --
-payon_in02.gat,64,71,4 script Archer Guildsman 59,
-{
+payon_in02.gat,64,71,4 script Archer Guildsman 59,{
+ callfunc "F_ToHigh",27,"High Archer",35,"Sniper",147,148,0,0,"Archer Guildsman";
mes "[Archer Guildsman]";
if(Class==Job_Novice && job_archer_q == 1) goto L_Check;
mes "Good Day. How may I help you?";
diff --git a/npc/jobs/1-1/mage.txt b/npc/jobs/1-1/mage.txt
index 05e74513a..1a8b267db 100644
--- a/npc/jobs/1-1/mage.txt
+++ b/npc/jobs/1-1/mage.txt
@@ -3,20 +3,21 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Compatible With: =====================================
-//= eAthena 7.15 +
+//= eAthena 1.0 +
//===== Description: =========================================
//= <Description>
//===== Additional Comments: =================================
//= Fully working
//= 1.1 Fixed input ingridients bug [Lupus]
+//= v1.2 Added instant job change for High Novice [Lupus]
//============================================================
// -- Expert Mage --
-geffen_in.gat,164,124,4 script Expert Mage 123,
-{
+geffen_in.gat,164,124,4 script Expert Mage 123,{
+ callfunc "F_ToHigh",26,"High Mage",33,"High Wizard",157,0,0,0,"Expert Mage";
if(Class==Job_Novice && job_magician_q >= 1) goto L_BeMage;
mes "[Expert Mage]";
@@ -148,8 +149,7 @@ L_BeMage:
}
// -- Solutions Guide Book --
-geffen_in.gat,177,112,1 script Solutions Guide Book 111,
-{
+geffen_in.gat,177,112,1 script Solutions Guide Book 111,{
mes "[Solutions Guide Book]";
mes "I belong to Geffen Magic Academy. Please handle with care.";
next;
@@ -249,8 +249,7 @@ geffen_in.gat,177,112,1 script Solutions Guide Book 111,
}
// -- Mixing Machine --
-geffen_in.gat,164,112,1 script Mixing Machine 111,
-{
+geffen_in.gat,164,112,1 script Mixing Machine 111,{
mes "[Mixing Machine]";
mes "This is the unique Mixing Machine designed only for making magic solutions. It is the property of the Geffen Magic Academy.";
next;
diff --git a/npc/jobs/1-1/merchant.txt b/npc/jobs/1-1/merchant.txt
index 8204df6a9..afd58ac42 100644
--- a/npc/jobs/1-1/merchant.txt
+++ b/npc/jobs/1-1/merchant.txt
@@ -3,20 +3,21 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
-//= eAthena 7.15 +
+//= eAthena 1.0 +
//===== Description: =========================================
//= <Description>
//===== Additional Comments: =================================
//= Fully working
+//= v1.1 Added instant job change for High Novice [Lupus]
//============================================================
// == Guild NPCs ==
// -- Mahnsoo --
-alberta_in.gat,53,43,6 script Chief Mahnsoo 86,
-{
+alberta_in.gat,53,43,6 script Chief Mahnsoo 86,{
+ callfunc "F_ToHigh",29,"Merchant High",34,"White Smith",153,154,155,0,"Chief Mahnsoo";
mes "[Chief Mahnsoo]";
if(Class==Job_Novice && job_merchant_q3 == 4) goto L_MakeMerc;
if(Class==Job_Novice && job_merchant_q3 == 3) goto L_GiveRecpt;
@@ -396,8 +397,7 @@ L_Failed:
// -- Wharehouse Manager Kay --
-alberta_in.gat,28,29,2 script Merchant Guildsman 83,
-{
+alberta_in.gat,28,29,2 script Merchant Guildsman 83,{
if(Class==Job_Novice && job_merchant_q3 > 0) goto L_Check;
mes "[Wharehouse Manager Kay]";
@@ -716,8 +716,7 @@ L_WrongDest:
}
// -- Kafra(Prontera) --
-prontera.gat,248,42,8 script Kafra 115,
-{
+prontera.gat,248,42,8 script Kafra 115,{
cutin "kafra_03",2;
if(Class==Job_Novice && job_merchant_q3>0) goto L_Start;
L_Other:
@@ -824,8 +823,7 @@ L_WrongDest:
// == Other Npcs ==
// -- Guild Staff --
-geffen_in.gat,155,122,4 script Guild Staff 47,
-{
+geffen_in.gat,155,122,4 script Guild Staff 47,{
if(Class==Job_Novice && job_merchant_q3>0) goto L_Start;
L_Other:
@@ -896,8 +894,7 @@ L_WrongProd:
// -- Dyer's Student --
-morocc_in.gat,140,102,4 script Dyer's Student 86,
-{
+morocc_in.gat,140,102,4 script Dyer's Student 86,{
if(Class==Job_Novice && job_merchant_q3>0) goto L_Start;
L_Other:
diff --git a/npc/jobs/1-1/swordsman.txt b/npc/jobs/1-1/swordsman.txt
index 68447a583..636e12a7e 100644
--- a/npc/jobs/1-1/swordsman.txt
+++ b/npc/jobs/1-1/swordsman.txt
@@ -3,14 +3,15 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
-//= eAthena 7.15 +
+//= eAthena 1.0 +
//===== Description: =========================================
//= <Description>
//===== Additional Comments: =================================
//= Fully working. I have created a custom warp to get into the test room so disable
//= the one in your warp script or scripts. It is this warp: "izlude_in.gat",40,170.
+//= v1.1 Added instant job change for High Novice [Lupus]
//============================================================
@@ -39,8 +40,7 @@ sword_1-1.gat,200,63,0,0 monster Fabre 1184,2,0,0,0
// == Warp ==
// -- Warp to test room --
-izlude_in.gat,62,170,0 script w1039 45,1,1,
-{
+izlude_in.gat,62,170,0 script w1039 45,1,1,{
if(Class==Job_Novice && job_sword_q > 0) warp "izlude_in.gat",40,170;
if(job_sword_q == 0) doevent "Swordsman::OnStart";
end;
@@ -49,8 +49,8 @@ izlude_in.gat,62,170,0 script w1039 45,1,1,
// == Npcs ==
// -- Master Swordsman --
-izlude_in.gat,74,172,5 script Master Swordsman 119,
-{
+izlude_in.gat,74,172,5 script Master Swordsman 119,{
+ callfunc "F_ToHigh",25,"Swordman High",31,"Lord Knight",144,145,146,0,"Master Swordsman";
mes "[Master Swordsman]";
if(Class==Job_Novice && job_sword_q == 2) goto L_Done;
mes "Welcome to the Swordsman Association! So.. What business brings you to us?";
diff --git a/npc/jobs/1-1/thief.txt b/npc/jobs/1-1/thief.txt
index 1acc28314..6f45409e9 100644
--- a/npc/jobs/1-1/thief.txt
+++ b/npc/jobs/1-1/thief.txt
@@ -3,13 +3,14 @@
//===== By: ==================================================
//= eAthena dev team
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
-//= eAthena 7.15 +
+//= eAthena 1.0 +
//===== Description: =========================================
//= <Description>
//===== Additional Comments: =================================
//= Fully working
+//= v1.1 Added instant job change for High Novice [Lupus]
//============================================================
@@ -23,8 +24,7 @@ job_thief1.gat,0,0,0,0 monster Spore 1014,30,0,0,0
// == NPCs ==
// -- Interviewer --
-moc_prydb1.gat,39,129,5 script Thief Guide 69,
-{
+moc_prydb1.gat,39,129,5 script Thief Guide 69,{
if(Class== Job_Thief) goto L_JobThief;
if(Class == Job_Novice) goto L_Start;
@@ -232,8 +232,8 @@ M_Menu:
// -- Test Grader --
-moc_prydb1.gat,42,133,2 script Comrade Brad 118,
-{
+moc_prydb1.gat,42,133,2 script Comrade Brad 118,{
+ callfunc "F_ToHigh",30,"Theif High",36,"Assassin Cross",149,150,151,152,"Brad";
if(Class == 0) goto L_Novice;
if(Class == 6) goto L_Thief;
@@ -326,8 +326,7 @@ L_4:
// -- Irrelevant Man --
-moc_ruins.gat,141,125,3 script Irrelevant Man 118,
-{
+moc_ruins.gat,141,125,3 script Irrelevant Man 118,{
if(Class == 6) goto L_Thief;
if(Class == 0) goto L_Novice;
diff --git a/npc/jobs/2-1-1/AssassinCross.txt b/npc/jobs/2-1-1/AssassinCross.txt
index adf202371..9167411b6 100644
--- a/npc/jobs/2-1-1/AssassinCross.txt
+++ b/npc/jobs/2-1-1/AssassinCross.txt
@@ -1,118 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Assassin Cross ==-
valkyrie.gat,44,58,6 script Assassin Cross 725,{
- if(getskilllv(149) > 0) set @qsk,1;
- if(getskilllv(150) > 0) set @qsk1,1;
- if(getskilllv(151) > 0) set @qsk2,1;
- if(getskilllv(152) > 0) set @qsk3,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4007) && (readparam(55) >= 45)) goto L_HTHF;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4007) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Assassin Cross]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Assassin Cross]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Assassin Cross,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Assassin Cross]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Assassin Cross]";
- mes "You're not ready to become an High thief yet.";
- close;
-
-L_Class:
- mes "[Assassin Cross]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Assassin Cross yet.";
- close;
-
-L_Levels:
- mes "[Assassin Cross]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Assassin Cross";
- close;
-
-L_HNov:
- mes "[Assassin Cross]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 30;
- next;
- mes "[Assassin Cross]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 149,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk1:
- skill 150,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk2:
- skill 151,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk3:
- skill 152,1,0;
- set @qsk3,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Assassin Cross]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Thief";
- close;
-L_HTHF:
- mes "[Assassin Cross]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Assassin Cross!";
- jobchange 36;
- close;
-
-Skill_Points:
- mes "[Assassin Cross]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Assassin Cross]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",30,"Theif High",36,"Assassin Cross",149,150,151,152;
+}
diff --git a/npc/jobs/2-1-1/HighPriest.txt b/npc/jobs/2-1-1/HighPriest.txt
index db0c4c21b..b026ce79d 100644
--- a/npc/jobs/2-1-1/HighPriest.txt
+++ b/npc/jobs/2-1-1/HighPriest.txt
@@ -1,88 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== High Priest ==-
valkyrie.gat,44,42,6 script High Priest 60,{
- if(getskilllv(156) > 0) set @qsk;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4005) && (readparam(55) >= 45)) goto L_HACO;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4005) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[High Priest]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[High Priest]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of High Priest,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[High Priest]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[High Priest]";
- mes "You're not ready to become an Acolyte High yet...";
- close;
-
-L_Class:
- mes "[High Priest]";
- mes "You've come far to get here. unfortunately, you're not ready to become an High Priest yet.";
- close;
-
-L_Levels:
- mes "[High Priest]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an High Priest";
- close;
-
-L_HNov:
- mes "[High Priest]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 28;
- next;
- mes "[High Priest]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- next;
-qsk:
- skill 156,1,0;
- set @qsk,0;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[High Priest]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to Acolyte High";
- close;
-L_HACO:
- mes "[High Priest]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an High Priest!";
- jobchange 32;
- close;
-
-Skill_Points:
- mes "[High Priest]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[High Priest]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",28,"Acolyte High",32,"High Priest",156,0,0,0;
+}
diff --git a/npc/jobs/2-1-1/HighWizard.txt b/npc/jobs/2-1-1/HighWizard.txt
index acf51c225..87833c2f4 100644
--- a/npc/jobs/2-1-1/HighWizard.txt
+++ b/npc/jobs/2-1-1/HighWizard.txt
@@ -1,88 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== High Wizard ==-
valkyrie.gat,44,47,6 script High Wizard 735,{
- if(getskilllv(157) > 0) set @qsk,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4003) && (readparam(55) >= 45)) goto L_HMAG;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4003) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[High Wizard]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[High Wizard]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of High Wizard,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[High Wizard]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[High Wizard]";
- mes "You're not ready to become an High Mage yet.";
- close;
-
-L_Class:
- mes "[High Wizard]";
- mes "You've come far to get here. unfortunately, you're not ready to become an High Wizard yet.";
- close;
-
-L_Levels:
- mes "[High Wizard]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an High Wizard";
- close;
-
-L_HNov:
- mes "[High Wizard]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 26;
- next;
- mes "[High Wizard]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- next;
-qsk:
- skill 157,1,0;
- set @qsk,0;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[High Wizard]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Mage";
- close;
-L_HMAG:
- mes "[High Wizard]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an High Wizard!";
- jobchange 33;
- close;
-
-Skill_Points:
- mes "[High Wizard]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[High Wizard]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",26,"High Mage",33,"High Wizard",157,0,0,0;
+}
diff --git a/npc/jobs/2-1-1/LordKnight.txt b/npc/jobs/2-1-1/LordKnight.txt
index 9dbeaa345..6cd7ec155 100644
--- a/npc/jobs/2-1-1/LordKnight.txt
+++ b/npc/jobs/2-1-1/LordKnight.txt
@@ -1,107 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Lord Knight ==-
valkyrie.gat,44,39,6 script Lord Knight 56,{
- if(getskilllv(144) > 0) set @qsk,1;
- if(getskilllv(145) > 0) set @qsk1,1;
- if(getskilllv(146) > 0) set @qsk2,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4002) && (readparam(55) >= 45)) goto L_HSWM;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4002) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Lord Knight]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Lord Knight]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Lord Knight,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Lord Knight]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Lord Knight]";
- mes "You're not ready to become an High Swordsman yet.";
- close;
-
-L_Class:
- mes "[Lord Knight]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Lord Knight yet.";
- close;
-
-L_Levels:
- mes "[Lord Knight]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Lord Knight";
- close;
-
-L_HNov:
- mes "[Lord Knight]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 25;
- next;
- mes "[Lord Knight]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 144,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk1:
- skill 145,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk2:
- skill 146,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Lord Knight]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Swordsman";
- close;
-L_HSWM:
- mes "[Lord Knight]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Lord Knight!";
- jobchange 31;
- close;
-
-Skill_Points:
- mes "[Lord Knight]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Lord Knight]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",25,"Swordman High",31,"Lord Knight",144,145,146,0;
+}
diff --git a/npc/jobs/2-1-1/Sniper.txt b/npc/jobs/2-1-1/Sniper.txt
index 3b39fb628..1bbf6e75f 100644
--- a/npc/jobs/2-1-1/Sniper.txt
+++ b/npc/jobs/2-1-1/Sniper.txt
@@ -1,104 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Sniper ==-
valkyrie.gat,44,55,6 script Sniper 727,{
- if(getskilllv(147) > 0) set @qsk,1;
- if(getskilllv(148) > 0) set @qsk1,1;
- if(checkfalcon(0) > 0) goto L_Falcon;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4004) && (readparam(55) >= 45)) goto L_HARC;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4004) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Sniper]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Sniper]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Sniper,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Sniper]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Sniper]";
- mes "You're not ready to become an High Archer yet.";
- close;
-
-L_Class:
- mes "[Sniper]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Sniper yet.";
- close;
-
-L_Levels:
- mes "[Sniper]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Sniper";
- close;
-
-L_HNov:
- mes "[Sniper]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 27;
- next;
- mes "[Sniper]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 147,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-qsk1:
- skill 148,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Sniper]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Archer";
- close;
-L_HARC:
- mes "[Sniper]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Sniper!";
- jobchange 35;
- close;
-
-Skill_Points:
- mes "[Sniper]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Sniper]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-
-L_Falcon:
- mes "[Sniper]";
- mes "Please take your Falcon off before proceeding "+strcharinfo(0)+".";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",27,"High Archer",35,"Sniper",147,148,0,0;
+}
diff --git a/npc/jobs/2-1-1/WhiteSmith.txt b/npc/jobs/2-1-1/WhiteSmith.txt
index 29b483eda..103cd65b5 100644
--- a/npc/jobs/2-1-1/WhiteSmith.txt
+++ b/npc/jobs/2-1-1/WhiteSmith.txt
@@ -1,106 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== White Smith ==-
-valkyrie.gat,44,58,6 script White Smith 725,{
- if(getskilllv(153) > 0) set @qsk,1;
- if(getskilllv(154) > 0) set @qsk1,1;
- if(getskilllv(155) > 0) set @qsk2,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4007) && (readparam(55) >= 45)) goto L_HMERC;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4007) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[White Smith]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[White Smith]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of White Smith,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[White Smith]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[White Smith]";
- mes "You're not ready to become an High Merchant yet.";
- close;
-
-L_Class:
- mes "[White Smith]";
- mes "You've come far to get here. unfortunately, you're not ready to become an White Smith yet.";
- close;
-
-L_Levels:
- mes "[White Smith]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an White Smith";
- close;
-
-L_HNov:
- mes "[White Smith]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 29;
- next;
- mes "[White Smith]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- next;
-qsk:
- skill 153,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk1:
- skill 154,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk2:
- skill 155,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[White Smith]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Merchant";
- close;
-L_HMERC:
- mes "[White Smith]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an White Smith!";
- jobchange 34;
- close;
-
-Skill_Points:
- mes "[White Smith]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[White Smith]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+valkyrie.gat,44,51,6 script White Smith 725,{
+ callfunc "F_Rebirth",29,"Merchant High",34,"White Smith",153,154,155,0;
+}
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt
index 7986cd91e..f9b7a730a 100644
--- a/npc/jobs/2-1/assassin.txt
+++ b/npc/jobs/2-1/assassin.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Compatible With: =====================================
//= eAthena RC4
//===== Description: =========================================
@@ -12,12 +12,13 @@
//===== Additional Comments: =================================
//= v1.0 Used some dialogue from the aegis Assassin script translated By: Pgro Team (OwNaGe)
//= Also converted the booby traps from the aegis script.[kobra_k88]
-//=v1.1 Made adjustments to ontouch npcs to work with the new "ontouch" functionality.
+//= v1.1 Made adjustments to ontouch npcs to work with the new "ontouch" functionality.
//= Fixed some duplicate npc names. Added missing waitingroom triggers.
//= Fixed warp in "TimerSin", was supposed to be an areawarp.
//= For some reason sometimes the "Nameless One" would have message windows
//= without controls. Changed the doevent that triggers him to an
//= addtimer and that seemed make the prob. go away[kobra_k88]
+//= 1.2 Fixed WRONG skillpoint check! [Lupus]
//============================================================
@@ -147,7 +148,7 @@ L_Failed2:
end;
L_Change:
- if (skpoint > 0) goto L_SkPoints;
+ if (skillpoint > 0) goto L_SkPoints;
if(countitem(1008) < 1) goto L_NoNecklace;
mes "Ah... the Necklace of Oblivion..... that means that the Guild Master has accepted you into the Assassin clan.";
next;
@@ -1169,16 +1170,14 @@ OnFailed:
}
// Observer ===========================>\\
-in_moc_16.gat,62,153,1 script Observer 55,
-{
+in_moc_16.gat,62,153,1 script Observer 55,{
mes "[Observer]";
mes "Don't mind me, I'm just here to see how well you do on your test.....";
close;
}
// Warp ==============================>\\
-in_moc_16.gat,87,137,0 script sinWarp1 45,2,1,
-{
+in_moc_16.gat,87,137,0 script sinWarp1 45,2,1,{
OnTimer30000:
killmonsterall "in_moc_16.gat";
enablenpc "Thomas";
@@ -1187,8 +1186,7 @@ OnTimer30000:
}
// Booby Traps ========================>\\
-in_moc_16.gat,68,158,0 script 01_1::SinTrap 139,0,0,
-{
+in_moc_16.gat,68,158,0 script 01_1::SinTrap 139,0,0,{
stopnpctimer "TimerSin";
warp "in_moc_16.gat", 19, 161;
killmonsterall "in_moc_16.gat";
@@ -1434,8 +1432,7 @@ OnTimer188000:
//=============================================//
// Warp
//=============================================//
-in_moc_16.gat,182,169,1 script sinWarp3 45,1,1,
-{
+in_moc_16.gat,182,169,1 script sinWarp3 45,1,1,{
if(getareausers(("in_moc_16.gat"),148,74,187,117) > 0) goto L_Wait;
disablenpc "Huey#End";
disablenpc "Kai#End";
@@ -1457,8 +1454,7 @@ in_moc_16.gat,182,169,1 script sinWarp3 45,1,1,
//==============================================//
// Start Trigger ------------------------------------------------------------------
-in_moc_16.gat,167,114,3 script guildmaster_Trig#0 139,4,0,
-{
+in_moc_16.gat,167,114,3 script guildmaster_Trig#0 139,4,0,{
mes "[Guild Master]";
mes "Welcome ^5533FF" + strcharinfo(0) + "^000000. This is my private room.";
next;
@@ -1476,8 +1472,7 @@ in_moc_16.gat,167,114,3 script guildmaster_Trig#0 139,4,0,
}
// Guild Master -----------------------------------------------------------------------------
-in_moc_16.gat,149,80,4 script Guild Master 106,1,1,
-{
+in_moc_16.gat,149,80,4 script Guild Master 106,1,1,{
end;
OnTouch:
@@ -1834,20 +1829,17 @@ sF_Questions2:
//=============================================//
// Maze Triggers
//=============================================//
-in_moc_16.gat,170,90,0 script maze_trig#1 139,0,0,
-{
+in_moc_16.gat,170,90,0 script maze_trig#1 139,0,0,{
mes "[Guild Master]";
mes "There's no way to walk there, try another way.";
close;
}
-in_moc_16.gat,150,85,0 script maze_trig#2 139,0,0,
-{
+in_moc_16.gat,150,85,0 script maze_trig#2 139,0,0,{
mes "[Guild Master]";
mes ".... Getting warmer.... you're almost there.....";
close;
}
-in_moc_16.gat,153,85,0 script maze_trig#3 139,0,0,
-{
+in_moc_16.gat,153,85,0 script maze_trig#3 139,0,0,{
mes "[Guild Master]";
mes "You can't walk there..";
mes "Good, your almost there, keep walking.";
@@ -1855,39 +1847,33 @@ in_moc_16.gat,153,85,0 script maze_trig#3 139,0,0,
mes "you got to turn a round in order to get in.";
close;
}
-in_moc_16.gat,160,85,0 script maze_trig#4 139,0,0,
-{
+in_moc_16.gat,160,85,0 script maze_trig#4 139,0,0,{
mes "[Guild Master]";
mes "There's no way to walk there, try another way.";
close;
}
-in_moc_16.gat,175,89,0 script maze_trig#5 139,0,0,
-{
+in_moc_16.gat,175,89,0 script maze_trig#5 139,0,0,{
mes "[Guild Master]";
mes "That way leads to Botogun..";
mes "What are going to do there?";
close;
}
-in_moc_16.gat,164,88,0 script maze_trig#6 139,0,0,
-{
+in_moc_16.gat,164,88,0 script maze_trig#6 139,0,0,{
mes "[Guild Master]";
mes "Good.... you're on the right track.";
close;
}
-in_moc_16.gat,149,95,0 script maze_trig#7 139,0,0,
-{
+in_moc_16.gat,149,95,0 script maze_trig#7 139,0,0,{
mes "[Guild Master]";
mes "Good, you found the path.";
close;
}
-in_moc_16.gat,180,101,0 script maze_trig#8 139,0,0,
-{
+in_moc_16.gat,180,101,0 script maze_trig#8 139,0,0,{
mes "[Guild Master]";
mes "... It looks like that's not that way...";
close;
}
-in_moc_16.gat,186,107,0 script maze_trig#9 139,0,0,
-{
+in_moc_16.gat,186,107,0 script maze_trig#9 139,0,0,{
mes "[Guild Master]";
mes "...Not that way either...";
close;
@@ -1897,8 +1883,7 @@ in_moc_16.gat,186,107,0 script maze_trig#9 139,0,0,
//================================================//
// Decoy Chief
//================================================//
-in_moc_16.gat,186,81,0 script Guild Master#2 55,
-{
+in_moc_16.gat,186,81,0 script Guild Master#2 55,{
mes "[Guild Master Botogun]";
mes "I'm sorry but I am not the person in charge here.";
mes "The real Guild Chief is on the other side.";
diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt
index 0f1b71eb4..100bbc4da 100644
--- a/npc/jobs/2-1/blacksmith.txt
+++ b/npc/jobs/2-1/blacksmith.txt
@@ -7,7 +7,7 @@
//= Optimized and further edited by kobra_k88.
//= Further bugfixed and tested by Lupus
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
//= eAthena 0.5.2 +
//===== Description: =========================================
@@ -17,6 +17,7 @@
//= names and labels. Edited some text.[kobra_k88]
//= Removed "if(JobLevel > 48) goto higher". It was a left over line.
//= Thx to "Decker".[kobra_k88]
+//= Fixed some typos, thanks to Riotblade [celest]
==============================================================
@@ -461,7 +462,7 @@ L_result:
mes "Good!";
next;
mes "[Geshupenschte]";
- mes "Lets see....your score is ^5533FF"+@score+"."^000000;
+ mes "Lets see....your score is ^5533FF"+@score+".^000000";
if (@score == 100) goto L_perfect;
mes ".............";
next;
@@ -485,7 +486,7 @@ L_result2:
mes "Great!";
next;
mes "[Geshupenschte]";
- mes "Lets see....your score is ^5533FF"+@score+"."^000000;
+ mes "Lets see....your score is ^5533FF"+@score+".^000000";
if (@score > 80) goto L_pass;
mes ".............";
next;
@@ -1160,7 +1161,7 @@ comodo.gat,158,342,4 script Bismarck 118,{
if (BSMITH_Q == 3) goto L_Start;
mes "[Bismarck]";
- mes "......Ughď....";
+ mes "......Ugh?...";
mes ".....When's that delivery coming......";
next;
mes "[Bismarck]";
diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt
index b49b98d3f..bd8f830a5 100644
--- a/npc/jobs/2-1/hunter.txt
+++ b/npc/jobs/2-1/hunter.txt
@@ -6,7 +6,7 @@
//= Converted by kobra_k88
//= Further bugfixed and tested by Lupus
//===== Current Version: =====================================
-//= 1.7
+//= 1.8
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
@@ -19,6 +19,7 @@
//= v1.5 Fixed items quest fork bug [Lupus]
//= v1.6 Fixed items quest bug: added extra condition [Lupus]
//= v1.7 Fixed skillpoints check bug [Lupus]
+//= v1.8 Fixed an exploit, thanks to nonox [celest]
//============================================================
@@ -35,8 +36,7 @@ pay_fild10.gat,148,251,4 script Hunter Guildsman 98,{
//<====================================== Job Changer ========================================>\\
-in_hunter.gat,99,99,4 script Hunter Sharon 727,
-{
+in_hunter.gat,99,99,4 script Hunter Sharon 727,{
if(Class==Job_Archer) goto L_Start;
if(Class==Job_Hunter) goto L_Hunt;
if(callfunc("Is_Bow_Class")) goto L_Other;
@@ -373,8 +373,7 @@ L_Change:
//<=========================== Demon Hunter: Second Test ===============================>\\
-in_hunter.gat,55,99,7 script Demon Hunter 732,
-{
+in_hunter.gat,55,99,7 script Demon Hunter 732,{
if(Class == Job_Archer) goto L_Arc;
if(Class == Job_Hunter) goto L_Hnt;
@@ -538,8 +537,7 @@ L_Done:
//<=============================== Guild Master: Last Test =================================>\\
-payon_in02.gat,21,31,1 script Guild Master 59,
-{
+payon_in02.gat,21,31,1 script Guild Master 59,{
if(Class == Job_Archer) goto L_Archer;
if(Class == Job_Hunter) goto L_Hnt;
@@ -724,8 +722,7 @@ OnMyMobDead1:
stopnpctimer "TimerHnt";
killmonsterall "job_hunte.gat";
enablenpc "SwitchHnt";
- areaannounce "job_hunte.gat", 50, 64, 123, 143, "[Test Guide]: Great job! Go use the switch now!",8;
- set HNTR_Q2, 2;
+ areaannounce "job_hunte.gat", 50, 64, 123, 143, "[Test Guide]: Great job! Go use the switch now!",8;
end;
}
@@ -835,8 +832,7 @@ OnTimer196000:
}
// SwitchHnt ------------------------------------------------------
-job_hunte.gat,93,101,1 script SwitchHnt 723,
-{
+job_hunte.gat,93,101,1 script SwitchHnt 723,{
areaannounce "job_hunte.gat", 50, 64, 123, 143, "[Test Guide]: *** The exit has been activated! You have 30 sec. to find the exit!! *** ",8;
enablenpc "ExitHnt";
addtimer 30000, "TimerHnt::OnTimer196000";
@@ -847,6 +843,7 @@ job_hunte.gat,93,101,1 script SwitchHnt 723,
job_hunte.gat,89,139,1 script ExitHnt 45,2,2,{
deltimer "TimerHnt::OnTimer196000";
+ set HNTR_Q2, 2;
warp "payon_in02.gat", 16, 26;
killmonsterall "job_hunte.gat";
donpcevent "HntTG::OnStart";
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt
index 8335316a7..3171535b1 100644
--- a/npc/jobs/2-1/knight.txt
+++ b/npc/jobs/2-1/knight.txt
@@ -25,8 +25,7 @@
//<------------------------------------------------------------------------------------ Chivalry Captain Herman------------------------------------------------------------------------------------------>\\
-prt_in.gat,88,101,3 script Chivalry Captain Herman 56,
-{
+prt_in.gat,88,101,3 script Chivalry Captain Herman 56,{
if (Class == Job_Swordman && KNIGHT_Q > 0) goto L_Check;
mes "[Chivalry Captain Herman]";
@@ -225,8 +224,7 @@ L_Check:
//<--------------------------------------------------------------------------------- Sir Andrew Syloc (1st test) ------------------------------------------------------------------------------------------>\\
-prt_in.gat,75,107,4 script SIr Andrew Syloc 65,
-{
+prt_in.gat,75,107,4 script Sir Andrew Syloc 65,{
mes "[Sir Andrew Syloc]";
if (Class == Job_Knight) goto L_Knight;
if (Class == Job_Novice) goto L_Novice;
@@ -384,8 +382,7 @@ L_Check:
//<------------------------------------------------------------------------------ Sir James Syracuse (2nd Test) ----------------------------------------------------------------------------------------->\\
-prt_in.gat,71,91,6 script Sir James Syracuse 65,
-{
+prt_in.gat,71,91,6 script Sir James Syracuse 65,{
mes "[Sir James Syracuse]";
if (class == Job_Knight) goto L_Knight;
if (class == Job_Novice) goto L_Novice;
@@ -724,8 +721,7 @@ L_Test:
//<--------------------------------------------------------------------------------- Sir Windsor (3rd Test) -------------------------------------------------------------------------------------------------->\\
// Sir Windsor ---------------------------------------------------------
-prt_in.gat,79,94,3 script Sir Windsor#1 733,
-{
+prt_in.gat,79,94,3 script Sir Windsor#1 733,{
mes "[Sir Windsor]";
if(Class == Job_Knight) goto L_Knight;
if(Class == Job_Novice) goto L_Novice;
@@ -793,8 +789,7 @@ L_Done:
// Waiting Room ---------------------------------------------------------------------------
-job_knt.gat,89,110,4, script Sir Windsor#2::SW2 733,
-{
+job_knt.gat,89,110,4, script Sir Windsor#2::SW2 733,{
mes "[Sir Windsor]";
mes "..........";
next;
@@ -885,8 +880,7 @@ OnStart:
}
// First Level ---------------------------------------------------------
-job_knt.gat,1,1,1 script KntLvl1 -1,
-{
+job_knt.gat,1,1,1 script KntLvl1 -1,{
set $@KntRm, 1;
set $@KntMob,12;
monster "job_knt.gat",39,150,"Dustiness",1114,1,"KntLvl1::OnMyMobDead";
@@ -917,8 +911,7 @@ OnMyMobDead:
// Second Level ---------------------------------------------------------
-job_knt.gat,1,1,1 script KntLvl2 -1,
-{
+job_knt.gat,1,1,1 script KntLvl2 -1,{
set $@KntRm, 2;
set $@KntMob,12;
monster "job_knt.gat",53,52,"Frilldora",1119,1,"KntLvl2::OnMyMobDead";
@@ -950,8 +943,7 @@ OnMyMobDead:
}
// Third Level ---------------------------------------------------------------
-job_knt.gat,1,1,1 script KntLvl3 -1,
-{
+job_knt.gat,1,1,1 script KntLvl3 -1,{
set $@KntRm, 3;
set $@KntMob,7;
monster "job_knt.gat",136,152,"Knife Goblin Bro",1122,1,"KntLvl3::OnMyMobDead";
@@ -979,8 +971,7 @@ OnMyMobDead:
}
// Timer --------------------------------------------------------------------------------
-job_knt.gat,1,1,1 script TimerKnt -1,
-{
+job_knt.gat,1,1,1 script TimerKnt -1,{
OnTimer2000:
set $@KntTime$, "You have 3 minutes...";
@@ -1032,8 +1023,7 @@ AnnounceKnt:
//<------------------------------------------------------------------------------------ Lady Amy Beatris (4th Test) ---------------------------------------------------------------------------------------------->\\
-prt_in.gat,69,107,5 script Lady Amy Beatris 728,
-{
+prt_in.gat,69,107,5 script Lady Amy Beatris 728,{
mes "[Lady Amy Beatris]";
if (class == Job_Knight) goto L_Knight;
if (class == Job_Novice) goto L_Novice;
@@ -1348,8 +1338,7 @@ M_Menu:
//<------------------------------------------------------------------------------------------- Sir Edmund (5th Test) --------------------------------------------------------------------------------------------->\\
-prt_in.gat,70,99,5 script Sir Edmund 734,
-{
+prt_in.gat,70,99,5 script Sir Edmund 734,{
mes "[Sir Edmund]";
if (class == Job_Knight) goto L_Knight;
if (class == Job_Swordman) goto L_Sword;
@@ -1456,8 +1445,7 @@ L_Test:
}
// Test -----------------------------
-job_knt.gat,1,1,1 script ev_Test -1,
-{
+job_knt.gat,1,1,1 script ev_Test -1,{
killmonster "job_knt.gat","ev_Test::OnMyMobDead";
monster "job_knt.gat",141,57,"Poring",1002,1,"ev_Test::OnMyMobDead";
monster "job_knt.gat",145,57,"Poring",1002,1,"ev_Test::OnMyMobDead";
@@ -1504,8 +1492,7 @@ OnTimerWarp:
//<------------------------------------------------------------------------------------------ Sir Grey (Final Test) ------------------------------------------------------------------------------------------------------>\\
-prt_in.gat,87,90,3 script Sir Grey 119,
-{
+prt_in.gat,87,90,3 script Sir Grey 119,{
mes "[Sir Grey]";
if (class == Job_Knight) goto L_Knight;
if (class == Job_Novice) goto L_Novice;
@@ -1854,5 +1841,4 @@ M_Menu:
M_End:
close;
-
-} \ No newline at end of file
+}
diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt
index cb9bbe68b..dcbf8fdb6 100644
--- a/npc/jobs/2-1/priest.txt
+++ b/npc/jobs/2-1/priest.txt
@@ -23,8 +23,7 @@
//*********************************************************************************************************************************************************************************\\
//============================================ Father Thomas: Job changer, Test 1 =============================================\\
//*********************************************************************************************************************************************************************************\\
-prt_church.gat,16,41,4 script Father Thomas 60,
-{
+prt_church.gat,16,41,4 script Father Thomas 60,{
mes "[Father Thomas]";
if (class == Job_Novice) goto L_Novice;
if (class == Job_Priest) goto L_Priest;
@@ -37,21 +36,21 @@ L_Other:
mes "Please feel free to rest, the church is the safest place in this world.";
next;
mes "[Father Thomas]";
- mes "I hope god will bless you.";
+ mes "I hope God will bless you.";
close;
L_Novice:
mes "May God bless you, child. This is the Prontera Church. What are you here for?";
next;
- menu "I want to become an acolyote.",M_0a, "I want to become a ^5533FFPriest^000000.",M_0b, "Iam just walking around.",M_0End;
+ menu "I want to become an Acolyte.",M_0a, "I want to become a ^5533FFPriest^000000.",M_0b, "I'm just walking around.",M_0End;
M_0a:
mes "[Father Thomas]";
- mes "Haha.. so you want to become an Acolyote eh? To apply to become an Acolyote, please go to the room opposite of here.";
+ mes "Haha.. so you want to become an Acolyte eh? To apply to become an Acolyte, please go to the room opposite of here.";
close;
M_0b:
mes "[Father Thomas]";
- mes "Haha...in order to become a priest you must first become an Acolyote. To become an Acolyote, go to the room opposite of here.";
+ mes "Haha...in order to become a priest you must first become an Acolyte. To become an Acolyte, go to the room opposite of here.";
close;
M_0End:
mes "[Father Thomas]";
@@ -62,7 +61,7 @@ L_Novice:
close;
L_Priest:
- mes "God bless you, child. You are here again because you listened to god's orders.";
+ mes "God bless you, child. You are here again because you listened to God's orders.";
next;
mes "[Father Thomas]";
mes "I don't know if God's sons and daughters are going on the path of light or the path of darkness... I can only pray for the best.";
@@ -70,11 +69,11 @@ L_Priest:
mes "[Father Thomas]";
mes "So why are you here today?";
next;
- menu "I just wanted to see how you were.",M_1a, "I am here to help the Acolytes.",M_1b, "Life is really hard... I was wondering if you could help.",M_1End;
+ menu "I just wanted to see how you were.",M_1a, "I'm here to help the Acolytes.",M_1b, "Life is really hard... I was wondering if you could help.",M_1End;
M_1a:
mes "[Father Thomas]";
- mes "Oh, well I am fine thank you. Please send my regards to all of the other Priests, and Priestess.";
+ mes "Oh, well I'm fine thank you. Please send my regards to all of the other Priests, and Priestess.";
next;
mes "[Father Thomas]";
mes "We, the ones who follow the devine path, are here for one reason.... to obey Gods orders.";
@@ -157,7 +156,7 @@ L_Start:
mes "Oh... so you want to become a priest? God bless you for your determination.";
next;
mes "[Father Thomas]";
- mes "I am Father Thomas. I am in charge of protecting Prontera from the evil spirits that plague the lands of Rune Midgard.";
+ mes "I'm Father Thomas. I'm in charge of protecting Prontera from the evil spirits that plague the lands of Rune Midgard.";
next;
mes "[Father Thomas]";
mes "Please fill out this application form so that I can review your qualifications for becoming a Preist.";
@@ -184,7 +183,7 @@ L_Start:
goto L_Test1;
sL_LowLvl:
- mes "I am sorry but you cannot become a Priest at this moment. You need to have a job level of at least 40.";
+ mes "I'm sorry but you cannot become a Priest at this moment. You need to have a job level of at least 40.";
next;
mes "[Father Thomas]";
mes "Please strengthen your faith in God by performing more good deeds.";
@@ -192,7 +191,7 @@ L_Start:
close;
sL_HighLvl:
- mes "Wow, your already at job lvl 50. I am amazed at your dedication and hard work!";
+ mes "Wow, your already at job lvl 50. I'm amazed at your dedication and hard work!";
emotion 0;
next;
mes "[Father Thomas]";
@@ -224,11 +223,11 @@ L_Start:
close;
M_2End:
mes "[Father Thomas]";
- mes "Oh is that the case?... Well I am fine thank you.";
+ mes "Oh is that the case?... Well I'm fine thank you.";
mes "Please don't forget your duties as an Acolyte, and be carefull not to stray off the path to salvation.";
next;
mes "[Father Thomas]";
- mes "I hope you will visit again soon, and please tell me how the other Acolytes are doing. May god be by your side...";
+ mes "I hope you will visit again soon, and please tell me how the other Acolytes are doing. May God be by your side...";
close;
@@ -369,7 +368,7 @@ L_Change:
if (JBLVL == 50) getitem 1551, 1;
callfunc "F_ClearJobVar"; // clears all job variables for the current player
mes "[Father Thomas]";
- mes "Here, take this book as a reward for successfully completing the tests. This book will help you understand more about god.";
+ mes "Here, take this book as a reward for successfully completing the tests. This book will help you understand more about God.";
next;
mes "[Father Thomas]";
mes "I hope you can help serve as a role model for young Acolytes all over Rune Midgard.";
@@ -490,7 +489,7 @@ L_Start:
mes "So you know why your here right? Your next test will be to overcome a series of trials involving the darkest of evils.";
mes "Do you understand what this means?";
next;
- menu "Yes, I do.",-, "No, i don't quiet know it..?",M_1b;
+ menu "Yes, I do.",-, "No, I don't quite know it..?",M_1b;
mes "[Father Peter]";
mes "Wow, your' pretty smart, but i think its better for you to listen to the things i got to say.";
@@ -509,7 +508,7 @@ L_Start:
next;
mes "[Father Peter]";
mes "There's a lot of evil in this world.";
- mes "The evil usually tease people that prey to god.";
+ mes "The evil usually tease people that prey to God.";
next;
mes "[Father Peter]";
mes "We priests are supposed to get rid of all the evil!";
@@ -709,7 +708,7 @@ L_Priest:
mes "Hey, whats priest like you doing in a place like this? go back to town. You like wasting you time here eh?";
next;
mes "[Deviruchi]";
- mes "I feel happy today, so i'll spare you, now go. Next time you come, iam gonna take to you down.";
+ mes "I feel happy today, so i'll spare you, now go. Next time you come, I'm gonna take to you down.";
close;
L_Aco:
@@ -717,7 +716,7 @@ L_Aco:
mes "Hey, isn't that a acolyte? i haven't seen one in ages. Looks like you're going to become a priest soon...";
next;
mes "[Deviruchi]";
- mes "I can tell how sad it is to become a servant of god. I think its weird that you're here.";
+ mes "I can tell how sad it is to become a servant of God. I think its weird that you're here.";
next;
mes "[Deviruchi]";
mes "The path your walking is going to be difficult. Isn't there better jobs you can be?";
@@ -728,7 +727,7 @@ L_Aco:
mes "[Deviruchi]";
mes "I'll give you an advice, you should give up now. The tests will be hard, and the path you're gonna walk will be difficult.";
next;
- menu "Yea, Iam going to give up.",-, "Devil, Be gone NOW!.",M_1a;
+ menu "Yea, I'm going to give up.",-, "Devil, Be gone NOW!.",M_1a;
mes "[Deviruchi]";
mes "Yeap thats a good choice, you don't have to come to this place again! Since you decided to give up, i'll give you a present.";
@@ -740,7 +739,7 @@ L_Aco:
end;
M_1a:
mes "[Deviruchi]";
- mes "Oh.. Iam so scared..hahaha. Don't be like this, listen to what i have to say.";
+ mes "Oh.. I'm so scared..hahaha. Don't be like this, listen to what i have to say.";
next;
mes "[Deviruchi]";
mes "If you give up now, i'll give you a nice gift. This gift is so hard to find.";
@@ -841,7 +840,7 @@ L_Aco:
mes "okay fine, i'll spare you today.";
next;
mes "[Doppelganger]";
- mes "If i see you next time, iam gonna make you die painfully.";
+ mes "If i see you next time, I'm gonna make you die painfully.";
disablenpc "Doppel_Trig";
disablenpc "Doppel";
donpcevent "PrstTest2_2::OnCheck";
@@ -875,7 +874,7 @@ L_Aco:
mes "[Dark Lord]";
mes "Even more annoying than ants you humans, leave and stop bothering me!";
next;
- menu "Iam sorry, please spare me.",-, "Devil, Be GONE!.",M_1c;
+ menu "I'm sorry, please spare me.",-, "Devil, Be GONE!.",M_1c;
mes "[Dark Lord]";
mes "Don't come here again!";
@@ -902,7 +901,7 @@ L_Aco:
mes "So you decided to stay eh? you pesky human, killing you will dirty my hands.";
next;
mes "[Dark Lord]";
- mes "If i see you again, iam gonna kill you.";
+ mes "If i see you again, I'm gonna kill you.";
disablenpc "Dark_Trig";
disablenpc "Dark Lord";
donpcevent "PrstTest2_2::OnCheck";
@@ -1134,8 +1133,7 @@ AnnouncePrst:
//**********************************************************************************************************************************************************************************\\
//================================================= Sister Cecile: Test 3 =====================================================\\
//**********************************************************************************************************************************************************************************\\
-prt_church.gat,27,24,4 script Sister Cecile 79,
-{
+prt_church.gat,27,24,4 script Sister Cecile 79,{
mes "[Sister Cecile]";
if(Class == Job_Priest) goto L_Prst;
if(Class == Job_Acolyte) goto L_Aco;
@@ -1144,7 +1142,7 @@ prt_church.gat,27,24,4 script Sister Cecile 79,
L_Other:
mes "This is the Prontera Church, what can I help you with?";
next;
- menu "Please tell me about priests.",-, "Iam just walking around.",M_End0;
+ menu "Please tell me about priests.",-, "I'm just walking around.",M_End0;
mes "[Sister Cecile]";
mes "Priests are servants of God. They have special powers that allow them to help anyone in need of assistance.";
@@ -1167,7 +1165,7 @@ L_Nov:
mes "God bless you, my child. The Prontera Church welcomes you.";
next;
mes "[Sister Cecile]";
- mes "Have you choose your job yet? Do you want to be one of god's helpers?";
+ mes "Have you choose your job yet? Do you want to be one of God's helpers?";
mes "Becoming an Acolyte and helping people is very good thing.";
next;
mes "[Sister Cecile]";
@@ -1195,14 +1193,14 @@ L_Aco:
if(sex == 0) mes "God bless you, sister.";
mes "Why are you here?";
next;
- menu "I want to become a priest.",-, "Iam just wondering around.",M_End1;
+ menu "I want to become a priest.",-, "I'm just wondering around.",M_End1;
mes "[Sister Cecile]";
mes "Oh so you want to become a priest?";
mes "A lot of acolytes want to become priests.";
next;
mes "[Sister Cecile]";
- mes "My name is Sister Cecile, Iam responsible for helping acolytes become priests.";
+ mes "My name is Sister Cecile, I'm responsible for helping acolytes become priests.";
next;
mes "[Sister Cecile]";
mes "Because I was born and raised here, I've seen a lot of people become Priests over the years.";
@@ -1235,7 +1233,7 @@ L_Start:
next;
L_Test3:
mes "[Sister Cecile]";
- mes "From today on, do you wish to help the god for all eternity?";
+ mes "From today on, do you wish to help the God for all eternity?";
next;
menu "Yes.",M_2a, "No.",-;
@@ -1251,12 +1249,12 @@ L_Test3:
M_2a:
mes "[Sister Cecile]";
- mes "Will you use god's power for your own profit?";
+ mes "Will you use God's power for your own profit?";
next;
menu "Yes",-, "No.",M_2b;
mes "[Sister Cecile]";
- mes "No, that doesn't work, if you use god's power to do what you wish, you're just like a theif.";
+ mes "No, that doesn't work, if you use God's power to do what you wish, you're just like a theif.";
mes "How can you become a good priest if you think like that?";
next;
mes "[Sister Cecile]";
@@ -1288,7 +1286,7 @@ L_Test3:
menu "Yes.",M_2d, "No.",-;
mes "[Sister Cecile]";
- mes "No, thats not what god thinks.";
+ mes "No, thats not what God thinks.";
mes "If we can sacrafice ourselves for something that helps the world, its worth it.";
next;
mes "[Sister Cecile]";
@@ -1307,7 +1305,7 @@ L_Test3:
mes "If you talk bad, you don't deserver to be a priest.";
next;
mes "[Sister Cecile]";
- mes "even if your god's best servant.";
+ mes "even if your God's best servant.";
mes "You don't have the right to bad-talk.";
close;
diff --git a/npc/jobs/2-1/wizard.txt b/npc/jobs/2-1/wizard.txt
index d899a8ba4..6b0cbab49 100644
--- a/npc/jobs/2-1/wizard.txt
+++ b/npc/jobs/2-1/wizard.txt
@@ -6,7 +6,7 @@
//= converted by kobra_k88
//= Further bugfixed and tested by Lupus
//===== Current Version: =====================================
-//= 1.3a
+//= 1.3c
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
@@ -18,13 +18,14 @@
//= v1.2 Changed global variable names to unique ones.
//= v1.3 Rollback from the wrong Kashy's fix
//= v1.3a Fixed issue with duplicating monsters thx to Bison.[kobra_k88]
+//= v1.3b changed one Horong to Frilldora (now 3rd room contains 1 agressive mob.)
+//= v1.3c more simplified fire room - removed agressive Desert Wolf. Got it from Freya [Lupus]
//============================================================
//<=================== Some dog =========================>
-gef_tower.gat,107,35,5 script Some Dog 81,
-{
+gef_tower.gat,107,35,5 script Some Dog 81,{
if(Class == Job_Mage) goto L_JobMage;
if(callfunc("Is_Magic_Class")) goto L_Magic;
if(callfunc("Is_Holy_Class")) goto L_Holy;
@@ -153,8 +154,7 @@ L_JobMage:
//<=========================================== Registrar and Examiner Catherine Medichi ==============================================>\\
-gef_tower.gat,111,37,4 script Catherine Medichi 68,
-{
+gef_tower.gat,111,37,4 script Catherine Medichi 68,{
mes "[Catherine Medichi]";
if(Class == Job_Wizard) goto L_Wizard;
if(Class == Job_Novice) goto L_Novice;
@@ -495,8 +495,7 @@ L_Mage:
//<================================================ Examiner: Raul Expagarus ==================================================>\\
-gef_tower.gat,102,24,3 script Raul Expagarus 735,
-{
+gef_tower.gat,102,24,3 script Raul Expagarus 735,{
mes "[Raul Expagarus]";
if(Class == Job_Mage) goto L_Mage;
if(Class == Job_Wizard) goto L_Wizard;
@@ -1130,8 +1129,7 @@ L_Mage:
<====================================================== Test Arena ========================================================>\\
// Test Guide ---------------------------------------------------------------------------------
-job_wiz.gat,50,165,4 script Wizard Test Guide::WzTG 123,
-{
+job_wiz.gat,50,165,4 script Wizard Test Guide::WzTG 123,{
mes "[Test Guide]";
mes "Welcome. I will be your guide for the Wizard Test.";
next;
@@ -1186,8 +1184,7 @@ OnStart:
}
// Room of Water -----------------------------------------------------------------------------
-job_wiz.gat,1,1,1 script WaterRm -1,
-{
+job_wiz.gat,1,1,1 script WaterRm -1,{
set $@WzRm, 1; // used to determine which map area(room) to make time announcements in
set $@WzMOB, 8; //used as a counter for the monsters that are summoned
monster "job_wiz.gat",109,174,"Phen",1158,1,"WaterRm::OnMyMobDead1";
@@ -1239,8 +1236,7 @@ OnMyMobDead2:
}
// Room of Earth -----------------------------------------------------------------------------------------------
-job_wiz.gat,1,1,1 script EarthRm -1,
-{
+job_wiz.gat,1,1,1 script EarthRm -1,{
set $@WzRm, 2;
set $@WzMOB, 10;
monster "job_wiz.gat",111,102,"Yoyo",1057,1,"EarthRm::OnMyMobDead1";
@@ -1296,10 +1292,9 @@ OnMyMobDead2:
}
// Room of Fire ------------------------------------------------------------------------------------------------------------
-job_wiz.gat,1,1,1 script FireRm -1,
-{
+job_wiz.gat,1,1,1 script FireRm -1,{
set $@WzRm, 3;
- set $@WzMOB, 8;
+ set $@WzMOB, 7;
monster "job_wiz.gat",58,110,"Zerom",1178,1,"FireRm::OnMyMobDead1";
monster "job_wiz.gat",33,110,"Flail Goblin",1123,1,"FireRm::OnMyMobDead1";
monster "job_wiz.gat",40,103,"Scorpion",1001,1,"FireRm::OnMyMobDead1";
@@ -1307,7 +1302,6 @@ job_wiz.gat,1,1,1 script FireRm -1,
monster "job_wiz.gat",40,92,"Peco Peco",1019,1,"FireRm::OnMyMobDead1";
monster "job_wiz.gat",51,92,"Elder Willow",1033,1,"FireRm::OnMyMobDead1";
monster "job_wiz.gat",37,89,"Metaller",1058,1,"FireRm::OnMyMobDead1";
- monster "job_wiz.gat",54,89,"Desert Wolf",1106,1,"FireRm::OnMyMobDead1";
initnpctimer "TimerWz";
end;
@@ -1324,8 +1318,8 @@ OnTimer2000:
set $@WzMOB, 3;
areaannounce "job_wiz.gat", 30, 82, 61, 113, "[Test Guide]: You now must defeat the door gaurds! Hurry!.",8;
monster "job_wiz.gat",44,99,"Greatest General",1277,1,"FireRm::OnMyMobDead2";
- monster "job_wiz.gat",43,99,"Horong",1129,1,"FireRm::OnMyMobDead2";
- monster "job_wiz.gat",45,99,"Horong",1129,1,"FireRm::OnMyMobDead2";
+ monster "job_wiz.gat",43,99,"Hode",1127,1,"FireRm::OnMyMobDead2";
+ monster "job_wiz.gat",45,99,"Hode",1127,1,"FireRm::OnMyMobDead2";
setnpctimer 120000, "TimerWz";
startnpctimer "TimerWz";
end;
@@ -1349,8 +1343,7 @@ OnMyMobDead2:
// Timer -----------------------------------------------------------------------------------------------
-job_wiz.gat,1,1,1 script TimerWz -1,
-{
+job_wiz.gat,1,1,1 script TimerWz -1,{
OnTimer1000:
if($@WzRm==1) areaannounce "job_wiz.gat", 98, 154, 129, 185, "[Test Guide]: Room of Water, testing will begin.",8;
diff --git a/npc/jobs/2-2-1/Champion.txt b/npc/jobs/2-2-1/Champion.txt
index a86818498..d86a3f749 100644
--- a/npc/jobs/2-2-1/Champion.txt
+++ b/npc/jobs/2-2-1/Champion.txt
@@ -1,89 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Champion ==-
valkyrie.gat,53,42,4 script Champion 52,{
- if(getskilllv(156) > 0) set @qsk;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4005) && (readparam(55) >= 45)) goto L_HACO;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4005) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Champion]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Champion]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Champion,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Champion]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Champion]";
- mes "You're not ready to become an Acolyte High yet...";
- close;
-
-L_Class:
- mes "[Champion]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Champion yet.";
- close;
-
-L_Levels:
- mes "[Champion]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Champion";
- close;
-
-L_HNov:
- mes "[Champion]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 28;
- next;
- mes "[Champion]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- next;
-qsk:
- skill 156,1,0;
- set @qsk,0;
- goto L_HNov_2;
- close;
-
-L_HNov_2:
- mes "[Champion]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to Acolyte High";
- close;
-L_HACO:
- mes "[Champion]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Champion!";
- jobchange 39;
- close;
-
-Skill_Points:
- mes "[Champion]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Champion]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",28,"Acolyte High",39,"Champion",156,0,0,0;
+}
diff --git a/npc/jobs/2-2-1/Clown.txt b/npc/jobs/2-2-1/Clown.txt
index 9a7fe8e9e..a7e303ac5 100644
--- a/npc/jobs/2-2-1/Clown.txt
+++ b/npc/jobs/2-2-1/Clown.txt
@@ -1,110 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Clown ==-
valkyrie.gat,53,54,4z script Clown 741,{
- if(readparam(21) > 0) goto L_Female;
- if(getskilllv(147) > 0) set @qsk,1;
- if(getskilllv(148) > 0) set @qsk1,1;
- if(checkfalcon(0) > 0) goto L_Falcon;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4004) && (readparam(55) >= 45)) goto L_HARC;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4004) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Clown]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Clown]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Clown,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Clown]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Clown]";
- mes "You're not ready to become an High Archer yet.";
- close;
-
-L_Class:
- mes "[Clown]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Clown yet.";
- close;
-
-L_Levels:
- mes "[Clown]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Clown";
- close;
-
-L_HNov:
- mes "[Clown]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 27;
- next;
- mes "[Clown]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 147,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-qsk1:
- skill 148,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Clown]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Archer";
- close;
-L_HARC:
- mes "[Clown]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Clown!";
- jobchange 43;
- close;
-
-Skill_Points:
- mes "[Clown]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Clown]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-
-L_Falcon:
- mes "[Clown]";
- mes "Please take your Falcon off before proceeding "+strcharinfo(0)+".";
- close;
-
-L_Female:
- mes "[Clown]";
- mes "Only males can become a Clown.";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",27,"High Archer",43,"Clown",147,148,0,0;
+}
diff --git a/npc/jobs/2-2-1/Creator.txt b/npc/jobs/2-2-1/Creator.txt
index a48dd7871..219091856 100644
--- a/npc/jobs/2-2-1/Creator.txt
+++ b/npc/jobs/2-2-1/Creator.txt
@@ -1,106 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Creator ==-
valkyrie.gat,53,50,6 script Creator 122,{
- if(getskilllv(153) > 0) set @qsk,1;
- if(getskilllv(154) > 0) set @qsk1,1;
- if(getskilllv(155) > 0) set @qsk2,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4007) && (readparam(55) >= 45)) goto L_HMERC;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4007) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Creator]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Creator]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Creator,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Creator]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Creator]";
- mes "You're not ready to become an High Merchant yet.";
- close;
-
-L_Class:
- mes "[Creator]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Creator yet.";
- close;
-
-L_Levels:
- mes "[Creator]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Creator";
- close;
-
-L_HNov:
- mes "[Creator]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 29;
- next;
- mes "[Creator]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- next;
-qsk:
- skill 153,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk1:
- skill 154,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk2:
- skill 155,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Creator]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Merchant";
- close;
-L_HMERC:
- mes "[Creator]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Creator!";
- jobchange 42;
- close;
-
-Skill_Points:
- mes "[Creator]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Creator]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",29,"Merchant High",42,"Creator",153,154,155,0;
+}
diff --git a/npc/jobs/2-2-1/Gypsy.txt b/npc/jobs/2-2-1/Gypsy.txt
index bc3914af9..9f05d1970 100644
--- a/npc/jobs/2-2-1/Gypsy.txt
+++ b/npc/jobs/2-2-1/Gypsy.txt
@@ -1,110 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Gypsy ==-
valkyrie.gat,53,56,4 script Gypsy 101,{
- if(readparam(21) < 1) goto L_Male;
- if(getskilllv(147) > 0) set @qsk,1;
- if(getskilllv(148) > 0) set @qsk1,1;
- if(checkfalcon(0) > 0) goto L_Falcon;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4004) && (readparam(55) >= 45)) goto L_HARC;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4004) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Gypsy]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Gypsy]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Gypsy,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Gypsy]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Gypsy]";
- mes "You're not ready to become an High Archer yet.";
- close;
-
-L_Class:
- mes "[Gypsy]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Gypsy yet.";
- close;
-
-L_Levels:
- mes "[Gypsy]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Gypsy";
- close;
-
-L_HNov:
- mes "[Gypsy]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 27;
- next;
- mes "[Gypsy]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 147,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-qsk1:
- skill 148,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Gypsy]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Archer";
- close;
-L_HARC:
- mes "[Gypsy]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Gypsy!";
- jobchange 44;
- close;
-
-Skill_Points:
- mes "[Gypsy]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Gypsy]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-
-L_Falcon:
- mes "[Gypsy]";
- mes "Please take your Falcon off before proceeding "+strcharinfo(0)+".";
- close;
-
-L_Male:
- mes "[Gypsy]";
- mes "Only females can become a Gypsy.";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",27,"High Archer",44,"Gypsy",147,148,0,0;
+}
diff --git a/npc/jobs/2-2-1/Paladin.txt b/npc/jobs/2-2-1/Paladin.txt
index 6694c973a..207c8674a 100644
--- a/npc/jobs/2-2-1/Paladin.txt
+++ b/npc/jobs/2-2-1/Paladin.txt
@@ -1,107 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Paladin ==-
valkyrie.gat,53,39,4 script Paladin 752,{
- if(getskilllv(144) > 0) set @qsk,1;
- if(getskilllv(145) > 0) set @qsk1,1;
- if(getskilllv(146) > 0) set @qsk2,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4002) && (readparam(55) >= 45)) goto L_HSWM;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4002) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Paladin]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Paladin]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Paladin,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Paladin]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Paladin]";
- mes "You're not ready to become an High Swordsman yet.";
- close;
-
-L_Class:
- mes "[Paladin]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Paladin yet.";
- close;
-
-L_Levels:
- mes "[Paladin]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Paladin";
- close;
-
-L_HNov:
- mes "[Paladin]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 25;
- next;
- mes "[Paladin]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 144,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk1:
- skill 145,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-qsk2:
- skill 146,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Paladin]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Swordsman";
- close;
-L_HSWM:
- mes "[Paladin]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Paladin!";
- jobchange 38;
- close;
-
-Skill_Points:
- mes "[Paladin]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Paladin]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",25,"Swordman High",38,"Paladin",144,145,146,0;
+}
diff --git a/npc/jobs/2-2-1/Professor.txt b/npc/jobs/2-2-1/Professor.txt
index e7d94d9ac..9582345a3 100644
--- a/npc/jobs/2-2-1/Professor.txt
+++ b/npc/jobs/2-2-1/Professor.txt
@@ -1,88 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Professor ==-
valkyrie.gat,53,47,4 script Professor 743,{
- if(getskilllv(157) > 0) set @qsk,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4003) && (readparam(55) >= 45)) goto L_HMAG;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4003) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Professor]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Professor]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Professor,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Professor]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Professor]";
- mes "You're not ready to become an High Mage yet.";
- close;
-
-L_Class:
- mes "[Professor]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Professor yet.";
- close;
-
-L_Levels:
- mes "[Professor]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Professor";
- close;
-
-L_HNov:
- mes "[Professor]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 26;
- next;
- mes "[Professor]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- next;
-qsk:
- skill 157,1,0;
- set @qsk,0;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Professor]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Mage";
- close;
-L_HMAG:
- mes "[Professor]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Professor!";
- jobchange 40;
- close;
-
-Skill_Points:
- mes "[Professor]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Professor]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",26,"High Mage",40,"Professor",157,0,0,0;
+}
diff --git a/npc/jobs/2-2-1/Stalker.txt b/npc/jobs/2-2-1/Stalker.txt
index fa23b6ac5..b2cf2781f 100644
--- a/npc/jobs/2-2-1/Stalker.txt
+++ b/npc/jobs/2-2-1/Stalker.txt
@@ -1,118 +1,19 @@
-// Advance Class jobchanger after kRO Normals.
-// Checks if the player have any questskills, cart\falcon, level and such.
-// Made by Nana.
+//===== eAthena Script =======================================
+//= Advance Class jobchanger after kRO Normals.
+//===== By: ==================================================
+//= Nana
+//= finished, optimized and tested by Lupus
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Advance Class jobchanger after kRO Normals.
+//===== Additional Comments: =================================
+//= v1.1 Made all into functions, additional checks, etc. [Lupus]
+//============================================================
// -== Stalker ==-
valkyrie.gat,53,58,4 script Stalker 747,{
- if(getskilllv(149) > 0) set @qsk,1;
- if(getskilllv(150) > 0) set @qsk1,1;
- if(getskilllv(151) > 0) set @qsk2,1;
- if(getskilllv(152) > 0) set @qsk3,1;
- if(checkcart(0) > 0) goto L_Cart;
- if(readparam(12) > 0) goto Skill_Points;
- if(readparam(19) >= 4008) goto L_Advance;
- if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
- if((readparam(19) == 4007) && (readparam(55) >= 45)) goto L_HTHF;
- if(readparam(19) < 7) goto L_Class;
- if(readparam(19) == 4001) goto L_Class1;
- if(readparam(19) == 4007) goto L_Class;
- if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
- if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
- mes "[Stalker]";
- mes "Hi there...";
- close;
-
-L_Change:
- mes "[Stalker]";
- mes "Hello there "+strcharinfo(0)+"!";
- mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Stalker,";
- mes "I wish you good fortune in the near future!";
- jobchange 24;
- resetlvl(1);
- close;
-
-L_Cart:
- mes "[Stalker]";
- mes "Please un-equip that cart before continuing.";
- close;
-
-L_Class1:
- mes "[Stalker]";
- mes "You're not ready to become an High thief yet.";
- close;
-
-L_Class:
- mes "[Stalker]";
- mes "You've come far to get here. unfortunately, you're not ready to become an Stalker yet.";
- close;
-
-L_Levels:
- mes "[Stalker]";
- mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Stalker";
- close;
-
-L_HNov:
- mes "[Stalker]";
- mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
- mes "Must great fortune follow you!";
- jobchange 30;
- next;
- mes "[Stalker]";
- mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
- next;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- next;
-qsk:
- skill 149,1,0;
- set @qsk,0;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk1:
- skill 150,1,0;
- set @qsk1,0;
- if(@qsk > 0) goto qsk;
- if(@qsk2 > 0) goto qsk2;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk2:
- skill 151,1,0;
- set @qsk2,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk3 > 0) goto qsk3;
- goto L_HNov_2;
-qsk3:
- skill 152,1,0;
- set @qsk3,0;
- if(@qsk > 0) goto qsk;
- if(@qsk1 > 0) goto qsk1;
- if(@qsk2 > 0) goto qsk2;
- goto L_HNov_2;
-
-L_HNov_2:
- mes "[Stalker]";
- mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Thief";
- close;
-L_HTHF:
- mes "[Stalker]";
- mes "Congratulations!";
- mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Stalker!";
- jobchange 41;
- close;
-
-Skill_Points:
- mes "[Stalker]";
- mes "Please use all of your skillpoints before proceeding.";
- close;
-
-L_Advance:
- mes "[Stalker]";
- mes "Hey there! You are already an Reborn. You cannot reach any higher";
- mes "*whistles*";
- close;
-} \ No newline at end of file
+ callfunc "F_Rebirth",30,"Theif High",41,"Stalker",149,150,151,152;
+}
diff --git a/npc/jobs/2-2/alchemist.txt b/npc/jobs/2-2/alchemist.txt
index 45f1ae5a2..f73b60029 100644
--- a/npc/jobs/2-2/alchemist.txt
+++ b/npc/jobs/2-2/alchemist.txt
@@ -1,29 +1,28 @@
-//===== eAthena Script =======================================
-//= Alchemist Job Quest
+//===== eAthena Script =======================================
+//= Alchemist Job Quest
//===== By: ==================================================
-//= nestor_zulueta (Fusion)
-//= converted by Darkchild
-//===== Current Version: =====================================
-//= 1.1
-//===== Compatible With: =====================================
-//= eAthena 1.0 +
-//===== Description: =========================================
-//= Alchemist job quest based off of official iRO quest.
-//===== Additional Comments: =================================
+//= nestor_zulueta (Fusion)
+//= converted by Darkchild
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Alchemist job quest based off of official iRO quest.
+//===== Additional Comments: =================================
//= v1.0 Working.
//= npc/quests/counteragent_mixture.txt Also Needed
//= npc/quests/quests_yuno.txt Also Needed [Darkchild]
//= v1.1 Fixed some minor bugs. Optimized some lines. Re-organized the script a bit.
//= Giving Parmry NPC, Hammer and Old Book now waves the 50000 fee. (based of mRO website)
-//= Having a joblvl of 50 allows you to skip Raspuchin's test. (based of mRO website) [kobra_k88]
-//============================================================
+//= Having a joblvl of 50 allows you to skip Raspuchin's test. (based of mRO website) [kobra_k88]
+//============================================================
//==================================================================================================//
// Registration and First Test
//==================================================================================================//
-alde_alche.gat,27,185,4 script Parmry Gianino 744,
-{
+alde_alche.gat,27,185,4 script Parmry Gianino 744,{
mes "[Parmry Gianino]";
if(Class == 5) goto L_Merc;
if(Class == Job_Alchem) goto L_Alch;
@@ -196,8 +195,7 @@ L_GoChange:
//==================================================================================================//
// 2nd Test: Math test :(
//==================================================================================================//
-alde_alche.gat,175,107,4 script Raspuchin Gregory 749,
-{
+alde_alche.gat,175,107,4 script Raspuchin Gregory 749,{
mes "[Raspuchin Gregory]";
if(class == 5) goto L_Merc;
L_Other:
@@ -461,8 +459,7 @@ L_Skip:
//==================================================================================================//
// 3rd Test: Mix some medicine
//==================================================================================================//
-alde_alche.gat,13,15,8 script Darwin 750,
-{
+alde_alche.gat,13,15,8 script Darwin 750,{
mes "[Darwin]";
if(class == 5) goto L_Merc;
L_Other:
@@ -686,8 +683,7 @@ L_NotEnuf:
//==================================================================================================//
// 4th Test: Learn from Morgenstein
//==================================================================================================//
-alde_alche.gat,79,19,4 script Van Helmont 748,
-{
+alde_alche.gat,79,19,4 script Van Helmont 748,{
mes "[Van Helmont]";
if(class == 5) goto L_Merc;
L_Other:
@@ -853,8 +849,7 @@ L_Done:
//==================================================================================================//
// Test 5 & 6: Word Scramble, Help the Baijin Bros.
//==================================================================================================//
-alde_alche.gat,145,19,4 script Nicholas Flamel 57,
-{
+alde_alche.gat,145,19,4 script Nicholas Flamel 57,{
mes "[Nicholas Flamel]";
if(class == 5) goto L_Merc;
L_Other:
@@ -1015,8 +1010,7 @@ L_Done:
//==================================================================================================//
// Job Changer
//==================================================================================================//
-alde_alche.gat,101,184,4 script Vincent Carsciallo 122,
-{
+alde_alche.gat,101,184,4 script Vincent Carsciallo 122,{
mes "[Vincent Carsciallo]";
if(Class == 5) goto L_Merc;
if(Class == Job_Alchem) goto L_Alch;
@@ -1075,4 +1069,4 @@ L_Change:
L_Skpoint:
mes "Please use all your skill point before talking to me.";
close;
-} \ No newline at end of file
+}
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt
index d76ee26b6..a74ef2850 100644
--- a/npc/jobs/2-2/crusader.txt
+++ b/npc/jobs/2-2/crusader.txt
@@ -54,8 +54,7 @@ NEXT_0:
JOB:
mes "[^000080Lothar^000000]";
mes "All right, let me take a look at you first.";
- next;
- mes "[^000080Lothar^000000]";
+ next;
if (readparam(55) != 50) goto SKIP;
set JLCC,1;
set Job_CR,5;
@@ -103,10 +102,10 @@ NEXT_0:
mes "- 10 ^FF0000Mementos^000000";
close;
IT:
- mes "- 10 ^FF0000Decayed Nail^000000";
- mes "- 10 ^FF0000Danggies^000000";
- mes "- 10 ^FF0000Stinky Scales^000000";
- mes "- 10 ^FF0000Mementos^000000";
+ mes "- 10 ^FF0000Skel-Bones^000000";
+ mes "- 10 ^FF0000Orc Claws^000000";
+ mes "- 1 ^FF0000Ball 'n Chain^000000";
+ mes "- 10 ^FF0000Danggie^000000";
close;
ASK:
@@ -1015,7 +1014,7 @@ job_cru.gat,23,42,0 script Test_2 139,8,8,{
if (Job_CR != 6) goto EXIT;
set @CR_etmp,1;
- areaannounce "job_cru.gat",0,0,23,42 "Please endure here and go to exit",8;
+ areaannounce "job_cru.gat",0,0,23,42,"Please endure here and go to exit",8;
monster "job_cru.gat",10,43,"Ghoul",1423,1,"dead";
monster "job_cru.gat",14,47,"Khalitzburg",1438,1,"dead";
diff --git a/npc/jobs/2-2/monk.txt b/npc/jobs/2-2/monk.txt
new file mode 100644
index 000000000..9c7410e07
--- /dev/null
+++ b/npc/jobs/2-2/monk.txt
@@ -0,0 +1,1920 @@
+//===== eAthena Script =======================================
+//= Monk Job Quest
+//===== By: ==================================================
+//= Dino9021, Edited / Translated by Celest
+//===== Current Version: =====================================
+//= 1.2
+//===== Compatible With: =====================================
+//= eAthena 1.0 +
+//===== Description: =========================================
+//= Monk Job Quests for Athena 2004.12.30
+//===== Additional Comments: =================================
+// 1.1 Fixed missing '";'. Now it's loading fine [Lupus]
+// 1.1+ Edited/Translated 5% [Celest]
+// 1.2 Made Poetry Quiz passable, and Fixed Marathon Part 8))) [Lupus]
+//============================================================
+
+prt_monk.gat,55,249,4 script Tohobu the Guarding Monk 139,0,5,{
+ mes "[Tohobu]";
+ mes "Who are you?!";
+ mes "How dare you enter this holy training place without my permission!!";
+ next;
+ mes "[Tohobu]";
+ mes "Get Out!!";
+ close;
+}
+prt_monk.gat,59,247,4 script Master 120,{
+ if(MONK_Q == 1 ) goto Part1;
+ if(MONK_Q == 2 ) goto Part2;
+ if(Class == 15 || Class == 4016) goto IsMonk;
+ goto L_START;
+
+IsMonk:
+ mes "[Tohobu]";
+ mes "Your presence is not really welcomed at the ^00FF00St. Capitolina Abbey^000000.";
+ mes "However, welcome traveler, please do not disturb the Monks in training,";
+ mes "Even if you are a Monk!";
+ close;
+
+L_START:
+ mes "[Tohobu]";
+ mes "Hmmm...? What do you want from me?";
+ mes "Before entering the Training Area,";
+ mes "You shall have to first tell me your Name, Base Level and Job Level.";
+ next;
+ mes "[Tohobu]";
+ mes "Come! What is your name?";
+ next;
+ menu "Ignore him.",-,"Tell him.",L_MENU_1;
+
+ mes "[Tohobu]";
+ mes "You are so impolite! Get out!";
+ warp "prt_fild03.gat",357,256;
+ end;
+L_MENU_1:
+ mes "[Tohobu]";
+ mes "So... Your name is " + strcharinfo(0) + " Right?";
+ mes "...I believe it is pronounced that way.";
+ mes "Let's see... Job Level is " + joblevel;
+ next;
+ mes "[Tohobu]";
+ mes "Okay! Why have you come to see me, " + strcharinfo(0) + " ?";
+ next;
+ menu "I would like to see how Monks train themselves.",L_MENU_1_0,"I want to be a Monk.",L_MENU_1_1,"I would like to rest here.",L_MENU_1_2;
+
+ L_MENU_1_0:
+ mes "[Tohobu]";
+ mes "Oh! I see.";
+ mes "Okay, I hope you'll learn something from our training,";
+ mes "Perhaps it might aid you in becoming a worthy Monk.";
+ set MONK_Q, 1;
+ close;
+
+ L_MENU_1_1:
+ if(Class != 4 && Class != 4005) goto IsNot4;
+ if(joblevel >= 40 ) goto SkillPointChk;
+ mes "[Tohobu]";
+ mes "Your Job Level is not high enough to be a Monk.";
+ mes "Come back when your Job Level higher then 40.";
+ next;
+ mes "[Tohobu]";
+ mes "No need to be hasty, there is so much to learn on this world,";
+ mes "Come back when you have met the requirements... Haha!";
+ close;
+
+ SkillPointChk:
+
+ if(skillpoint == 0) goto L_GO;
+ mes "[Tohobu]";
+ mes "Well... It seems that you have the ability to be a Monk,";
+ mes "But I believe there are skill needed you have yet to learn.";
+ mes "Come back when you have learnt all the skills.";
+ close;
+
+ IsNot4:
+ mes "[Tohobu]";
+ mes "Oh! Are you kidding?";
+ close;
+
+ HighMonk:
+ mes "[Tohobu]";
+ mes "Wow! You are a High Acolyte, aren't you?";
+ mes "I am sorry, but I can't let you become a Monk!";
+ mes "Please seek out the Champion, that is what you should be!";
+ set MONK_Q, 0;
+ close;
+
+ L_GO:
+ if (Class == 4005) goto HighMonk;
+ mes "[Tohobu]";
+ mes "Well... Seems you have the ability to be a Monk.";
+ mes "Very well then... Go to Wuhai the Elder, He will guide you.";
+ set JBLVL, 40; // used to determine what item to get at the end
+ if(JobLevel == 50) set JBLVL, 50; // used to determine what item to get at the end
+ set MONK_Q, 2;
+ close;
+
+ L_MENU_1_2:
+ mes "[Tohobu]";
+ mes "Alright, you do look tired from your travels...";
+ mes "Perhaps it would be good to rest awhile.";
+ mes "Go ahead and rest at the Abbey before leaving!";
+ next;
+ mes "[Tohobu]";
+ mes "Persevering in order to gain more strength";
+ mes "Is the way of life of the Monks.";
+ mes "I hope that seeing our practises will";
+ mes "At least bring you some inner peace.";
+ close;
+Part1:
+ mes "[Tohobu]";
+ mes "Well? Have you changed your mind after looking around here?";
+ next;
+ menu "Nope.",L_MENU_1_0,"I want to be a Monk",L_MENU_1_1,"I need more rest.",L_MENU_1_2;
+
+Part2:
+ mes "[Tohobu]";
+ mes "Hello there! You should go to Wuhai the Elder, He will guide you.";
+ mes "He is in the Monastery Hall, South East from here";
+ close;
+}
+
+monk_in.gat,99,58,4 script Elder Wuhai 60,{
+ if(MONK_Q == 2 ) goto L_START;
+ if(MONK_Q == 3 ) goto Part1;
+ if(MONK_Q == 4 ) goto Part2;
+ if(MONK_Q >= 5 && JOB_MONK < 10) goto Part3;
+ if(MONK_Q >= 10 && countitem(506) > 0) goto Part4;//Items: Green_Potion,
+ if(MONK_Q == 11 && countitem(506) == 0) goto Part5;//Items: Green_Potion,
+ if(Class == 15 || Class == 4016) goto Part6;
+ if(Class == 4 || Class == 4005) goto Part7;
+ goto IsOther;
+IsOther:
+ mes "[Elder Wuhai]";
+ mes "May you find God in the Mother Nature!!";
+ mes "Welcome traveler, why do you seek me?";
+ close;
+
+L_START:
+ mes "[Elder Wuhai]";
+ mes "Hmmm... You are the youth who wants to be a Monk, right?";
+ next;
+ menu "Yes.",L_MENU_1,"No.",-;
+ mes "[Elder Wuhai]";
+ mes "Hmmm...? Aren't you?";
+ mes "Maybe I'm getting older, I would've guessed if so.";
+ mes "Very well then... You may go, young man.";
+ close;
+L_MENU_1:
+ mes "[Elder Wuhai]";
+ mes "Oh! So young men these days still remember us Monks...";
+ mes "Welcome, my child!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "So you want to be a Monk! I'm glad to hear that!";
+ mes "But first, before you can become one, there are a few things you need to know.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "As Monks, we undergo strict training while protecting world peace.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "The strength is for giving aid to the weak in need, and to protect them from harm.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Last but not least, control our emotions,";
+ mes "More importantly, never be too proud of yourself,";
+ mes "And be blinded by success,";
+ next;
+ mes "[Elder Wuhai]";
+ mes "It coukd be tough, even painful,";
+ mes "While undergoing this process.";
+ mes "Let's see if you're enduring enough,";
+ mes "You cannot become a Monk if you can't even bear this.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "OKay, let's start the test to see if you really have the ability to become a Monk.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Firstly, here's a small exam to test your will to become one of us.";
+ next;
+ if(JBLVL == 50) goto IsJOB50;
+
+ set MONK_Q, 3;
+ set JOB_MONK_C,rand(1,6);
+L_Collect:
+ if(JOB_MONK_C == 1 ) goto L_Collect1;
+ if(JOB_MONK_C == 2 ) goto L_Collect2;
+ if(JOB_MONK_C == 3 ) goto L_Collect3;
+ if(JOB_MONK_C == 4 ) goto L_Collect4;
+ if(JOB_MONK_C == 5 ) goto L_Collect5;
+ if(JOB_MONK_C == 6 ) goto L_Collect6;
+
+ L_Collect1:
+ mes "[Elder Wuhai]";
+ mes "Please bring these items";
+ mes "Tooth of Bat - 10";
+ mes "Bears Footskin - 5";
+ mes "Poison Spore - 20";
+ if(@collect_tmp != 1) goto L_CollectS;
+ close;
+
+ L_Collect2:
+ mes "[Elder Wuhai]";
+ mes "Please bring these items";
+ mes "Porcupine Quill - 5";
+ mes "Cobweb - 20";
+ mes "Grasshopper's Leg - 10";
+ if(@collect_tmp != 1) goto L_CollectS;
+ close;
+
+ L_Collect3:
+ mes "[Elder Wuhai]";
+ mes "Please bring these items";
+ mes "Stem - 30";
+ mes "Jellopy - 5";
+ mes "Worm Peeling -10";
+ if(@collect_tmp != 1) goto L_CollectS;
+ close;
+
+ L_Collect4:
+ mes "[Elder Wuhai]";
+ mes "Please bring these items";
+ mes "Sticky Mucus - 5";
+ mes "Earthworm Peeling - 10";
+ mes "Green Herb - 20";
+ if(@collect_tmp != 1) goto L_CollectS;
+ close;
+
+ L_Collect5:
+ mes "[Elder Wuhai]";
+ mes "Please bring these items";
+ mes "Yoyo Tail - 20";
+ mes "Iron Ore - 5";
+ mes "Blue Herb - 3";
+ if(@collect_tmp != 1) goto L_CollectS;
+ close;
+
+ L_Collect6:
+ mes "[Elder Wuhai]";
+ mes "Please bring these items";
+ mes "Solid Shell - 5";
+ mes "Shell - 20";
+ mes "Zargon - 5";
+ if(@collect_tmp != 1) goto L_CollectS;
+ close;
+L_CollectS:
+ next;
+ mes "[Elder Wuhai]";
+ mes "To test your will, you will have to collect these items by yourself";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Come back to me when you have all of them.";
+ mes "Now go, May God's blessings be with you.";
+ close;
+
+IsJOB50:
+ mes "[Elder Wuhai]";
+ mes "However, I see that your Job Level is " +joblevel +" .";
+ mes "That could prove your ability.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Well done!";
+ mes "I think God will agree with me.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "The next step, there is a Monk named Wutao want to see you.";
+ mes "He is in the Monk Grave North from here.";
+ set MONK_Q, 4;
+ close;
+
+Part1:
+//~ if(joblevel == 50) goto IsJOB50;
+ if(JOB_MONK_C == 1 && countitem(913) >= 10 && countitem(948) >= 5 && countitem(7033) >= 20) goto L_CollectS2_1;//Items: Tooth_of_Bat, Bear's_Footskin, Poison_Spore,
+ if(JOB_MONK_C == 2 && countitem(1027) >= 5 && countitem(1025) >= 20 && countitem(940) >= 10) goto L_CollectS2_2;//Items: Porcupine_Quill, Cobweb, Grasshopper's_Leg,
+ if(JOB_MONK_C == 3 && countitem(905) >= 30 && countitem(909) >= 5 && countitem(955) >= 10) goto L_CollectS2_3;//Items: Stem, Jellopy, Worm_Peeling,
+ if(JOB_MONK_C == 4 && countitem(938) >= 5 && countitem(1055) >= 10 && countitem(511) >= 20) goto L_CollectS2_4;//Items: Sticky_Mucus, Earthworm_Peeling, Green_Herb,
+ if(JOB_MONK_C == 5 && countitem(942) >= 20 && countitem(1002) >= 5 && countitem(510) >= 3) goto L_CollectS2_5;//Items: Yoyo_Tail, Iron_Ore, Blue_Herb,
+ if(JOB_MONK_C == 6 && countitem(943) >= 5 && countitem(935) >= 20 && countitem(912) >= 5) goto L_CollectS2_6;//Items: Solid_Shell, Shell, Zargon,
+
+ mes "[Elder Wuhai]";
+ mes "Hmm... Still not ready yet?";
+ mes "Let me tell what you should bring again,";
+ mes "Listen carefully!";
+ next;
+ set @collect_tmp, 1;
+ goto L_Collect;
+
+ L_CollectS2_1:
+ delitem 913, 10;//Items: Tooth_of_Bat,
+ delitem 948, 5;//Items: Bear's_Footskin,
+ delitem 7033, 20;//Items: Poison_Spore,
+ goto L_CollectS2_E;
+ L_CollectS2_2:
+ delitem 1027, 5;//Items: Porcupine_Quill,
+ delitem 1025, 20;//Items: Cobweb,
+ delitem 940, 10;//Items: Grasshopper's_Leg,
+ goto L_CollectS2_E;
+ L_CollectS2_3:
+ delitem 7012, 30;//Items: Tough_Scalelike_Stem,
+ delitem 909, 5;//Items: Jellopy,
+ delitem 955, 10;//Items: Worm_Peeling,
+ goto L_CollectS2_E;
+ L_CollectS2_4:
+ delitem 938, 5;//Items: Sticky_Mucus,
+ delitem 1055, 10;//Items: Earthworm_Peeling,
+ delitem 511, 20;//Items: Green_Herb,
+ goto L_CollectS2_E;
+ L_CollectS2_5:
+ delitem 942, 20;//Items: Yoyo_Tail,
+ delitem 1002, 5;//Items: Iron_Ore,
+ delitem 510, 3;//Items: Blue_Herb,
+ goto L_CollectS2_E;
+ L_CollectS2_6:
+ delitem 943, 5;//Items: Solid_Shell,
+ delitem 935, 20;//Items: Shell,
+ delitem 912, 5;//Items: Zargon,
+ goto L_CollectS2_E;
+
+ L_CollectS2_E:
+ mes "[Elder Wuhai]";
+ mes "Oh! You've brought all of them!";
+ mes "Well done!";
+ mes "Your will in becoming in Monk is witnessable!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Let's see... there is a Monk named";
+ mes "Ah... Wutao who wants to see you.";
+ mes "He will be in the Ancestral Graveyard North from here.";
+ set MONK_Q, 4;
+ set JOB_MONK_C, 0;
+ close;
+
+Part2:
+ mes "[Elder Wuhai]";
+ mes "Next... should be questions regarding your job changing?";
+ mes "Go find master Wutao,";
+ mes "He will be in the Ancestral Graveyard North from here.";
+ close;
+Part3:
+ mes "[Elder Wuhai]";
+ mes "Hmm? You're still taking the test...?";
+ mes "Try to do your best in it then!";
+ close;
+Part4:
+ mes "[Elder Wuhai]";
+ mes "What? You haven't drunk that Magic Potion?";
+ mes "Then... Hurry up and finish the Green-ish potion!";
+ mes "Otherwise, you will never be able to achieve";
+ mes "The spiritual energy level of Monks!";
+ set MONK_Q, 11;
+ close;
+Part5:
+ mes "[Elder Wuhai]";
+ mes "We have done all steps... Your blood, your mind, your soul,";
+ mes "Is enough for you to become a Monk.";
+ mes "Even your spiritual energy has increased after drinking the Magic Potion.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Good... you will now be sworn in by oath";
+ mes "In which afterwards the job changing will be complete.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Are you willing to dedicate the rest of your life to serving God?";
+ next;
+ menu "Yes.",L_MONK_Q_2,"No.",-;
+
+ mes "[Elder Wuhai]";
+ mes "......What?......";
+ mes "Aren't you ready to become a Monk?";
+ mes "Perhaps you want to run around a bit more,";
+ mes "And shed some more sweat";
+ mes "To become more prepared?";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Consider carefully before coming back!";
+ mes "I do not want to make a bad Monk.";
+ close;
+L_MONK_Q_2:
+ mes "[Elder Wuhai]";
+ mes "Will you use the powers given to you for your own good?";
+ next;
+ menu "Yes.",-,"No.",L_MONK_Q_3;
+
+ mes "[Elder Wuhai]";
+ mes "...NO NO NO NO NO !! Our training is not for any self benefits!";
+ mes "How could one who protects world peace abuse this advantage";
+ mes "For their own selfish means?!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Go and think over the true purpose of a Monk.";
+ mes "Thoughts like that will only make you greedier for power";
+ mes "The corruption of your soul will only lead to loss of your ability.";
+ close;
+
+L_MONK_Q_3:
+ mes "[Elder Wuhai]";
+ mes "When judging those who have opposed the will of God,";
+ mes "Will you hesitate in punishing them?";
+ next;
+ menu "No.",L_MONK_Q_4,"Yes.",-;
+
+ mes "[Elder Wuhai]";
+ mes "What do you think Monks are?";
+ mes "No matter who they are,";
+ mes "People who harm the weak are like trash!";
+ mes "They do not have the right to live on this world!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Perhaps you should go to people who deny morals in this world,";
+ mes "Come back again when you've learnt how to hate.";
+ mes "Then you will know what to do.";
+ close;
+
+L_MONK_Q_4:
+ mes "[Elder Wuhai]";
+ mes "Will you help to eradicate those who oppose God,";
+ mes "And to sacrifice yourself for the better of others?";
+ next;
+ menu "Yes",L_MONK_Q_5,"No",-;
+
+ mes "[Elder Wuhai]";
+ mes "Oh...nonononono....";
+ mes "If sacrificing oneself would be beneficial to your peers,";
+ mes "And that more enemies can be rid of,";
+ mes "That would be a great and worthy thing to do!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "What does Sacrifice means? Come back when you've figured it out.";
+ mes "Ah.. Sacrifice can be so simple, yet so difficult!";
+ close;
+
+L_MONK_Q_5:
+ mes "[Elder Wuhai]";
+ mes "Will you train monsters behind you to help others in battle?";
+ next;
+ menu "Yes",-,"No",L_MONK_Q_6;
+
+ mes "[Elder Wuhai]";
+ mes "That is not right! Training mobs around";
+ mes "Doesn't only apply to all others";
+ mes "...";
+ // he's not making any sense =P
+ mes "Instead it is an act that violates the rights of other Monks";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Even when you've learnt the skill 'Steel Body'";
+ mes "It is only meant to be used in emergency, or when you meet a strong adversary.";
+ mes "But not in such a situation!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "It might feel that you're helping them,";
+ mes "But you are only commiting acts of unjust!";
+ mes "What is the true way of a Monk?";
+ mes "Come back when you have thought it over.";
+ close;
+
+L_MONK_Q_6:
+ mes "[Elder Wuhai]";
+ // mes "Will you spam?";
+ // "will you spam" is just so... un-monkly. ^^;
+ mes "In villages or wilderness, will you say the same words towards others repeatedly?";
+ next;
+ menu "Yes",-,"No",L_MONK_Q_7;
+
+ mes "[Elder Wuhai]";
+ mes "No! If you do so, not just Monks, even the common people,";
+ mes "No matter how loudly you've yelled no one will bother about you!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "It is the same even if you only wanted to spread the words of God.";
+ mes "Think of your behavior. What's right and wrong?";
+ mes "Although I would rather test you again, but I'll let you go this time.";
+ close;
+L_MONK_Q_7:
+ mes "[Elder Wuhai]";
+ mes "Do you feel as if you're a messenger of God, and are willing to die for God?";
+ next;
+ menu "Yes",L_MONK_Q_8,"No",-;
+
+ mes "[Elder Wuhai]";
+ mes "You cannot be a Monk with this kind of will!";
+ mes "As its said, Death is only temporary, Ever if we have to give our lives";
+ mes "to protect world peace, it would at least be a meaningful action!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Those who oppose God will be condemned,";
+ mes "While those who listen to God will live.";
+ mes "What is life and death to you?";
+ mes "Ponder that well.";
+ close;
+
+L_MONK_Q_8:
+ mes "[Elder Wuhai]";
+ mes "Lastly, make an oath to swear you will keep to what you have answered.";
+ next;
+ menu "I swear.",L_MONK_Q_9,"I refuse.",-;
+
+ mes "[Elder Wuhai]";
+ mes "......";
+ next;
+ mes "[Elder Wuhai]";
+ mes "It seems like... you don't have enough training...";
+ mes "I can't let you become a Monk.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "It is better for you to train more.";
+ mes "Come back when you ready.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "May God be with you.";
+ close;
+
+L_MONK_Q_9:
+ mes "[Elder Wuhai]";
+ mes "Well then, we have completed the oaths";
+ mes "Gather closer now, you are already my brother!";
+//---- Progress bar ----//
+ next;
+ mes "[Elder Wuhai]";
+ mes "Your promise has transmited to all Monks throught ypur heart and my heart.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Now, let's begin the ceremony!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "I'll acupuncture your 365 acupuncture points and open up your 1129 arteries and veins";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Ahhhhhhhhh......";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Wuuu... Huuuuuu";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "- He take a deeply breath -";
+ next;
+ mes "[" + strcharinfo(0) + "]";
+ mes "- And begining to acupuncture -";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Ahhhh--- Dadadadadada!!!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "DaBaDaBaDadadadaKaBonTatatata!!!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Ahhhh--- Dadadadadada!!!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "WaLaChuOhhhhhhh!!!";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Wuuu... Huuuuuu";
+ next;
+ mes "[Elder Wuhai]";
+ mes "WowHoooo... Okay, you are now a Monk!";
+ setoption 0;
+ jobchange 15;// Job: Job_Monk
+ next;
+ mes "[Elder Wuhai]";
+ mes "(Caught!) (Caught!)";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Am I old...? I feel so tired... (-sigh-)";
+ mes "I could clamb mountains after this before.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Very well... You are now a Monk...";
+ mes "Welcome to be one of us.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Bou never forget your promise.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Keep it in your mind, and train yourself.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Now go...";
+ mes "Here is a gift from us to congratulate you.";
+ if(JBLVL < 50) getitem 1801, 1;//Items: Waghnakh,
+ if(JBLVL == 50) getitem 1804, 1;//Items: Knuckle_Duster_,
+ callfunc "F_ClearJobVar";
+ close;
+Part6:
+ mes "[Elder Wuhai]";
+ mes "May you find God in Mother Nature!";
+ mes "Welcome dear! What can I do for you?";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Is everything alright?";
+ mes "How the training?";
+ next;
+ mes "[Elder Wuhai]";
+ mes "If you don't have a strong body, you may not be able to help people when they needs you.";
+ mes "If you are weak, the Evil will come to you and leads you go into the dark side.";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Never forget it! You are the one protect weakers and world peace!";
+ mes "You should always mind the Evil. Don't let them leads you go into the dark side.";
+ close;
+
+Part7:
+ mes "[Elder Wuhai]";
+ mes "May you find God in Mother Nature!";
+ mes "Welcome dear! What can I do for you?";
+ next;
+ mes "[Elder Wuhai]";
+ mes "Oh! You are an Acolyte....";
+ mes "If you want to pray, go to Prontera Sanctuary!";
+ mes "This is the Monk training area, not for you to pray.";
+ mes "Go and find other places to stay if you are not willing to be a Monk.";
+ close;
+}
+
+prt_monk.gat,251,255,4 script Wutao 79,{
+ if(MONK_Q == 4 ) goto L_START;
+ if(MONK_Q == 5 ) goto Part1;
+ if(MONK_Q == 6 ) goto Part2;
+ if(MONK_Q > 6 ) goto Part3;
+ goto IsOther;
+
+IsOther:
+ mes "[Wutao]";
+ mes "We are Monks!";
+ mes "We have unlimited power!";
+ mes "We have unlimited wise!";
+ mes "We use our power and wise to protect the world peace!";
+ next;
+ mes "[Wutao]";
+ mes "So...";
+ mes "Are you my enemy?";
+ mes "You block my way!!!!";
+ next;
+ mes "[Wutao]";
+ mes "If someone block me!! I'll fight!!";
+ mes "TaAhhhhhh!!!";
+ next;
+ mes "[Wutao]";
+ mes "HuHaaaaaaaa!!!";
+ next;
+ mes "[Wutao]";
+ mes "don;t be afraid, go yourway!";
+ close;
+
+L_START:
+ mes "[Wutao]";
+ mes "What can I do for you?";
+ mes "Do you want to talk about God?";
+ next;
+ mes "[Wutao]";
+ mes "Oh! you are proceeding the Monk Quest!";
+ mes "The spirits you have is like a Monk.";
+ next;
+ mes "[Wutao]";
+ mes "Seems your arteries and veins has been open.";
+ mes "You must be the one coming from Elder Wuhai, right?";
+ mes "Very well...";
+ next;
+ mes "[Wutao]";
+ mes "Let me introduce you something about the spirits of Monks and some simple rules that Monks should obey.";
+ mes "Then I'll help modifing your mental status, make your body ready for the next test.";
+ next;
+ mes "[Wutao]";
+ mes "Now, remember what I say and repeat again.";
+ mes "Clear your mind... Are you ready?";
+ next;
+ menu "Yes",L_MENU_1,"No",-;
+ mes "[Wutao]";
+ mes "Come back when you ready!";
+ close;
+L_MENU_1:
+ mes "[Wutao]";
+ mes "All right, let's begin.";
+ next;
+ set @JOB_MONK_C2, rand(1,3);
+L_Again:
+ if(@JOB_MONK_C2==0) set @JOB_MONK_C2, rand(1,3);
+ if(@JOB_MONK_C2 == 2) goto L_ROOT_2;
+ if(@JOB_MONK_C2 == 3) goto L_ROOT_3;
+
+ L_ROOT_1:
+ set @monk_str0$,"Supported by dragon and phoenix,";
+ set @monk_str1$,"So flies he westward.";
+ set @monk_str2$,"But the phoenix shall fall to the earth.";
+ set @monk_str3$,"And the dragon shall soar to the sky;";
+ set @monk_str4$,"There shall be successes and failures,";
+ set @monk_str5$,"For such is the eternal law.";
+ set @monk_str6$,"See that ye act when occasion offers,";
+ set @monk_str7$,"Lest ye descend to the Nine Golden Springs.'";
+ goto L_MES;
+ L_ROOT_2:
+ set @monk_str0$,"He boasted not a handsome face,";
+ set @monk_str1$,"Nor was his body blessed with grace.";
+ set @monk_str2$,"His words streamed like a waterfall,";
+ set @monk_str3$,"He read a book and knew it all.";
+ set @monk_str4$,"Shu's glories could he well rehearse,";
+ set @monk_str5$,"His lore embraced the universe.";
+ set @monk_str6$,"Or text or note of scholiast";
+ set @monk_str7$,"Once read, his memory held fast.";
+ goto L_MES;
+ L_ROOT_3:
+ set @monk_str0$,"Seek ye a noble one? Then take ye the way of Jieliang,";
+ set @monk_str1$,"Watch ye how all people revere Guan Yu,";
+ set @monk_str2$,"Each excelling others to honor him,";
+ set @monk_str3$,"Him, one of the three brothers of the Peach Garden Oath,";
+ set @monk_str4$,"Who have won sacrifices, as emperor and king.";
+ set @monk_str5$,"Incomparable their aura spreads through the world;";
+ set @monk_str6$,"They are resplendent as the great lights of the firmament;";
+ set @monk_str7$,"Temples to our Lord Guan Yu abound, no village lacks one,";
+ set @monk_str8$,"Their venerable trees at sundown are the resting places for birds.";
+
+L_MES:
+ mes "[Wutao]";
+ mes "Listen carefully!";
+ next;
+ mes "[Wutao]";
+ mes @monk_str0$;
+ next;
+ mes "[Wutao]";
+ mes @monk_str1$;
+ next;
+ mes "[Wutao]";
+ mes @monk_str2$;
+ next;
+ mes "[Wutao]";
+ mes @monk_str3$;
+ next;
+ mes "[Wutao]";
+ mes @monk_str4$;
+ next;
+ mes "[Wutao]";
+ mes @monk_str5$;
+ next;
+ mes "[Wutao]";
+ mes @monk_str6$;
+ next;
+ mes "[Wutao]";
+ mes @monk_str7$;
+ if(@JOB_MONK_C2 < 3) goto L_MES_1;
+ next;
+ mes "[Wutao]";
+ mes @monk_str8$;
+
+L_MES_1:
+ next;
+ mes "[Wutao]";
+ mes "Now, " + strcharinfo(0) + ", it's your turn.";
+ next;
+ set @monk_q, 0;
+ if(@JOB_MONK_C2 == 2) goto L_MONK_Q2_1;
+ if(@JOB_MONK_C2 == 3) goto L_MONK_Q3_1;
+
+L_MONK_Q1_1:
+
+ menu "And the dragon shall soar to the sky;",L_MONK_Q1_2,
+ "But the phoenix shall fall to the earth.",L_MONK_Q1_2,
+ "For such is the eternal law.",L_MONK_Q1_2,
+ "See that ye act when occasion offers,",L_MONK_Q1_2,
+ "There shall be successes and failures,",L_MONK_Q1_2,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_Q1_2,
+ "Supported by dragon and phoenix,",-,
+ "So flies he westward.",L_MONK_Q1_2;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q1_2:
+
+ menu "But the phoenix shall fall to the earth.",L_MONK_Q1_3,
+ "See that ye act when occasion offers,",L_MONK_Q1_3,
+ "Supported by dragon and phoenix,",L_MONK_Q1_3,
+ "There shall be successes and failures,",L_MONK_Q1_3,
+ "So flies he westward.",-,
+ "And the dragon shall soar to the sky;",L_MONK_Q1_3,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_Q1_3,
+ "For such is the eternal law.",L_MONK_Q1_3;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q1_3:
+
+ menu "There shall be successes and failures,",L_MONK_Q1_4,
+ "But the phoenix shall fall to the earth.",-,
+ "And the dragon shall soar to the sky;",L_MONK_Q1_4,
+ "So flies he westward.",L_MONK_Q1_4,
+ "For such is the eternal law.",L_MONK_Q1_4,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_Q1_4,
+ "See that ye act when occasion offers,",L_MONK_Q1_4,
+ "Supported by dragon and phoenix,",L_MONK_Q1_4;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q1_4:
+
+ menu "And the dragon shall soar to the sky;",-,
+ "Supported by dragon and phoenix,",L_MONK_Q1_5,
+ "But the phoenix shall fall to the earth.",L_MONK_Q1_5,
+ "So flies he westward.",L_MONK_Q1_5,
+ "For such is the eternal law.",L_MONK_Q1_5,
+ "There shall be successes and failures,",L_MONK_Q1_5,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_Q1_5,
+ "See that ye act when occasion offers,",L_MONK_Q1_5;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q1_5:
+
+ menu "For such is the eternal law.",L_MONK_Q1_6,
+ "And the dragon shall soar to the sky;",L_MONK_Q1_6,
+ "So flies he westward.",L_MONK_Q1_6,
+ "Supported by dragon and phoenix,",L_MONK_Q1_6,
+ "But the phoenix shall fall to the earth.",L_MONK_Q1_6,
+ "See that ye act when occasion offers,",L_MONK_Q1_6,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_Q1_6,
+ "There shall be successes and failures,",-;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q1_6:
+
+ menu "Supported by dragon and phoenix,",L_MONK_Q1_7,
+ "So flies he westward.",L_MONK_Q1_7,
+ "For such is the eternal law.",-,
+ "But the phoenix shall fall to the earth.",L_MONK_Q1_7,
+ "There shall be successes and failures,",L_MONK_Q1_7,
+ "And the dragon shall soar to the sky;",L_MONK_Q1_7,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_Q1_7,
+ "See that ye act when occasion offers,",L_MONK_Q1_7;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q1_7:
+
+ menu "So flies he westward.",L_MONK_Q1_8,
+ "Supported by dragon and phoenix,",L_MONK_Q1_8,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_Q1_8,
+ "There shall be successes and failures,",L_MONK_Q1_8,
+ "For such is the eternal law.",L_MONK_Q1_8,
+ "But the phoenix shall fall to the earth.",L_MONK_Q1_8,
+ "And the dragon shall soar to the sky;",L_MONK_Q1_8,
+ "See that ye act when occasion offers,",-;
+
+ set @monk_q, @monk_q + 2;
+L_MONK_Q1_8:
+
+ menu "Supported by dragon and phoenix,",L_MONK_QUEST_END,
+ "See that ye act when occasion offers,",L_MONK_QUEST_END,
+ "But the phoenix shall fall to the earth.",L_MONK_QUEST_END,
+ "Lest ye descend to the Nine Golden Springs.",L_MONK_QUEST_1_2,
+ "And the dragon shall soar to the sky;",L_MONK_QUEST_END,
+ "So flies he westward.",L_MONK_QUEST_END,
+ "There shall be successes and failures,",L_MONK_QUEST_END,
+ "For such is the eternal law.",L_MONK_QUEST_END;
+
+L_MONK_Q2_1:
+
+ menu "Nor was his body blessed with grace.",L_MONK_Q2_2,
+ "He read a book and knew it all.",L_MONK_Q2_2,
+ "His words streamed like a waterfall,",L_MONK_Q2_2,
+ "He boasted not a handsome face,",-,
+ "Shu's glories could he well rehearse,",L_MONK_Q2_2,
+ "Once read, his memory held fast.",L_MONK_Q2_2,
+ "His lore embraced the universe.",L_MONK_Q2_2,
+ "Or text or note of scholiast",L_MONK_Q2_2;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q2_2:
+
+ menu "His lore embraced the universe.",L_MONK_Q2_3,
+ "He boasted not a handsome face,",L_MONK_Q2_3,
+ "His words streamed like a waterfall,",L_MONK_Q2_3,
+ "He read a book and knew it all.",L_MONK_Q2_3,
+ "Or text or note of scholiast",L_MONK_Q2_3,
+ "Once read, his memory held fast.",L_MONK_Q2_3,
+ "Shu's glories could he well rehearse,",L_MONK_Q2_3,
+ "Nor was his body blessed with grace.",-;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q2_3:
+
+ menu "His words streamed like a waterfall,",-,
+ "His lore embraced the universe.",L_MONK_Q2_4,
+ "He read a book and knew it all.",L_MONK_Q2_4,
+ "Shu's glories could he well rehearse,",L_MONK_Q2_4,
+ "Nor was his body blessed with grace.",L_MONK_Q2_4,
+ "Or text or note of scholiast",L_MONK_Q2_4,
+ "He boasted not a handsome face,",L_MONK_Q2_4,
+ "Once read, his memory held fast.",L_MONK_Q2_4;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q2_4:
+
+ menu "Nor was his body blessed with grace.",L_MONK_Q2_5,
+ "Once read, his memory held fast.",L_MONK_Q2_5,
+ "Shu's glories could he well rehearse,",L_MONK_Q2_5,
+ "Or text or note of scholiast",L_MONK_Q2_5,
+ "He boasted not a handsome face,",L_MONK_Q2_5,
+ "He read a book and knew it all.",-,
+ "His lore embraced the universe.",L_MONK_Q2_5,
+ "His words streamed like a waterfall,",L_MONK_Q2_5;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q2_5:
+
+ menu "Once read, his memory held fast.",L_MONK_Q2_6,
+ "Or text or note of scholiast",L_MONK_Q2_6,
+ "He read a book and knew it all.",L_MONK_Q2_6,
+ "His words streamed like a waterfall,",L_MONK_Q2_6,
+ "Nor was his body blessed with grace.",L_MONK_Q2_6,
+ "He boasted not a handsome face,",L_MONK_Q2_6,
+ "His lore embraced the universe.",L_MONK_Q2_6,
+ "Shu's glories could he well rehearse,",-;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q2_6:
+
+ menu "Or text or note of scholiast",L_MONK_Q2_7,
+ "He read a book and knew it all.",L_MONK_Q2_7,
+ "Shu's glories could he well rehearse,",L_MONK_Q2_7,
+ "His words streamed like a waterfall,",L_MONK_Q2_7,
+ "His lore embraced the universe.",-,
+ "He boasted not a handsome face,",L_MONK_Q2_7,
+ "Nor was his body blessed with grace.",L_MONK_Q2_7,
+ "Once read, his memory held fast.",L_MONK_Q2_7;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q2_7:
+
+ menu "Nor was his body blessed with grace.",L_MONK_Q2_8,
+ "Or text or note of scholiast",-,
+ "His words streamed like a waterfall,",L_MONK_Q2_8,
+ "Once read, his memory held fast.",L_MONK_Q2_8,
+ "He boasted not a handsome face,",L_MONK_Q2_8,
+ "He read a book and knew it all.",L_MONK_Q2_8,
+ "Shu's glories could he well rehearse,",L_MONK_Q2_8,
+ "His lore embraced the universe.",L_MONK_Q2_8;
+
+ set @monk_q, @monk_q + 2;
+L_MONK_Q2_8:
+
+ menu "He boasted not a handsome face,",L_MONK_QUEST_END,
+ "Nor was his body blessed with grace.",L_MONK_QUEST_END,
+ "Shu's glories could he well rehearse,",L_MONK_QUEST_END,
+ "Or text or note of scholiast",L_MONK_QUEST_END,
+ "His lore embraced the universe.",L_MONK_QUEST_END,
+ "He read a book and knew it all.",L_MONK_QUEST_END,
+ "His words streamed like a waterfall,",L_MONK_QUEST_END,
+ "Once read, his memory held fast.",L_MONK_QUEST_1_2;
+
+L_MONK_Q3_1:
+
+ menu "Watch ye how all people revere Guan Yu,",L_MONK_Q3_2,
+ "Seek ye a noble one? Then take ye the way of Jieliang,",-,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_Q3_2,
+ "Each excelling others to honor him,",L_MONK_Q3_2,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_2,
+ "Incomparable their aura spreads through the world;",L_MONK_Q3_2,
+ "They are resplendent as the great lights of the firmament;",L_MONK_Q3_2,
+ "Who have won sacrifices, as emperor and king.",L_MONK_Q3_2,
+ "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_Q3_2;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_2:
+
+ menu "Each excelling others to honor him,",L_MONK_Q3_3,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_Q3_3,
+ "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_Q3_3,
+ "Incomparable their aura spreads through the world;",L_MONK_Q3_3,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_3,
+ "Who have won sacrifices, as emperor and king.",L_MONK_Q3_3,
+ "Watch ye how all people revere Guan Yu,",-,
+ "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_Q3_3,
+ "They are resplendent as the great lights of the firmament;",L_MONK_Q3_3;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_3:
+
+ menu "They are resplendent as the great lights of the firmament;",L_MONK_Q3_4,
+ "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_Q3_4,
+ "Each excelling others to honor him,",-,
+ "Watch ye how all people revere Guan Yu,",L_MONK_Q3_4,
+ "Who have won sacrifices, as emperor and king.",L_MONK_Q3_4,
+ "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_Q3_4,
+ "Incomparable their aura spreads through the world;",L_MONK_Q3_4,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_Q3_4,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_4;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_4:
+
+ menu "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_Q3_5,
+ "Each excelling others to honor him,",L_MONK_Q3_5,
+ "Incomparable their aura spreads through the world;",L_MONK_Q3_5,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_Q3_5,
+ "Him, one of the three brothers of the Peach Garden Oath,",-,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_5,
+ "They are resplendent as the great lights of the firmament;",L_MONK_Q3_5,
+ "Who have won sacrifices, as emperor and king.",L_MONK_Q3_5,
+ "Watch ye how all people revere Guan Yu,",L_MONK_Q3_5;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_5:
+
+ menu "They are resplendent as the great lights of the firmament;",L_MONK_Q3_6,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_Q3_6,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_6,
+ "Who have won sacrifices, as emperor and king.",-,
+ "Watch ye how all people revere Guan Yu,",L_MONK_Q3_6,
+ "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_Q3_6,
+ "Incomparable their aura spreads through the world;",L_MONK_Q3_6,
+ "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_Q3_6,
+ "Each excelling others to honor him,",L_MONK_Q3_6;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_6:
+
+ menu "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_Q3_7,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_7,
+ "Watch ye how all people revere Guan Yu,",L_MONK_Q3_7,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_Q3_7,
+ "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_Q3_7,
+ "Incomparable their aura spreads through the world;",-,
+ "Each excelling others to honor him,",L_MONK_Q3_7,
+ "They are resplendent as the great lights of the firmament;",L_MONK_Q3_7,
+ "Who have won sacrifices, as emperor and king.",L_MONK_Q3_7;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_7:
+
+ menu "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_Q3_8,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_8,
+ "They are resplendent as the great lights of the firmament;",-,
+ "Watch ye how all people revere Guan Yu,",L_MONK_Q3_8,
+ "Each excelling others to honor him,",L_MONK_Q3_8,
+ "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_Q3_8,
+ "Who have won sacrifices, as emperor and king.",L_MONK_Q3_8,
+ "Incomparable their aura spreads through the world;",L_MONK_Q3_8,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_Q3_8;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_8:
+
+ menu "Temples to our Lord Guan Yu abound, no village lacks one,",-,
+ "Incomparable their aura spreads through the world;",L_MONK_Q3_9,
+ "Their venerable trees at sundown are the resting places for birds.",L_MONK_Q3_9,
+ "They are resplendent as the great lights of the firmament;",L_MONK_Q3_9,
+ "Who have won sacrifices, as emperor and king.",L_MONK_Q3_9,
+ "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_Q3_9,
+ "Watch ye how all people revere Guan Yu,",L_MONK_Q3_9,
+ "Each excelling others to honor him,",L_MONK_Q3_9,
+ "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_Q3_9;
+
+ set @monk_q, @monk_q + 1;
+L_MONK_Q3_9:
+
+ menu "Him, one of the three brothers of the Peach Garden Oath,",L_MONK_QUEST_END,
+ "Each excelling others to honor him,",L_MONK_QUEST_END,
+ "Watch ye how all people revere Guan Yu,",L_MONK_QUEST_END,
+ "Who have won sacrifices, as emperor and king.",L_MONK_QUEST_END,
+ "Incomparable their aura spreads through the world;",L_MONK_QUEST_END,
+ "Seek ye a noble one? Then take ye the way of Jieliang,",L_MONK_QUEST_END,
+ "They are resplendent as the great lights of the firmament;",L_MONK_QUEST_END,
+ "Temples to our Lord Guan Yu abound, no village lacks one,",L_MONK_QUEST_END,
+ "Their venerable trees at sundown are the resting places for birds.",-;
+
+L_MONK_QUEST_1_2:
+ set @monk_q, @monk_q + 1;
+L_MONK_QUEST_END:
+
+ if(@monk_q < 9) goto L_C2_FAIL;
+
+L_C2_DONE:
+ set @monk_q, 0;
+ next;
+ mes "[Wutao]";
+ mes "Hmmm...";
+ next;
+ mes "[Wutao]";
+ mes "...Well Done!! It's perfect!";
+ next;
+ mes "[Wutao]";
+ mes "However, don't be happy too early. There is much long way to go before you become a Monk.";
+ next;
+ mes "[Wutao]";
+ mes "DaAhaaaa...";
+ next;
+ mes "[Wutao]";
+ mes "ShuKeeee.....";
+ next;
+ mes "[Wutao]";
+ mes "SouKouuuuu....";
+ next;
+ mes "[Wutao]";
+ mes "PaYennnn....";
+ next;
+ mes "[Wutao]";
+ mes "As I promised, your mental status is now running like a Monk do.";
+ next;
+ mes "[Wutao]";
+ mes "Now go, seek ^000080Fuhai^000000 for further guidance.";
+ set MONK_Q, 6;
+ close;
+
+L_C2_FAIL:
+ mes "[" + strcharinfo(0) + "]";
+ mes "Well...? How was that? ";
+ next;
+ mes "[Wutao]";
+ mes "Hmmm... ";
+ next;
+ mes "[Wutao]";
+ mes "HeNmmm...";
+ next;
+ mes "[Wutao]";
+ mes "How was that? It's bad! You didn't memorize it all!";
+ next;
+ mes "[Wutao]";
+ mes "You should doult yourself. Are you really have the ability to be a Monk?";
+ mes "...It's really....";
+ next;
+ mes "[Wutao]";
+ mes "Well...That's fine, do you want to try it again?";
+ next;
+ mes "[Wutao]";
+ mes "Of course! Since you did not pass this test, you can't take the next test.";
+ set MONK_Q, 5;
+ close;
+
+Part1:
+ mes "[Wutao]";
+ mes "Very well. Let's try it again.";
+ next;
+ goto L_Again;
+
+Part2:
+ mes "[Wutao]";
+ mes "What? You forget whom you should seek for?";
+ next;
+ mes "[Wutao]";
+ mes "......You are so.......";
+ next;
+ mes "[Wutao]";
+ mes "...Are you testing my patient?";
+ next;
+ mes "[Wutao]";
+ mes "...Okay, I'll tell you again...";
+ mes "Go and seek ^000080Fuhai^000000 for further guidance.";
+ close;
+Part3:
+ mes "[Wutao]";
+ mes "May God be with you.";
+ close;
+}
+
+prt_monk.gat,57,179,4 script Fuhai 110,{
+
+ if(@Choice_mission == 1 ) goto Part1;
+ if(@Choice_mission == 2 ) goto Part2;
+ if(MONK_Q == 6 ) goto L_START;
+ goto IsOther;
+IsOther:
+ mes "[Fuhai]";
+ mes "HaAhhhhh....!!!";
+ next;
+ mes "- Seems like he is thinking something -";
+ close;
+
+L_START:
+ mes "[Fuhai]";
+ mes "...";
+ next;
+ mes "[Fuhai]";
+ mes "......";
+ next;
+ mes "[Fuhai]";
+ mes ".........";
+ next;
+ mes "[Fuhai]";
+ mes "............";
+ next;
+ menu "Hello there?",-;
+
+ mes "[Fuhai]";
+ mes "...what...WHAT?";
+ mes "How dare you interupt my training!";
+ mes "If it is not very important...";
+ next;
+ mes "[Fuhai]";
+ mes "......";
+ mes "I can't tell...if you can see the son tomorrow...";
+ next;
+ mes "[Fuhai]";
+ mes "Why are you here?";
+ mes "Explain!";
+ next;
+ menu "Some one named [Wutao] send me here.",L_MENU_1,"Well...Nothing...",-;
+
+ mes "[Fuhai]";
+ mes "......";
+ mes "...How about dig a grave for yourself?";
+ close;
+ L_MENU_1:
+ mes "[Fuhai]";
+ mes "Hmmm...It's that so?";
+ mes "That's...";
+ next;
+ mes "[Fuhai]";
+ mes "Oh...Your mental status...";
+ mes "Ha! Very well...";
+ next;
+ mes "[Fuhai]";
+ mes "However, what did you learn from [Wutao] ?";
+ next;
+ menu "Hmmm...Well...It's...",-,
+ "I repeat what he said, and he send me here.",L_MENU_1_1,
+ "He test my mental status and send me here.",-;
+
+ mes "[Fuhai]";
+ mes "Foolish!";
+ mes "Don't bother me! Go away!";
+ close;
+ L_MENU_1_1:
+ mes "[Fuhai]";
+ mes "Well...Then?";
+ mes "Did he do anything for you?";
+ next;
+ menu "Ah...It's...I can't tell...",-,
+ "Check my body",L_MENU_1_1_1,
+ "Tell me some rules to obey",L_MENU_1_1_1,
+ "modify my mental status",L_MENU_1_1_2;
+
+ mes "[Fuhai]";
+ mes "Foolish!";
+ mes "Don't bother me! Go away!";
+ close;
+ L_MENU_1_1_1:
+ mes "[Fuhai]";
+ mes "That's quite true, but not the point.";
+ mes "Think! Use your brain!";
+ close;
+
+ L_MENU_1_1_2:
+ set MONK_Q, 7;
+ mes "[Fuhai]";
+ mes "Very well, at least you know what had been change in your body";
+ mes "Now, let's begin the next test.";
+ next;
+ mes "[Fuhai]";
+ mes "I'll give you a chance to choose what kind of test you want to take.";
+ mes "Now, make your own choise.";
+ next;
+ menu "Mushroom Collecting",L_ROOT_1,"Marathon",L_ROOT_2;
+
+ L_ROOT_1:
+ mes "[Fuhai]";
+ mes "Mushroom Collecting? Good choice!";
+ mes "That would make you appreciate the extremity of patient, realize the meaning God give you the great willpower.";
+ mes "Now go, do some prepares. Come back when you ready.";
+ set @Choice_mission, 1;
+ close;
+ L_ROOT_2:
+ mes "[Fuhai]";
+ mes "Marathon? Good choice!";
+ mes "That would make you appreciate the extremity of willpower, realize the meaning God give you the great patient.";
+ mes "Now go, do some prepares. Come back when you ready.";
+ set @Choice_mission, 2;
+ close;
+Part1:
+ mes "[Fuhai]";
+ mes "Are you ready?";
+ mes "Acturily, you don't need to prepare anything if you believe in yourself";
+ next;
+ mes "[Fuhai]";
+ mes "Mushroom Collecting is your choice.";
+ mes "It's a test for yourself.";
+ next;
+ mes "[Fuhai]";
+ mes "Now, go to the building located in the center of this training area.";
+ next;
+ mes "[Fuhai]";
+ mes "You will pass the test when you collect enough mushrooms we think.";
+ mes "Now, what are waitting for? Go ahead!";
+ close;
+Part2:
+ mes "[Fuhai]";
+ mes "Are you ready?";
+ mes "Acturily, you don't need to prepare anything if you believe in yourself";
+ next;
+ mes "[Fuhai]";
+ mes "Marathon is your choice.";
+ mes "It's a test for yourself.";
+ next;
+ mes "[Fuhai]";
+ mes "Now, go to the building located in the center of this training area.";
+ next;
+ mes "[Fuhai]";
+ mes "You will pass the test when you run enough circles we think.";
+ mes "Now, what are waitting for? Go ahead!";
+ close;
+
+}
+
+prt_monk.gat,199,169,4 script Guard 746,{
+ if(MONK_Q == 7) goto L_START;
+ if(MONK_Q > 6) goto Part1;
+ goto IsOther;
+IsOther:
+ mes "[Guard ChaoLi]";
+ mes "This is...";
+ mes "Monk Training Area";
+ next;
+ mes "[Guard ChaoLi]";
+ mes "Please be quiet in this area.";
+ close;
+
+L_START:
+ mes "[Guard ChaoLi]";
+ mes "This is...";
+ mes "Monk Training Area";
+ next;
+ mes "[Guard ChaoLi]";
+ mes strcharinfo(0) + " ... Right?!";
+ next;
+ mes "[Guard ChaoLi]";
+ mes "Go ahead! Quickly!";
+ mes "There is another test waitting for you!";
+ close;
+
+Part1:
+ mes "[Guard ChaoLi]";
+ mes "Please be quiet in this area.";
+ close;
+}
+
+monk_test.gat,329,61,4 script Bashu 753,{
+ if(MONK_Q == 7) goto L_START;
+ if(MONK_Q == 8) goto IsOther;
+ goto IsOther;
+IsOther:
+ mes "[Bashu]";
+ mes "Welcome to ^00FF00St. Capitolina Abbey^000000, the Monk Training Area.";
+ mes "May the light shine on your path.";
+ mes "You can find Monk Daowen who judge the grades of Monk training when you go inside";
+ next;
+ mes "[Bashu]";
+ mes "Never the less, don't touch anything inside and be quiet in front of Monk Daowen.";
+ next;
+ mes "[Bashu]";
+ mes "Then, may you have a happy conversation time with God.";
+ close;
+L_START:
+ mes "[Bashu]";
+ mes "Please select a test.";
+ next;
+ if(@Choice_mission == 0) goto L_MISSC;
+ if(@Choice_mission == 2) goto L_MISS2;
+ mes "[Bashu]";
+ mes "As I know, you choose the Mushroom Collecting as your test.";
+ goto L_MISSC;
+L_MISS2:
+ mes "[Bashu]";
+ mes "As I know, you choose the Marathon as your test.";
+L_MISSC:
+ mes "However, if you cannot complete it, you may switch to the other whenever you feel like it.";
+ next;
+ menu "Monk's patient - Mushroom Collecting",-,
+ "Monk's willpower - Marathon",L_MENU_1;
+
+ mes "[Bashu]";
+ mes "The test you choose is Monk's patient - Mushroom Collecting";
+ next;
+ warp "job_monk.gat",225,179;
+ end;
+
+L_MENU_1:
+ mes "[Bashu]";
+ mes "The test you choose is Monk's willpower - Marathon";
+ next;
+ warp "monk_test.gat",387,345;
+ end;
+}
+
+monk_test.gat,387,347,4 script Musha 110,{
+ mes "[Musha]";
+ mes "Wel...Welcome...!";
+ mes "This...This is the area testing the pa...patient of whom want to be a Monk.";
+ next;
+ mes "[Musha]";
+ mes "You should just...just run!";
+ mes "Before we told you to stop.";
+ mes "Run...Run! " + strcharinfo(0) + "! Run!";
+ next;
+ mes "[Musha]";
+ mes "Just Run!! Run Quickly!!";
+ next;
+ mes "[Musha]";
+ mes "One Day, I'll become a Monk!";
+ mes "I.....will......Become...a......MONK!!!";
+ next;
+ mes "[Musha]";
+ mes "Do...Do you...want to give......giveup? or...con...continue?";
+ mes "Giveup?";
+ next;
+ menu "I want to giveup!",-,"I want to run!!",L_MENU_1;
+
+ mapannounce "monk_test.gat","Musha: " + strcharinfo(0) + " has give...giveup the test...! Giveup the Marathon test... No...No patient.....HaHaHaHa!!!...",8;
+ mes "[Musha]";
+ mes strcharinfo(0) + "...give...giveup the test...";
+ mes "Giveup the Marathon test...";
+ mes "No...No patient.....HaHaHaHa!!!...";
+ next;
+ warp "prt_monk.gat",196,168;
+ end;
+L_MENU_1:
+ next;
+ mes "[Musha]";
+ mes "Before we give you an order to stop....";
+ mes "Run...Run! " + strcharinfo(0) + "! Run!";
+ //if(@runtimes == 0)
+ set @runtimes, rand(8,10);
+ set @run, 0;
+ close;
+}
+
+monk_test.gat,390,387,0 script monk_warp 45,1,1,{
+ set @run, @run + 1;
+ if(@run == (@runtimes-1)) mapannounce "monk_test.gat","Musha: cheer up! The next circle is the last!",8;
+ if(@run == @runtimes) goto L_DONE;
+ warp "monk_test.gat",388,348;
+ end;
+L_DONE:
+ mapannounce "monk_test.gat","Musha: Con....Congratulations!!" + strcharinfo(0)+ " Pass!! Please go to [Daowen], he is in the deep of the building.",8;
+ set MONK_Q, 8;
+ warp "prt_monk.gat",196,168;
+ end;
+}
+
+function script MnkTraps {
+ mapannounce "monk_test.gat","trap: " + strcharinfo(0)+ " , you fall into a trap! Now we warp you to the start place.",8;
+ warp "monk_test.gat",388,348;
+}
+//---------------------
+monk_test.gat,386,164,0 script monk1-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,386,165,0 script monk1-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,387,164,0 script monk1-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,387,165,0 script monk1-4 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,388,164,0 script monk1-5 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,388,165,0 script monk1-6 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,389,164,0 script monk1-7 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,389,165,0 script monk1-8 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,386,42,0 script monk2-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,386,43,0 script monk2-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,387,42,0 script monk2-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,387,43,0 script monk2-4 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,388,42,0 script monk2-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,388,43,0 script monk2-4 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,389,42,0 script monk2-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,389,43,0 script monk2-4 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,184,11,0 script monk3-1 139,0,3,{callfunc "MnkTraps";}
+monk_test.gat,185,11,0 script monk3-2 139,0,3,{callfunc "MnkTraps";}
+monk_test.gat,186,11,0 script monk3-3 139,0,3,{callfunc "MnkTraps";}
+monk_test.gat,187,11,0 script monk3-4 139,0,3,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,70,10,0 script monk4-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,70,11,0 script monk4-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,70,12,0 script monk4-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,70,13,0 script monk4-4 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,71,10,0 script monk4-5 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,71,11,0 script monk4-6 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,71,12,0 script monk4-7 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,71,13,0 script monk4-8 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,8,30,0 script monk5-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,8,31,0 script monk5-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,9,30,0 script monk5-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,9,31,0 script monk5-4 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,10,30,0 script monk5-5 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,10,31,0 script monk5-6 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,11,30,0 script monk5-7 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,11,31,0 script monk5-8 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,12,30,0 script monk5-9 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,12,31,0 script monk5-10 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,13,30,0 script monk5-11 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,13,31,0 script monk5-12 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,14,30,0 script monk5-13 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,14,31,0 script monk5-14 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,15,30,0 script monk5-15 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,15,31,0 script monk5-16 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,10,158,0 script monk6-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,10,159,0 script monk6-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,11,158,0 script monk6-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,11,159,0 script monk6-4 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,12,158,0 script monk6-5 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,12,159,0 script monk6-6 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,13,158,0 script monk6-7 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,13,159,0 script monk6-8 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,38,386,0 script monk7-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,38,387,0 script monk7-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,38,388,0 script monk7-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,38,389,0 script monk7-4 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,39,386,0 script monk7-5 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,39,387,0 script monk7-6 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,39,388,0 script monk7-7 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,39,389,0 script monk7-8 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,82,390,0 script monk8-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,82,391,0 script monk8-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,83,390,0 script monk8-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,83,391,0 script monk8-4 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+monk_test.gat,82,384,0 script monk8-1 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,82,385,0 script monk8-2 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,83,384,0 script monk8-3 139,0,0,{callfunc "MnkTraps";}
+monk_test.gat,83,385,0 script monk8-4 139,0,0,{callfunc "MnkTraps";}
+//---------------------
+
+prt_monk.gat,225,179,4 script XuanWu 89,{
+ mes "[XuanWu]";
+ mes "To see the growing of crop, I deeply appreciate from the grace of God.";
+ next;
+ mes "[XuanWu]";
+ mes "Never the less, see those crop grown by the strong Monks.";
+ mes "I think it's the most beautiful picture!";
+ next;
+ mes "[XuanWu]";
+ mes "Frankly speeking, grower is the greatest people in the world.";
+ mes "The Blue Potion you drink must be made of God's will and by the grower.";
+ next;
+ mes "[XuanWu]";
+ mes "We chould always be grateful.";
+ next;
+ mes "[XuanWu]";
+ mes "God give you everything, even the grower.";
+ next;
+ mes "[XuanWu]";
+ mes "The grower is the root of world. That's quite true.";
+ close;
+}
+job_monk.gat,225,179,4 script XuanWu 89,{
+
+ if(MONK_Q == 8 ) goto Part2;
+ if(@mission_start == 1 ) goto Part1;
+
+ mes "[XuanWu]";
+ mes "Welcome! I'm in charge here with the Mushroom Collecting.";
+ mes "My Name is XuanWu";
+ next;
+ mes "[XuanWu]";
+ mes "From now, you should take it for granted that all the suffering is training.";
+ mes "Understand?";
+ next;
+ mes "[XuanWu]";
+ mes "For Monks lives, we should always offer our efforts as a tribute";
+ mes "Grow crop is also a kind of training.";
+ next;
+ mes "[XuanWu]";
+ mes "We think it is the best way to realize the will of God.";
+ mes "Therefore, we had started growing some kind of mushrooms that smell foul";
+ next;
+ mes "[XuanWu]";
+ mes "All you have to do is destory those mushrooms and bring some thing to prove.";
+ mes "What's the thing I mean? The ^ff0000Orange GooeyMushroom and Orange Net Mushroom^000000";
+ next;
+ mes "[XuanWu]";
+ mes "If you want to increase your internal organs and become a Monk, go and destory it.";
+ mes "Bring as many as you can, I won't tell you the amount I need.";
+ mes "Now go!";
+ next;
+ mes "[XuanWu]";
+ mes "Or...You want to giveup?";
+ next;
+ menu "Start Mushroom Collecting",L_MENU_1,"I'll giveup",L_MENU_2;
+
+L_MENU_2:
+ mapannounce "monk_test.gat","XuanWu: ......Another one without willpower...",8;
+ mes "[XuanWu]";
+ mes "Another one without willpower...";
+ set @mission_start, 0;
+ getitem 1069, 1;//Items: Orange_Net_Mushroom,
+ delitem 1069, 1;//Items: Orange_Net_Mushroom,
+ next;
+ warp "prt_monk.gat",196,168;
+ end;
+L_MENU_1:
+ mes "[XuanWu]";
+ mes "Then what are you waitting for? Go Go Go !!";
+ set @mission_start, 1;
+ close;
+
+Part1:
+ if(countitem(1069) >= 30 && countitem(1070) >0 ) goto L_DONE;//Items: Orange_Net_Mushroom, Orange_Gooey_Mushroom_,
+ if(countitem(1070) >= 30 && countitem(1069) >0 ) goto L_DONE;//Items: Orange_Gooey_Mushroom_, Orange_Net_Mushroom,
+ mes "[XuanWu]";
+ mes "Hmmm... Is that all you can do? I don't think it's enough.";
+ next;
+ mes "[XuanWu]";
+ mes "Or...You want to giveup?";
+ next;
+ menu "Continue Mushroom Collecting",-,"I'll giveup",L_MENU_2;
+ close;
+L_DONE:
+ set MONK_Q, 8;
+ mes "[XuanWu]";
+ mes "Well... I think you can do it better...";
+ mes "However, I should say you pass the test.";
+ set @mission_start, 0;
+ delitem 1069, countitem(1069);//Items: Orange_Net_Mushroom,
+ delitem 1070, countitem(1070);//Items: Orange_Gooey_Mushroom_,
+ next;
+ mes "[XuanWu]";
+ mes "Now go to [Daowen], he is in the deep of the building.";
+ close;
+Part2:
+ mes "[XuanWu]";
+ mes "Are you testing my patient??";
+ mes "Now go to [Daowen], he is in the deep of the building.";
+ close;
+}
+job_monk.gat,191,172,4 script job_monk_warp 45,1,1,{
+ warp "monk_test.gat",329,57;
+ end;
+}
+
+job_monk.gat,199,169,4 script Guard ChaoLi 746,{
+ mes "[Guard ChaoLi]";
+ mes "Silence! In test area!";
+ close;
+}
+
+monk_test.gat,319,139,4 script Daowen 52,{
+ if(MONK_Q == 8) goto L_START;
+ if(MONK_Q == 9) goto Part1;
+ if(MONK_Q == 10) goto Part2;
+ goto IsOther;
+IsOther:
+ mes "[Daowen]";
+ mes "Go throught it quietly...";
+ mes "HuWuWuuuu......";
+ next;
+ mes "[Daowen]";
+ mes "This is St. Capitolina Abbey. If anything goes wrong, all we have done might become nothing.";
+ next;
+ mes "[Daowen]";
+ mes "Leave! If you don't want to die, don't bother me.";
+ close;
+L_START:
+ mes "[Daowen]";
+ mes "Oh! Finally!";
+ mes "This is the last test, and I am I'm in charge here";
+ mes "My name is 'Daowen'";
+ next;
+ mes "[Daowen]";
+ mes "Well... What should I say?";
+ mes "Who block the way? Fight him/her!";
+ next;
+ mes "[Daowen]";
+ mes "Fight! Slash! When you lost and some enemy block your way!";
+ mes "Tell them the will of God!";
+ next;
+ mes "[Daowen]";
+ mes "Don't compare with the weak priest!";
+ mes "We are always strong Monks";
+ next;
+ mes "[Daowen]";
+ mes "We are different from the weak priest that always run away!";
+ next;
+ mes "[Daowen]";
+ mes "Now! Grasp your fist! Go and fight!";
+ next;
+ mes "[Daowen]";
+ mes "Do your best!";
+ mes "HaHaHaHaHa.....!!";
+ next;
+ warp "monk_test",88,73;
+ end;
+
+Part1:
+ mes "[Daowen]";
+ mes "Well done!! HaHaHaHa....!!";
+ mes "I knew you can do it!";
+ mes "I'll give you a special potion that can increase your power";
+ next;
+ getitem 506, 1;//Items: Green_Potion,
+ mes "[Daowen]";
+ mes "Drink it, and your internal organs will increase enough to be a Monk.";
+ mes "Okay...Then, Go to Wuhai - the first one you meet here.";
+ set MONK_Q, 10;
+ close;
+Part2:
+ mes "[Daowen]";
+ mes "Go to Wuhai - the first one you meet here.";
+ close;
+}
+
+monk_test.gat,88,91,4 script Test Assistant 52,{
+ mes "[Test Assistant]";
+ mes "Are you ready for training of evil disperse?";
+ next;
+ mes "[Test Assistant]";
+ mes "The test area is a maze with walls invisable.";
+ mes "The exiting point is on the opposite side of the starting point.";
+ next;
+ mes "[Test Assistant]";
+ mes "Of course, there will be some monster spawn in the maze. You'll have to fight with them.";
+ mes "Good lucy! May God be with you.";
+ next;
+ if(getareausers("monk_test.gat",126,161,165,199) > 0) goto L_WAIT;
+ killmonster "monk_test.gat","monk_mob1";
+ enablenpc "monk_mob1_1";
+ enablenpc "monk_mob1_2";
+ enablenpc "monk_mob1_3";
+ enablenpc "monk_mob1_3";
+ warp "monk_test.gat",127,179;
+ end;
+L_WAIT:
+ mes "[Test Assistant]";
+ mes "There is someone taking the test. Please wait a minute.";
+ close;
+}
+monk_test.gat,129,180,4 script monk_mob1_1 139,0,19,{
+ monster "monk_test.gat",130,183,"--ja--",1015,1,"monk_mob1";
+ monster "monk_test.gat",130,177,"--ja--",1015,1,"monk_mob1";
+//~ disablenpc "monk_mob1_1";
+ end;
+}
+monk_test.gat,133,180,4 script monk_mob1_2 139,0,19,{
+ monster "monk_test.gat",134,183,"--ja--",1015,1,"monk_mob1";
+ monster "monk_test.gat",134,177,"--ja--",1015,1,"monk_mob1";
+//~ disablenpc "monk_mob1_2";
+ end;
+}
+monk_test.gat,145,180,4 script monk_mob1_3 139,0,19,{
+ monster "monk_test.gat",145,180,"--ja--",1041,1,"monk_mob1";
+//~ disablenpc "monk_mob1_3";
+ end;
+}
+monk_test.gat,155,180,4 script monk_mob1_4 139,0,19,{
+ monster "monk_test.gat",157,183,"--ja--",1015,1,"monk_mob1";
+ monster "monk_test.gat",157,177,"--ja--",1015,1,"monk_mob1";
+//~ disablenpc "monk_mob1_4";
+ end;
+}
+monk_test.gat,165,179,4 script monk_mob3_warp 45,1,1,{
+ set MONK_Q, 9;
+ mapannounce "monk_test.gat","Congratulations!!" + strcharinfo(0)+ " Pass!! Please go to [Daowen], he is in the deep of the building.",8;
+ killmonster "monk_test.gat","monk_mob1";
+ warp "monk_test.gat",317,142;
+ end;
+}
+
+monk_test.gat,1,1,1 script monk_mob1 -1,{
+ end;
+}
+
+monk_test.gat,95,85,4 script Test Assistant 79,{
+ mes "[Test Assistant]";
+ mes "Are you ready for training of evil disperse?";
+ next;
+ mes "[Test Assistant]";
+ mes "The test area is a maze with walls invisable.";
+ mes "The exiting point is on the opposite side of the starting point.";
+ next;
+ mes "[Test Assistant]";
+ mes "Of course, there will be some monster spawn in the maze. You'll have to fight with them.";
+ mes "Good lucy! May God be with you.";
+ next;
+ if(getareausers("monk_test.gat",126,262,165,300) > 0) goto L_WAIT;
+ killmonster "monk_test.gat","monk_mob2";
+ enablenpc "monk_mob2_1";
+ enablenpc "monk_mob2_2";
+ enablenpc "monk_mob2_3";
+ enablenpc "monk_mob2_4";
+ warp "monk_test.gat",127,278;
+ end;
+
+L_WAIT:
+ mes "[Test Assistant]";
+ mes "There is someone taking the test. Please wait a minute.";
+ close;
+
+}
+monk_test.gat,129,281,4 script monk_mob2_1 139,0,19,{
+ monster "monk_test.gat",130,278,"--ja--",1015,1,"monk_mob2";
+ monster "monk_test.gat",130,284,"--ja--",1015,1,"monk_mob2";
+//~ disablenpc "monk_mob2_1";
+ end;
+}
+monk_test.gat,136,281,4 script monk_mob2_2 139,0,19,{
+ monster "monk_test.gat",139,278,"--ja--",1015,1,"monk_mob2";
+ monster "monk_test.gat",139,284,"--ja--",1015,1,"monk_mob2";
+//~ disablenpc "monk_mob2_2";
+ end;
+}
+monk_test.gat,144,281,4 script monk_mob2_3 139,0,19,{
+ monster "monk_test.gat",145,281,"--ja--",1041,1,"monk_mob2";
+//~ disablenpc "monk_mob2_3";
+ end;
+}
+monk_test.gat,153,281,4 script monk_mob2_4 139,0,19,{
+ monster "monk_test.gat",155,278,"--ja--",1015,1,"monk_mob2";
+ monster "monk_test.gat",155,284,"--ja--",1015,1,"monk_mob2";
+//~ disablenpc "monk_mob2_4";
+ end;
+}
+monk_test.gat,165,278,4 script monk_mob2_warp 45,1,1,{
+ set MONK_Q, 9;
+ mapannounce "monk_test.gat","Congratulations!!" + strcharinfo(0)+ " Pass!! Please go to [Daowen], he is in the deep of the building.",8;
+ killmonster "monk_test.gat","monk_mob2";
+ warp "monk_test.gat",317,142;
+ end;
+}
+
+monk_test.gat,1,1,1 script monk_mob2 -1,{
+ end;
+}
+
+monk_test.gat,82,85,4 script Test Assistant 95,{
+ mes "[Test Assistant]";
+ mes "Are you ready for training of evil disperse?";
+ next;
+ mes "[Test Assistant]";
+ mes "The test area is a maze with walls invisable.";
+ mes "The exiting point is on the opposite side of the starting point.";
+ next;
+ mes "[Test Assistant]";
+ mes "Of course, there will be some monster spawn in the maze. You'll have to fight with them.";
+ mes "Good lucy! May God be with you.";
+ next;
+ if(getareausers("monk_test.gat",233,262,269,300) > 0) goto L_WAIT;
+ killmonster "monk_test.gat","monk_mob3";
+ enablenpc "monk_mob3_1";
+ enablenpc "monk_mob3_2";
+ enablenpc "monk_mob3_3";
+ enablenpc "monk_mob3_4";
+ warp "monk_test.gat",231,279;
+ end;
+
+L_WAIT:
+ mes "[Test Assistant]";
+ mes "There is someone taking the test. Please wait a minute.";
+ close;
+}
+
+monk_test.gat,234,281,4 script monk_mob3_1 139,0,19,{
+ monster "monk_test.gat",235,277,"--ja--",1015,1,"monk_mob3";
+ monster "monk_test.gat",235,284,"--ja--",1015,1,"monk_mob3";
+//~ disablenpc "monk_mob3_1";
+ end;
+}
+monk_test.gat,239,281,4 script monk_mob3_2 139,0,19,{
+ monster "monk_test.gat",240,277,"--ja--",1015,1,"monk_mob3";
+ monster "monk_test.gat",240,284,"--ja--",1015,1,"monk_mob3";
+//~ disablenpc "monk_mob3_2";
+ end;
+}
+monk_test.gat,248,281,4 script monk_mob3_3 139,0,19,{
+ monster "monk_test.gat",249,281,"--ja--",1041,1,"monk_mob3";
+//~ disablenpc "monk_mob3_3";
+ end;
+}
+monk_test.gat,260,281,4 script monk_mob3_4 139,0,19,{
+ monster "monk_test.gat",261,277,"--ja--",1015,1,"monk_mob3";
+ monster "monk_test.gat",261,284,"--ja--",1015,1,"monk_mob3";
+//~ disablenpc "monk_mob3_4";
+ end;
+}
+monk_test.gat,269,279,4 script monk_mob3_warp 45,1,1,{
+ set MONK_Q, 9;
+ mapannounce "monk_test.gat","Congratulations!!" + strcharinfo(0)+ " Pass!! Please go to [Daowen], he is in the deep of the building.",8;
+ killmonster "monk_test.gat","monk_mob3";
+ warp "monk_test.gat",317,142;
+ end;
+}
+
+//monk_test.gat,1,1,1 script monk_mob3 -1,{
+// end;
+//}
+
+
+
+//==============================================================================
+// Monsters of Mushroom Collecting
+//==============================================================================
+job_monk.gat,0,0,0,0 monster Thief Mushroom 1182,170,0,0,0
+job_monk.gat,0,0,0,0 monster Thief Bug Larva 1051,120,0,0,0
+
+//==============================================================================
+// warps
+//==============================================================================
+prt_monk.gat,192,172,0 warp monk15 1,1,monk_test.gat,329,50
+monk_test.gat,329,47,0 warp monk16 1,1,prt_monk.gat,193,166
+monk_test.gat,329,76,0 warp monk17 1,1,monk_test.gat,259,118
+monk_test.gat,259,115,0 warp monk18 1,1,monk_test.gat,329,71
+monk_test.gat,272,125,0 warp monk19 1,1,monk_test.gat,301,127
+monk_test.gat,298,127,0 warp monk20 1,1,monk_test.gat,268,125
+
+//==============================================================================
+// mapflag
+//==============================================================================
+monk_test.gat mapflag nomemo dummy
+monk_test.gat mapflag noteleport dummy
+monk_test.gat mapflag nosave SavePoint
+monk_test.gat mapflag nopenalty dummy
+monk_test.gat mapflag nobranch dummy
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index 7c7dd099e..e93ccb048 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -596,8 +596,7 @@ L_Done:
//===========================================================
//------------------------------------------------------------------------------
-in_rogue.gat,272,136,3 script Hermanthorn Jr. 85,
-{
+in_rogue.gat,272,136,3 script Hermanthorn Jr. 85,{
mes "[Hermanthorn Jr.]";
mes "Huh? Wha.... who are you?! You're not from the Rogue guild!! Get out of here!";
emotion 1;
@@ -739,18 +738,15 @@ sF_Password:
// Guildsman
//===============================================
//---------------------------------------------------------------------------
-in_rogue.gat,244,39,4 script Aragham Junior 99,
-{
+in_rogue.gat,244,39,4 script Aragham Junior 99,{
callfunc "F_RogueTest4", "Aragham Junior", 245, 27;
}
//---------------------------------------------------------------------------
-in_rogue.gat,152,27,6 script Hollgrehen Junior 85,
-{
+in_rogue.gat,152,27,6 script Hollgrehen Junior 85,{
callfunc "F_RogueTest4", "Hollgrehen Junior", 160, 32;
}
//---------------------------------------------------------------------------
-in_rogue.gat,183,105,4 script Antonio Junior 88,
-{
+in_rogue.gat,183,105,4 script Antonio Junior 88,{
callfunc "F_RogueTest4", "Antonio Junior", 175, 107;
}
@@ -814,8 +810,7 @@ L_Restart:
//================================================
// Monster Spawns
//================================================
-in_rogue.gat,15,185,0 script rogue_mob1 139,8,0,
-{
+in_rogue.gat,15,185,0 script rogue_mob1 139,8,0,{
monster "in_rogue.gat",14,188,"Zombie",1015,1;
monster "in_rogue.gat",15,188,"Zombie",1015,1;
monster "in_rogue.gat",16,188,"Zombie",1015,1;
@@ -824,8 +819,7 @@ in_rogue.gat,15,185,0 script rogue_mob1 139,8,0,
monster "in_rogue.gat",16,189,"Zombie",1015,1;
end;
}
-in_rogue.gat,15,245,0 script rogue_mob2 139,8,0,
-{
+in_rogue.gat,15,245,0 script rogue_mob2 139,8,0,{
monster "in_rogue.gat",14,247,"Mummy",1041,1;
monster "in_rogue.gat",15,247,"Mummy",1041,1;
monster "in_rogue.gat",16,247,"Mummy",1041,1;
@@ -834,8 +828,7 @@ in_rogue.gat,15,245,0 script rogue_mob2 139,8,0,
monster "in_rogue.gat",16,248,"Mummy",1041,1;
end;
}
-in_rogue.gat,15,328,0 script rogue_mob3 139,8,0,
-{
+in_rogue.gat,15,328,0 script rogue_mob3 139,8,0,{
monster "in_rogue.gat",14,331,"Zombie",1015,1;
monster "in_rogue.gat",15,331,"Zombie",1015,1;
monster "in_rogue.gat",16,331,"Zombie",1015,1;
@@ -844,65 +837,55 @@ in_rogue.gat,15,328,0 script rogue_mob3 139,8,0,
monster "in_rogue.gat",16,332,"Zombie",1015,1;
end;
}
-in_rogue.gat,35,342,0 script rogue_mob4 139,0,8,
-{
+in_rogue.gat,35,342,0 script rogue_mob4 139,0,8,{
monster "in_rogue.gat",38,340,"Mummy",1041,1;
monster "in_rogue.gat",37,342,"Abyss Knight",1219,1;
monster "in_rogue.gat",39,342,"Ghoul",1036,1;
monster "in_rogue.gat",38,344,"Mummy",1041,1;
end;
}
-in_rogue.gat,57,306,0 script rogue_mob5 139,4,0,
-{
+in_rogue.gat,57,306,0 script rogue_mob5 139,4,0,{
monster "in_rogue.gat",59,301,"Khalitzburg",1132,1;
end;
}
-in_rogue.gat,96,333,0 script rogue_mob6 139,0,4,
-{
+in_rogue.gat,96,333,0 script rogue_mob6 139,0,4,{
monster "in_rogue.gat",92,325,"Khalitzburg",1132,1;
end;
}
-in_rogue.gat,139,313,0 script rogue_mob7 139,4,0,
-{
+in_rogue.gat,139,313,0 script rogue_mob7 139,4,0,{
monster "in_rogue.gat",139,309,"Abyss Knight",1219,1;
end;
}
-in_rogue.gat,135,246,0 script rogue_mob8 139,0,4,
-{
+in_rogue.gat,135,246,0 script rogue_mob8 139,0,4,{
monster "in_rogue.gat",139,245,"Zombie",1015,2;
monster "in_rogue.gat",139,246,"Zombie",1015,2;
monster "in_rogue.gat",139,247,"Zombie",1015,2;
end;
}
-in_rogue.gat,62,302,0 script rogue_mob9 139,0,4,
-{
+in_rogue.gat,62,302,0 script rogue_mob9 139,0,4,{
monster "in_rogue.gat",57,305,"Khalitzburg",1132,1;
end;
}
-in_rogue.gat,199,218,0 script rogue_mob10 139,0,8,
-{
+in_rogue.gat,199,218,0 script rogue_mob10 139,0,8,{
monster "in_rogue.gat",157,218,"Zombie",1015,10;
monster "in_rogue.gat",157,218,"Abyss Knight",1219,1;
monster "in_rogue.gat",157,218,"Ghoul",1036,1;
monster "in_rogue.gat",157,218,"Archer Skeleton",1016,1;
end;
}
-in_rogue.gat,86,187,0 script rogue_mob11 139,0,8,
-{
+in_rogue.gat,86,187,0 script rogue_mob11 139,0,8,{
monster "in_rogue.gat",88,186,"Mummy",1041,1;
monster "in_rogue.gat",88,187,"Mummy",1041,1;
monster "in_rogue.gat",88,188,"Mummy",1041,1;
end;
}
-in_rogue.gat,225,187,0 script rogue_mob12 139,0,8,
-{
+in_rogue.gat,225,187,0 script rogue_mob12 139,0,8,{
monster "in_rogue.gat",232,191,"Abyss Knight",1219,1;
monster "in_rogue.gat",233,190,"Abyss Knight",1219,1;
monster "in_rogue.gat",234,189,"Abyss Knight",1219,1;
end;
}
-in_rogue.gat,252,320,0 script rogue_mob13 139,0,8,
-{
+in_rogue.gat,252,320,0 script rogue_mob13 139,0,8,{
monster "in_rogue.gat",252,319,"Mummy",1041,1;
monster "in_rogue.gat",252,321,"Mummy",1041,1;
monster "in_rogue.gat",252,319,"Ghoul",1036,1;
@@ -915,8 +898,7 @@ in_rogue.gat,252,320,0 script rogue_mob13 139,0,8,
//================================================
// End Warp
//================================================
-in_rogue.gat,370,320,0 script rogue04 45,1,1,
-{
+in_rogue.gat,370,320,0 script rogue04 45,1,1,{
set ROGUE_Q, 5;
killmonsterall "in_rogue.gat";
warp "in_rogue.gat",378,113;
@@ -926,8 +908,7 @@ in_rogue.gat,370,320,0 script rogue04 45,1,1,
//================================================
// Timer: Keeps monsters from overspawning
//================================================
-- script RogueTest3 -1,
-{
+- script RogueTest3 -1,{
end;
OnMinute10:
diff --git a/npc/jobs/custom/jobchange.txt b/npc/jobs/custom/jobchange.txt
index 296c367cc..79e4de332 100644
--- a/npc/jobs/custom/jobchange.txt
+++ b/npc/jobs/custom/jobchange.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= eAthena Scripting Team
//===== Current Version: =====================================
-//= 2.0
+//= 2.1
//===== Compatible With: =====================================
//= Athena Version RC1+
//===== Description: =========================================
@@ -12,24 +12,27 @@
//===== Additional Comments: =================================
//Added missing param into resetlevel [Lupus]
//Remade Adv. Classes Menu. [shadowlady]
+//Fixed some bugs, by midas
//============================================================
prontera.gat,160,186,6 script Jobchanger 94,{
+cutin "kafra_01",2;
mes "[ ^0065DFJobra^000000 ]";
-mes "Sup? I'm the insanely cool and supra-l337 jobchanger thingy for Athena! First of all, what class would you like to change into (must meet preliminary requirements for each class..)";
+mes "Sup? I'm the insanely cool and uber cute jobchanger thingy for eAthena! First of all, what class would you like to change into (must meet preliminary requirements for each class..)?";
next;
-menu "First Class",LFirstClass,"Second Class (2-1)",LSecondClass,"Alternate Second Class (2-2)",LSecondClass2,"Novice High",LNovice2,"Advance First Class",Ladvclasses,"Advance Second Class",Ladvclasses,"Super Novice",LSuperNovice;
+menu "First Class",LFirstClass,"Second Class (2-1)",LSecondClass,"Alternate Second Class (2-2)",LSecondClass2,"Novice High",LNovice2,"Advance First Class",Llevelcheck,"Advance Second Class",Llevelcheck,"Super Novice",LSuperNovice;
LNovice2:
- if ((readparam(11) >= 99) && (readparam(55) >= 50) || (readparam(19) > 20)) goto Lchange;
+ if ((readparam(11) >= 99) && (readparam(55) >= 50) || ((readparam(19) > 20) && (readparam(19) != 23))) goto Lchange;
mes "[ ^0065DFJobra^000000 ]";
mes "Ummmm, excuse me... o.O...";
- mes "You don't MEET the class requirements...";
- mes "Hey! You're not ready! Get away, punk! *rolls eyes*";
- mes "Only 2nd Classes and Alternate 2nd Classes can change into the Novice High... jeeze.";
+ mes "Hey! You don't MEET the class requirements...";
+ mes "You're not ready! Get away, punk! *rolls eyes*";
+ mes "Only the bravest and highest level 2nd Classes and Alternate 2nd Classes can change into the Novice High... jeeze.";
cutin "kafra_01",255;
close;
Lchange:
+ if ((readparam(19) >= 46) && (readparam(19) <= 68)) goto Babynochange;
mes "[ ^0065DFJobra^000000 ]";
mes "We shall start the ceremony....";
next;
@@ -42,6 +45,12 @@ Lchange:
cutin "kafra_01",255;
close;
+Babynochange:
+ mes "[ ^0065DFJobra^000000 ]";
+ mes "Sorry little one, baby classes can't change to Novice High. They would loose their cuteness and their parents won't allow it.";
+ cutin "kafra_01",255;
+ close;
+
Llevelcheck:
if(readparam(55) >= 45 || readparam(19) == 4001 && readparam(55) >= 10) goto Ladvclasses;
mes "[ ^0065DFJobra^000000 ]";
@@ -50,8 +59,9 @@ Llevelcheck:
close;
Ladvclasses:
+ if(SkillPoint != 0) goto Lskillpt;
//Lord Knight & Paladin
- if(oldclass == 7 && readparam(19) == 4001 || oldclass == 14 && readparam(19) == 4001) goto Lswordsmanhigh;
+ if(oldclass == 7 && readparam(19) == 4001 || oldclass == 13 && readparam(19) == 4001 || oldclass == 14 && readparam(19) == 4001 || oldclass == 21 && readparam(19) == 4001) goto Lswordsmanhigh;
if(readparam(19) == 4002 && oldclass == 7) goto Llordknight;
if(readparam(19) == 4002 && oldclass == 14) goto Lpaladin;
//Assassin Cross & Stalker
@@ -75,12 +85,83 @@ Ladvclasses:
if(oldclass == 9 && readparam(19) == 4001 || oldclass == 16 && readparam(19) == 4001) goto Lhighmage;
if(readparam(19) == 4003 && oldclass == 9) goto Lhighwizard;
if(readparam(19) == 4003 && oldclass == 16) goto Lprofessor;
+ if ( oldclass == 0 && readparam(19) >= 4001) goto Nooldclasset;
mes "[ ^0065DFJobra^000000 ]";
- mes "Please... Remove your cart, leave your falcon and get off your peco before.";
+ mes "Please... Remove your cart, leave your falcon and get off your peco before you change.";
mes "[" + readparam(19) + "] [" + oldclass + "]";
cutin "kafra_01",255;
close;
//Lord Knight & Paladin
+ Nooldclasset:
+ mes "[ ^0065DFJobra^000000 ]";
+ mes "Say, what were you before you were reborn?";
+ if (readparam(19) == 4001) goto Ishnov;
+ if (readparam(19) == 4002) goto Ishsword;
+ if (readparam(19) == 4003) goto Ishmage;
+ if (readparam(19) == 4004 && Sex == 0) goto Isharcherf;
+ if (readparam(19) == 4004 && Sex == 1) goto Isharcherm;
+ if (readparam(19) == 4005) goto Ishacco;
+ if (readparam(19) == 4006) goto Ishmerch;
+ if (readparam(19) == 4002) goto Ishthief;
+
+ Ishnov:
+ menu "Knight",Wasknight,"Priest",Waspriest,"Wizard",Waswizard,"Blacksmith",Wasblacksmith,"Hunter",Washunter,"Assasin",Wasassa,"Crusader",Wascrusader,"Monk",Wasmonk,"Sage",Wassage,"Rogue",Wasrogue,"Alchemist",Wasalche,"Bard",Wasbard,"Dancer",Wasdancer;
+ Ishsword:
+ menu "Knight",Wasknight,"Crusader",Wascrusader;
+ Ishmage:
+ menu "Wizard",Waswizard,"Sage",Wassage;
+ Isharcherf:
+ menu "Hunter",Washunter,"Dancer",Wasdancer;
+ Isharcherm:
+ menu "Hunter",Washunter,"Bard",Wasbard;
+ Ishacco:
+ menu "Priest",Waspriest,"Monk",Wasmonk;
+ Ishmerch:
+ menu "Blacksmith",Wasblacksmith,"Alchemist",Wasalche;
+ Ishthief:
+ menu "Assasin",Wasassa,"Rogue",Wasrogue;
+// now finally the setting of oldclass
+ Wasknight:
+ set oldclass,7;
+ goto Ladvclasses;
+ Waspriest:
+ set oldclass,8;
+ goto Ladvclasses;
+ Waswizard:
+ set oldclass,9;
+ goto Ladvclasses;
+ Wasblacksmith:
+ set oldclass,10;
+ goto Ladvclasses;
+ Washunter:
+ set oldclass,11;
+ goto Ladvclasses;
+ Wasassa:
+ set oldclass,12;
+ goto Ladvclasses;
+ Wascrusader:
+ set oldclass,14;
+ goto Ladvclasses;
+ Wasmonk:
+ set oldclass,15;
+ goto Ladvclasses;
+ Wassage:
+ set oldclass,16;
+ goto Ladvclasses;
+ Wasrogue:
+ set oldclass,17;
+ goto Ladvclasses;
+ Wasalche:
+ set oldclass,18;
+ goto Ladvclasses;
+ Wasbard:
+ set oldclass,19;
+ goto Ladvclasses;
+ Wasdancer:
+ set oldclass,20;
+ goto Ladvclasses;
+
+//Lord Knight & Paladin
Lswordsmanhigh:
mes "[ ^0065DFJobra^000000 ]";
mes "Wow, fantastic! Doesn't all that hard work feel like its paid off? *kekeke* I see the ^B70004BLOOD of Porings^000000 on your hands! You truly are fit for the ^0005CESwordsman^000000 job! ^_^";
@@ -103,7 +184,7 @@ Llordknight:
Lpaladin:
mes "[ ^0065DFJobra^000000 ]";
- mes "Mmmmm, I always liked Paladins.. their Broad Shoulders always turned me on....";
+ mes "Mmmmm, I always liked Paladins.. their broad shoulders always turned me on....";
next;
mes "[ ^0065DFJobra^000000 ]";
mes "Go Forth On Your Mission To Serve God";
@@ -224,12 +305,12 @@ Lwhitesmith:
close;
Lcreator:
mes "[ ^0065DFJobra^000000 ]";
- mes "Create potions for the swordmen of Rune-Midgart";
+ mes "Create potions for the brave heros of Rune-Midgart";
cutin "kafra_01",255;
jobchange 42;
close;
//High Wizard & Professor
-Lmagehigh:
+Lhighmage:
mes "[ ^0065DFJobra^000000 ]";
mes "Nice, now you can finally wield the power of ^2200DFM^7600F9A^AF00FBN^DA00DFA^000000, your spiritual energy!!!";
cutin "kafra_01",255;
@@ -262,27 +343,32 @@ LFirstClass:
menu "Swordsman",LSword,"Mage",LMage,"Thief",LThief,"Merchant",LMerc,"Acolyte",LAco,"Archer",LArch,"Cancel",LCancel;
Lnovice:
+ cutin "kafra_01",255;
mes "[ ^0065DFJobra^000000 ]";
mes "Ummmm, excuse me... o.O...";
mes "You don't LOOK like a novice...";
- mes "Hey! You're no novice! Get away, punk! *rolls eyes*";
+ mes "Hey! You're no novice! Get away, punk!";
+ mes "*rolls eyes*";
mes "Only NOVICES can change into the First Job... jeeze.";
cutin "kafra_01",255;
close;
Lskillpt:
+ cutin "kafra_01",255;
mes "[ ^0065DFJobra^000000 ]";
mes "Please use up all your skill points before changing into the next job! ";
cutin "kafra_01",255;
close;
Ljobten:
+ cutin "kafra_01",255;
mes "[ ^0065DFJobra^000000 ]";
mes "Ugh, you need to have at least a Job Level of 10 before changing into the first class... go kill some porings or something.. >.>'";
cutin "kafra_01",255;
close;
LSword:
+ cutin "kafra_01",255;
mes "[ ^0065DFJobra^000000 ]";
mes "Wow, fantastic! Doesn't all that hard work feel like its paid off? *kekeke* I see the ^B70004BLOOD of Porings^000000 on your hands! You truly are fit for the ^0005CESwordsman^000000 job! ^_^";
cutin "kafra_01",255;
@@ -354,8 +440,8 @@ LSecondClass:
mes "[ ^0065DFJobra^000000 ]";
mes "Yes! You are ready to become... a Knight! ";
mes "Go save a Damsel in Distress or something..";
- cutin "kafra_01",255;
jobchange 7;// Job: Job_Knight
+ cutin "kafra_01",255;
close;
@@ -492,8 +578,8 @@ LSecondClass2:
close;
LBardDancer:
- if(sex==0) goto LBard;
- if(sex==1) goto LDancer;
+ if(sex==0) goto LDancer;
+ if(sex==1) goto LBard;
LBard:
if(class !=3) goto LNotArch3;
diff --git a/npc/jobs/novice/novice.txt b/npc/jobs/novice/novice.txt
index cd9c6235c..c2d8710c1 100644
--- a/npc/jobs/novice/novice.txt
+++ b/npc/jobs/novice/novice.txt
@@ -294,8 +294,8 @@ new_1-2.gat,81,110,4 script Newbie Instructor 84,{
mes "[Newbie Instructor]";
mes "Right-clicking on a character leads you to see individual menu including Trade command.";
mes "When left-clicking on Trade menu, ^FF0000'Trade window'^000000 pops up. That's the way you can exchange ^FF0000items or zeny, Ragnarok currency^000000 with another character.";
- mes "There are 2 different buttons on the bottom of trade window, one is ´OK´ the other is ´Cancel´.";
- mes "Press ´OK´ if you are ready or ´Cancel´ if you want to cancel the deal.";
+ mes "There are 2 different buttons on the bottom of trade window, one is OK, the other is Cancel.";
+ mes "Press OK if you are ready or Cancel if you want to cancel the deal.";
next;
mes "[Newbie Instructor]";
mes "Let's check the ^FF0000'Chat Window'^000000 on the bottom of game screen, which allows you to chat with others. It is devided into 2 parts, you can enter a ^FF0000character name you want to whisper^000000 at the left part.";
@@ -305,7 +305,7 @@ new_1-2.gat,81,110,4 script Newbie Instructor 84,{
next;
mes "[Newbie Instructor]";
mes "The following text tells you more about the 'Character View'.";
- mes "When you drag mouse from right to left with the right mouse button held down, the character view rotates (360°).";
+ mes "When you drag mouse from right to left with the right mouse button held down, the character view rotates (360?.";
mes "Holding down the 'Ctrl' key and the right mouse button while dragging the mouse up and down, makes the view ^FF0000Zooming in and out toward the character^000000.";
mes "Holding down the 'Shift' key and the right mouse button while dragging the mouse up and down, controls the angle of the view ^FF0000for fixed range^000000.";
next;
@@ -1257,18 +1257,18 @@ new_1-4.gat,100,29,4 script Helper 54,{
mes "Bye!";
next;
if (@TEMP != 0) goto L0a;
- warp "new_1-4.gat",94,56;
+ warp "new_1-4.gat",94,63;
close;
L0a:
if (@TEMP != 1) goto L0b;
- warp "new_1-4.gat",98,56;
+ warp "new_1-4.gat",99,63;
close;
L0b:
if (@TEMP != 2) goto L0c;
- warp "new_1-4.gat",102,56;
+ warp "new_1-4.gat",100,58;
close;
L0c:
- warp "new_1-4.gat",106,56;
+ warp "new_1-4.gat",98,62;
close;
L1: