summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 02:06:46 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:50 +0100
commitbf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch)
tree0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/jobs/2-2
parent6b20c5b6988c889df35b890d93c338f8b87fa430 (diff)
downloadhercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.gz
hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.bz2
hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.xz
hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.zip
Replaced 'set' with direct assignment where applicable (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/jobs/2-2')
-rw-r--r--npc/jobs/2-2/alchemist.txt156
-rw-r--r--npc/jobs/2-2/bard.txt78
-rw-r--r--npc/jobs/2-2/crusader.txt122
-rw-r--r--npc/jobs/2-2/dancer.txt102
-rw-r--r--npc/jobs/2-2/monk.txt144
-rw-r--r--npc/jobs/2-2/rogue.txt128
-rw-r--r--npc/jobs/2-2/sage.txt278
7 files changed, 504 insertions, 504 deletions
diff --git a/npc/jobs/2-2/alchemist.txt b/npc/jobs/2-2/alchemist.txt
index b30defc48..04a32e0cf 100644
--- a/npc/jobs/2-2/alchemist.txt
+++ b/npc/jobs/2-2/alchemist.txt
@@ -183,17 +183,17 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 4_F_ALCHE,{
mes "needs to bring...";
switch(rand(1,3)) {
case 1:
- set ALCH_Q,1;
+ ALCH_Q = 1;
setquest 2028;
mes "^551A8B7 Berserk Potions^000000.";
break;
case 2:
- set ALCH_Q,2;
+ ALCH_Q = 2;
setquest 2029;
mes "^551A8B100 Mini Furnaces^000000.";
break;
case 3:
- set ALCH_Q,3;
+ ALCH_Q = 3;
setquest 2030;
mes "^551A8B7,500 Fire Arrows^000000.";
}
@@ -233,7 +233,7 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 4_F_ALCHE,{
mes "[Parmy Gianino]";
mes "Okay, now you need to learn";
mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines.";
- set ALCH_Q,4;
+ ALCH_Q = 4;
if (questprogress(2028)) {
changequest 2028,2031;
}
@@ -266,7 +266,7 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 4_F_ALCHE,{
mes "[Parmy Gianino]";
mes "Okay, now you need to learn";
mes "the basics to being an Alchemist and learn the procedures for mixing chemicals and medicines.";
- set ALCH_Q,4;
+ ALCH_Q = 4;
if (questprogress(2028)) {
changequest 2028,2031;
}
@@ -465,7 +465,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "Now go to Darwin!";
mes "He'll teach you how to do the experiments. Just tell him that";
mes "I sent you.";
- set ALCH_Q,6;
+ ALCH_Q = 6;
changequest 2031,2032;
close;
}
@@ -515,32 +515,32 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "12 + 23 + 34 + 45 = ?";
next;
input .@input;
- if (.@input != 114) set .@w_point,.@w_point+1;
+ if (.@input != 114) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "1000 - 36 - 227 - 348 = ?";
next;
input .@input;
- if (.@input != 389) set .@w_point,.@w_point+1;
+ if (.@input != 389) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "14 * 17 * 3 = ?";
next;
input .@input;
- if (.@input != 714) set .@w_point,.@w_point+1;
+ if (.@input != 714) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "9765 / 3 / 5 / 7 = ?";
next;
input .@input;
- if (.@input != 93) set .@w_point,.@w_point+1;
+ if (.@input != 93) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "(47 * 28) - (1376 / 4) = ?";
next;
input .@input;
- if (.@input != 972) set .@w_point,.@w_point+1;
+ if (.@input != 972) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "(2646 / 7) + (13 * 28) = ?";
next;
input .@input;
- if (.@input != 742) set .@w_point,.@w_point+1;
+ if (.@input != 742) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "How much do";
mes "12 Red Potions,";
@@ -549,7 +549,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "after a 24 % discount?";
next;
input .@input;
- if (.@input != 909) set .@w_point,.@w_point+1;
+ if (.@input != 909) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total weight of";
@@ -557,7 +557,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "and 1 Long Coat?";
next;
input .@input;
- if (.@input != 450) set .@w_point,.@w_point+1;
+ if (.@input != 450) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total defense of";
@@ -567,7 +567,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "Ear Muffs?";
next;
input .@input;
- if (.@input != 20) set .@w_point,.@w_point+1;
+ if (.@input != 20) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "If you buy 5 Helms";
mes "with a 24 % discount";
@@ -576,44 +576,44 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "do you earn?";
next;
input .@input;
- if (.@input != 8800) set .@w_point,.@w_point+1;
+ if (.@input != 8800) .@w_point += 1;
break;
case 2:
mes "[Raspuchin Gregory]";
mes "13 + 25 + 37 + 48 = ?";
next;
input .@input;
- if (.@input != 123) set .@w_point,.@w_point+1;
+ if (.@input != 123) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "1000 - 58 - 214 - 416 = ?";
next;
input .@input;
- if (.@input != 312) set .@w_point,.@w_point+1;
+ if (.@input != 312) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "12 * 24 * 3 = ?";
next;
input .@input;
- if (.@input != 864) set .@w_point,.@w_point+1;
+ if (.@input != 864) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "10530 / 3 / 5 / 2 = ?";
next;
input .@input;
- if (.@input != 351) set .@w_point,.@w_point+1;
+ if (.@input != 351) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "(35 * 19) - (1792 / 7) = ?";
next;
input .@input;
- if (.@input != 409) set .@w_point,.@w_point+1;
+ if (.@input != 409) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "(2368 / 8) + (24 * 17) = ?";
next;
input .@input;
- if (.@input != 704) set .@w_point,.@w_point+1;
+ if (.@input != 704) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "(2646 / 7) + (13 * 28) = ?";
next;
input .@input;
- if (.@input != 742) set .@w_point,.@w_point+1;
+ if (.@input != 742) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total price of";
@@ -623,7 +623,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "a 24 % discount?";
next;
input .@input;
- if (.@input != 934) set .@w_point,.@w_point+1;
+ if (.@input != 934) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total weight of";
@@ -631,7 +631,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "4 Caps, and 2 Boots?";
next;
input .@input;
- if (.@input != 550) set .@w_point,.@w_point+1;
+ if (.@input != 550) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total defense of";
@@ -641,7 +641,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "and Glasses?";
next;
input .@input;
- if (.@input != 16) set .@w_point,.@w_point+1;
+ if (.@input != 16) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "How much profit do you";
mes "make if you buy Tights";
@@ -650,39 +650,39 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "the normal price?";
next;
input .@input;
- if (.@input != 8520) set .@w_point,.@w_point+1;
+ if (.@input != 8520) .@w_point += 1;
break;
case 3:
mes "[Raspuchin Gregory]";
mes "12 + 23 + 34 + 45 = ?";
next;
input .@input;
- if (.@input != 114) set .@w_point,.@w_point+1;
+ if (.@input != 114) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "1000 - 58 - 214 - 416 = ?";
next;
input .@input;
- if (.@input != 312) set .@w_point,.@w_point+1;
+ if (.@input != 312) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "14 * 17 * 3 = ?";
next;
input .@input;
- if (.@input != 714) set .@w_point,.@w_point+1;
+ if (.@input != 714) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "10530 / 3 / 5 / 2 = ?";
next;
input .@input;
- if (.@input != 351) set .@w_point,.@w_point+1;
+ if (.@input != 351) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "(47 * 28) - (1376 / 4) = ?";
next;
input .@input;
- if (.@input != 972) set .@w_point,.@w_point+1;
+ if (.@input != 972) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "(2646 / 7) + (13 * 28) = ?";
next;
input .@input;
- if (.@input != 742) set .@w_point,.@w_point+1;
+ if (.@input != 742) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total cost of";
@@ -692,7 +692,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "after a 24 % discount?";
next;
input .@input;
- if (.@input != 798) set .@w_point,.@w_point+1;
+ if (.@input != 798) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total weight of";
@@ -700,14 +700,14 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "3 Caps, and 3 boots?";
next;
input .@input;
- if (.@input != 480) set .@w_point,.@w_point+1;
+ if (.@input != 480) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "What is the";
mes "total defense of";
mes "a Mirror Shield, Mr. Smile, Leather Jacket, Silk Robe, Wedding Veil, Muffler, and Eye Patch?";
next;
input .@input;
- if (.@input != 12) set .@w_point,.@w_point+1;
+ if (.@input != 12) .@w_point += 1;
mes "[Raspuchin Gregory]";
mes "If you buy 4 Padded Armors";
mes "at a 24% discount and sell";
@@ -716,7 +716,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "you make from this sale?";
next;
input .@input;
- if (.@input != 7680) set w_point,w_point+1;
+ if (.@input != 7680) .@w_point += 1;
}
if (.@w_point == 0) {
mes "[Raspuchin Gregory]";
@@ -741,7 +741,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
next;
}
else {
- set ALCH_Q,5;
+ ALCH_Q = 5;
mes "[Raspuchin Gregory]";
mes "Keheheh! Idiot!";
mes "Just listening to your";
@@ -773,7 +773,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 4_M_ALCHE_B,{
mes "Now go to Darwin!";
mes "He'll teach you how to do the experiments. Just tell him that";
mes "I sent you.";
- set ALCH_Q,6;
+ ALCH_Q = 6;
changequest 2031,2032;
close;
}
@@ -914,7 +914,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
mes "^551A8B1 Red Herb^000000,";
mes "^551A8B1 Yellow Herb^000000 and";
mes "^551A8B1 White Herb^000000.";
- set ALCH_Q,7;
+ ALCH_Q = 7;
changequest 2032,2033;
next;
mes "[Darwin]";
@@ -1091,7 +1091,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
mes "Go to the Union";
mes "and cast away the last";
mes "vestiges of Merchant life!!";
- set ALCH_Q,40;
+ ALCH_Q = 40;
changequest 2033,2034;
close;
}
@@ -1122,19 +1122,19 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
mes "Now, make some medicine";
mes "using the simple procedure";
mes "I just explained to you.";
- set w_point,0;
+ .@w_point = 0;
next;
switch(select("Prepare the Medicine Bowl.:Put the Medicine Bowl on your head.:Kick the Medicine Bowl.")) {
case 1:
break;
case 2:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "What...?";
next;
break;
case 3:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "No!";
next;
@@ -1142,7 +1142,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
}
switch(select("Put some dirt in the Medicine Bowl.:Put some Herbs in the Medicine Bowl.:Put a Harp in the Medicine Bowl.")) {
case 1:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "...Eh!?";
mes "That's not";
@@ -1152,7 +1152,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
case 2:
break;
case 3:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "A Harp?";
mes "And how would";
@@ -1164,14 +1164,14 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
case 1:
break;
case 2:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "Wh-What are";
mes "you doing!?";
next;
break;
case 3:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "Agh...!";
mes "What do you";
@@ -1182,14 +1182,14 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
}
switch(select("Spray clean water.:Drink clean water.:Pour clean water.")) {
case 1:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "Huh?";
mes "What are you doing?";
next;
break;
case 2:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "W-wait...";
mes "Are you";
@@ -1203,7 +1203,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
case 1:
break;
case 2:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "Eat the Herbs?";
mes "I think you need";
@@ -1212,7 +1212,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
next;
break;
case 3:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "Singing and";
mes "dancing? Alchemists";
@@ -1223,7 +1223,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
}
switch(select("Put noodles in and fry it.:Pour it in an empty bottle.:Hold the Medicine Bowl and drink it.")) {
case 1:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "We're Alchemists,";
mes "not restaurant chefs.";
@@ -1232,7 +1232,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
case 2:
break;
case 3:
- set .@w_point,.@w_point+1;
+ ++.@w_point;
mes "[Darwin]";
mes "Huh...";
mes "Pretty sloppy...";
@@ -1256,7 +1256,7 @@ alde_alche,13,15,7 script Studying Man#am 4_M_ALCHE_C,{
mes "[Darwin]";
mes "Good job.";
mes "It came out pretty well considering it's your first time. Go ahead and keep the medicines that you've just made.";
- set ALCH_Q,8;
+ ALCH_Q = 8;
changequest 2033,2035;
next;
mes "[Darwin]";
@@ -1433,7 +1433,7 @@ alde_alche,79,19,5 script Experiment Expert#am 4_M_ALCHE_A,{
mes "You don't need to bring anything. Just go watch him at work and have him tell you how he makes those solutions. Got it?";
next;
mes "[Van Helmont]";
- set ALCH_Q,9;
+ ALCH_Q = 9;
changequest 2035,2036;
mes "Well then, see you later.";
mes "You'd better get going as";
@@ -1503,13 +1503,13 @@ alde_alche,79,19,5 script Experiment Expert#am 4_M_ALCHE_A,{
mes "necessary to make";
mes "a Counteragent?";
next;
- if (select("Karvodailnirol:Detrimindexta:Alcohol") != 1) set .@w_point,.@w_point+1;
+ if (select("Karvodailnirol:Detrimindexta:Alcohol") != 1) .@w_point += 1;
mes "[Van Helmont]";
mes "What item is not";
mes "necessary to make";
mes "a Mixture?";
next;
- if (select("Karvodailnirol:Detrimindexta:Alcohol") != 2) set .@w_point,.@w_point+1;
+ if (select("Karvodailnirol:Detrimindexta:Alcohol") != 2) .@w_point += 1;
if (.@w_point > 0) {
mes "[Van Helmont]";
mes "Weren't you listening to Molgenstein at all? Maybe you";
@@ -1528,7 +1528,7 @@ alde_alche,79,19,5 script Experiment Expert#am 4_M_ALCHE_A,{
mes "Go out and find the room next";
mes "to this one and talk to Nicholas. He'll continue your training.";
next;
- set ALCH_Q,20;
+ ALCH_Q = 20;
changequest 2036,2037;
mes "[Van Helmont]";
mes "What are you";
@@ -1664,7 +1664,7 @@ alde_alche,101,184,4 script Master Alchemist#am 2_M_DYEINGER,{
}
else if (ALCH_Q == 40) {
if (JobLevel < 40) {
- set ALCH_Q,0;
+ ALCH_Q = 0;
mes "Hmm...you don't seem to be qualified yet.";
mes "Remember, you must reach at least job level 40 to become an Alchemist.";
close2;
@@ -1698,9 +1698,9 @@ alde_alche,101,184,4 script Master Alchemist#am 2_M_DYEINGER,{
mes "have learned all of";
mes "the basics of Alchemy.";
next;
- set ALCH_Q,0;
+ ALCH_Q = 0;
completequest 2040;
- set .@jlevel,JobLevel;
+ .@jlevel = JobLevel;
callfunc "Job_Change",Job_Alchemist;
callfunc "F_ClearJobVar";
mes "[Vincent Carsciallo]";
@@ -1813,51 +1813,51 @@ alde_alche,145,19,1 script Chief Researcher#am 1_M_LIBRARYMASTER,{
case 1:
mes "t m y a n y e o b n e g p r i";
next;
- if (select("Brake:Brass:Bug:Broken:Brigan?") == 5) set .@alch_t,.@alch_t+10;
+ if (select("Brake:Brass:Bug:Broken:Brigan?") == 5) .@alch_t += 10;
mes "o n c u t a p j l e r s v m u";
next;
- if (select("vendor:storage:weapon:simple:streetshop") == 1) set .@alch_t,.@alch_t+10;
+ if (select("vendor:storage:weapon:simple:streetshop") == 1) .@alch_t += 10;
mes "t v a r m e g p h e u b o y l";
next;
- if (select("molasses:party:leader:sweets:treacle") == 2) set .@alch_t,.@alch_t+10;
+ if (select("molasses:party:leader:sweets:treacle") == 2) .@alch_t += 10;
mes "q z a h n a i n b r d p t n c";
next;
- if (select("partisan:partizan:pato:paros:pack") == 2) set .@alch_t,.@alch_t+10;
+ if (select("partisan:partizan:pato:paros:pack") == 2) .@alch_t += 10;
break;
case 2:
mes "m p d i c f a r o g n k w a s";
next;
- if (select("packman:sunshine:ragnarok:wonderland:frost") == 1) set .@alch_t,.@alch_t+10;
+ if (select("packman:sunshine:ragnarok:wonderland:frost") == 1) .@alch_t += 10;
mes "g b n o p r e f a r e t a s k";
next;
- if (select("purple:smoker:ragnarok:bolt:burnt wood") == 3) set .@alch_t,.@alch_t+10;
+ if (select("purple:smoker:ragnarok:bolt:burnt wood") == 3) .@alch_t += 10;
mes "u g n i s j e k c e o g n d p";
next;
- if (select("scab:kinship:donate:source:opening") == 5) set .@alch_t,.@alch_t+10;
+ if (select("scab:kinship:donate:source:opening") == 5) .@alch_t += 10;
mes "r o e h n r o m c a i n p t t";
next;
- if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) set .@alch_t,.@alch_t+10;
+ if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) .@alch_t += 10;
break;
case 3:
mes "s m i e x b w u n e t a g l r";
next;
- if (select("tiger:wolf:pumpkin:tripped:tore") == 1) set .@alch_t,.@alch_t+10;
+ if (select("tiger:wolf:pumpkin:tripped:tore") == 1) .@alch_t += 10;
mes "n i e g b o p d s o a u w r v";
next;
- if (select("bash:provoke:endure:stun:abracadabra") == 3) set .@alch_t,.@alch_t+10;
+ if (select("bash:provoke:endure:stun:abracadabra") == 3) .@alch_t += 10;
mes "l r m g r e x t a v i n e d e";
next;
- if (select("alberta:latifoliate:crimson:maple:evergreen") == 5) set .@alch_t,.@alch_t+10;
+ if (select("alberta:latifoliate:crimson:maple:evergreen") == 5) .@alch_t += 10;
mes "r o e h n r o m c a i n p t t";
next;
- if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) set .@alch_t,.@alch_t+10;
+ if (select("forgemerchant:potionmerchant:dcmerchant:vendingmerchant:battlemerchant") == 2) .@alch_t += 10;
break;
}
mes "[Nicholas Flamel]";
mes "Ah, you finished.";
mes "Now, let's see...";
if (.@alch_t > 30) {
- set ALCH_Q,22;
+ ALCH_Q = 22;
mes "Excellent job!";
next;
mes "[Nicholas Flamel]";
@@ -1875,7 +1875,7 @@ alde_alche,145,19,1 script Chief Researcher#am 1_M_LIBRARYMASTER,{
close;
}
else {
- set ALCH_Q,21;
+ ALCH_Q = 21;
mes "^666666*Gasp!*^000000 H-horrible!";
next;
mes "[Nicholas Flamel]";
@@ -1913,7 +1913,7 @@ alde_alche,145,19,1 script Chief Researcher#am 1_M_LIBRARYMASTER,{
mes "Come back here to me after you";
mes "help them out. They'll need all of these items to continue their experiments.";
next;
- set ALCH_Q,23;
+ ALCH_Q = 23;
changequest 2037,2038;
mes "[Nicholas Flamel]";
mes "1 Mixture,";
@@ -1943,7 +1943,7 @@ alde_alche,145,19,1 script Chief Researcher#am 1_M_LIBRARYMASTER,{
close;
}
else if (ALCH_Q == 24) {
- set ALCH_Q,40;
+ ALCH_Q = 40;
changequest 2038,2039;
mes "[Nicholas Flamel]";
mes "Ah, you're back!";
diff --git a/npc/jobs/2-2/bard.txt b/npc/jobs/2-2/bard.txt
index 55b7401a1..a5a7878f8 100644
--- a/npc/jobs/2-2/bard.txt
+++ b/npc/jobs/2-2/bard.txt
@@ -151,7 +151,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
mes "[Lalo]";
mes "It would be nice if more people went around and sang...";
mes "Well, it's quite ok as it is now... hmmhmm.";
- set BARD_Q,1;
+ BARD_Q = 1;
setquest 3000;
close2;
cutin "job_bard_aiolo01",255;
@@ -208,7 +208,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
mes "[Lalo]";
mes "It doesn't really matter which Flower, but try to bring one that I like.";
mes "And don't just buy any random Flower, ok?";
- set BARD_Q,2;
+ BARD_Q = 2;
changequest 3000,3001;
close2;
cutin "job_bard_aiolo01",255;
@@ -411,9 +411,9 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
mes "There's a talking snowman in a town called Lutie.";
mes "Go there and bring back a present.";
next;
- set BARD_Q,3;
+ BARD_Q = 3;
changequest 3001,3002;
- set xmas_npc,1;
+ xmas_npc = 1;
mes "[Lalo]";
mes "if you become friends with ^008800Jack Frost^000000, you will receive something.";
mes "And also talk to the townspeople while you're at it...";
@@ -423,7 +423,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
}
else if ((BARD_Q >= 3) || (BARD_Q <= 5)) {
if (BARD_Q == 3) {
- if(xmas_npc > 10) { //this var is set in LUTIE.TXT
+ if(xmas_npc > 10) { //this var is set in lutie.txt
cutin "job_bard_aiolo01",2;
mes "[Lalo]";
mes "How was the trip? Did you meet a lot of people?";
@@ -445,7 +445,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
}
else {
cutin "job_bard_aiolo01",2;
- set xmas_npc,1;
+ xmas_npc = 1;
mes "[Lalo]";
mes "Eh, you still haven't become his friend?";
mes "Talking will not be enough.";
@@ -475,7 +475,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
}
if (BARD_Q != 5) {
- set .@bard_s, rand(1,5);
+ .@bard_s = rand(1,5);
if (.@bard_s == 1) {
mes "^3377FFThere was a man^000000";
mes "who was said to be immortal.";
@@ -486,7 +486,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "There was a man")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFThere was a man";
mes "who was said to be immortal.^000000";
@@ -497,7 +497,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "who was said to be immortal.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFThere was a man";
mes "who was said to be immortal.";
@@ -508,7 +508,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "His name Jichfreid,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFThere was a man";
mes "who was said to be immortal.";
@@ -519,7 +519,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Son of the hero Jichmunt.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFThere was a man";
mes "who was said to be immortal.";
@@ -530,7 +530,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "The evil giant Papner,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFThere was a man";
mes "who was said to be immortal.";
@@ -541,7 +541,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Turned into a dragon and ate him.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
}
else if (.@bard_s == 2) {
mes "^3377FFA Merchant without money or equipment,^000000";
@@ -553,7 +553,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "A Merchant without money or equipment,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFA Merchant without money or equipment,";
mes "a Merchant that couldn't sell anything.^000000";
@@ -564,7 +564,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "a Merchant that couldn't sell anything.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFA Merchant without money or equipment,";
mes "a Merchant that couldn't sell anything.";
@@ -575,7 +575,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "But he was too proud to beg.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFA Merchant without money or equipment,";
mes "a Merchant that couldn't sell anything.";
@@ -586,7 +586,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "So he gathered some money selling items.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFA Merchant without money or equipment,";
mes "a Merchant that couldn't sell anything.";
@@ -597,7 +597,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "At first he only sold Red Potions.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFA Merchant without money or equipment,";
mes "a Merchant that couldn't sell anything.";
@@ -608,7 +608,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Some say he sold Sweet Potatoes, too.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
}
else if (.@bard_s == 3) {
mes "^3377FFAll Gods never age.^000000";
@@ -620,7 +620,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "All Gods never age.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFAll Gods never age.";
mes "The ever so Beautiful Goddess Eden,^000000";
@@ -631,7 +631,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "The ever so Beautiful Goddess Eden,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFAll Gods never age.";
mes "The ever so Beautiful Goddess Eden,";
@@ -642,7 +642,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Beautiful and graceful Goddess Eden,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFAll Gods never age.";
mes "The ever so Beautiful Goddess Eden,";
@@ -653,7 +653,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Odin's daughter-in-law and Bragi's wife.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFAll Gods never age.";
mes "The ever so Beautiful Goddess Eden,";
@@ -664,7 +664,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Her sweet apples in her basket,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFAll Gods never age.";
mes "The ever so Beautiful Goddess Eden,";
@@ -675,7 +675,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "All thanks to her sweet apples.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
}
else if (.@bard_s == 4) {
mes "^3377FFBragi, Bragi,^000000";
@@ -687,7 +687,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Bragi, Bragi,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFBragi, Bragi,";
mes "Forever call the poets name.^000000";
@@ -698,7 +698,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Forever call the poets name.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFBragi, Bragi,";
mes "Forever call the poets name.";
@@ -709,7 +709,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "My songs are his breath,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFBragi, Bragi,";
mes "Forever call the poets name.";
@@ -720,7 +720,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "My mind is his will,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFBragi, Bragi,";
mes "Forever call the poets name.";
@@ -731,7 +731,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "All wandering poets are his people,")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFBragi, Bragi,";
mes "Forever call the poets name.";
@@ -742,7 +742,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "And all praise shall go to him.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
}
else {
mes "^3377FFLouder, louder, louder.^000000";
@@ -754,7 +754,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Louder, louder, louder.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFLouder, louder, louder.";
mes "Give strength to the warriors!^000000";
@@ -765,7 +765,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Give strength to the warriors!")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFLouder, louder, louder.";
mes "Give strength to the warriors!";
@@ -776,7 +776,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Shake the sky and roar through the land.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFLouder, louder, louder.";
mes "Give strength to the warriors!";
@@ -787,7 +787,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Make my heart pound again!")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFLouder, louder, louder.";
mes "Give strength to the warriors!";
@@ -798,7 +798,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "Let the castle walls ring.")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "^3377FFLouder, louder, louder.";
mes "Give strength to the warriors!";
@@ -809,7 +809,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
next;
input .@Song$;
if (.@Song$ != "This day will never come again!")
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
}
if (.@w_point) {
@@ -828,7 +828,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
mes "[Lalo]";
mes "..........";
next;
- set BARD_Q,5;
+ BARD_Q = 5;
mes "[Lalo]";
mes "Wonderful! Finished it in one try!";
mes "You can become a great Bard. ";
@@ -841,7 +841,7 @@ comodo,226,123,5 script Wandering Bard 2_M_BARD_ORIENT,{
mes "Do you want to just change jobs now?";
mes "Or do you want a present.";
next;
- set .@selection,select("Just change my job please.:I'd be thankful for a present.");
+ .@selection = select("Just change my job please.:I'd be thankful for a present.");
}
if ((.@selection == 1) || (BARD_Q == 5)) {
if(SkillPoint) {
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt
index 232e6c85e..c713194de 100644
--- a/npc/jobs/2-2/crusader.txt
+++ b/npc/jobs/2-2/crusader.txt
@@ -78,7 +78,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
next;
delitem 1004, 1;
delitem 1009, 1;
- set CRUS_Q,4;
+ CRUS_Q = 4;
mes "[Michael Halig]";
mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests...";
close;
@@ -149,7 +149,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
next;
delitem 1004, 1;
delitem 1009, 1;
- set CRUS_Q,4;
+ CRUS_Q = 4;
setquest 3009;
mes "[Michael Halig]";
mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests...";
@@ -163,9 +163,9 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
mes "This is my test for you. Bring me the following items and prove your determination to me.";
next;
mes "[Michael Halig]";
- set .@cru_m1,rand(1,3);
+ .@cru_m1 = rand(1,3);
if(.@cru_m1 == 1) {
- set CRUS_Q, 1;
+ CRUS_Q = 1;
setquest 3006;
mes "10 ^3355FF"+getitemname(957)+"^000000";
mes "10 ^3355FF"+getitemname(959)+"^000000";
@@ -174,7 +174,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
next;
}
else if(.@cru_m1 == 2) {
- set CRUS_Q, 2;
+ CRUS_Q = 2;
setquest 3007;
mes "10 ^3355FF"+getitemname(932)+"^000000";
mes "10 ^3355FF"+getitemname(1043)+"^000000";
@@ -183,7 +183,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
next;
}
else {
- set CRUS_Q, 3;
+ CRUS_Q = 3;
setquest 3008;
mes "10 ^3355FF"+getitemname(958)+"^000000";
mes "10 ^3355FF"+getitemname(930)+"^000000";
@@ -214,22 +214,22 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
next;
switch(CRUS_Q) {
case 1:
- set .@item1, 957;
- set .@item2, 959;
- set .@item3, 1099;
- set .@item4, 901;
+ .@item1 = 957;
+ .@item2 = 959;
+ .@item3 = 1099;
+ .@item4 = 901;
break;
case 2:
- set .@item1, 932;
- set .@item2, 1043;
- set .@item3, 1098;
- set .@item4, 1094;
+ .@item1 = 932;
+ .@item2 = 1043;
+ .@item3 = 1098;
+ .@item4 = 1094;
break;
case 3:
- set .@item1, 958;
- set .@item2, 930;
- set .@item3, 1041;
- set .@item4, 1062;
+ .@item1 = 958;
+ .@item2 = 930;
+ .@item3 = 1041;
+ .@item4 = 1062;
break;
}
if (countitem(.@item1) > 9 && countitem(.@item2) > 9 && countitem(.@item3) > 9 && countitem(.@item4) > 9) {
@@ -244,7 +244,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
delitem .@item2, 10;
delitem .@item3, 10;
delitem .@item4, 10;
- set CRUS_Q, 4;
+ CRUS_Q = 4;
if (questprogress(3006)) {
changequest 3006,3009;
}
@@ -281,7 +281,7 @@ prt_castle,45,169,5 script Senior Crusader 4_M_CRU_OLD,{
mes "[Michael Halig]";
mes "Together, let us ready ourselves and be victorious over evil and tyranny!";
next;
- set .@Joblevel,JobLevel;
+ .@Joblevel = JobLevel;
completequest 3015;
callfunc "Job_Change",Job_Crusader;
callfunc "F_ClearJobVar"; //clears all job variables for the current player
@@ -377,7 +377,7 @@ prt_castle,164,32,1 script Man in Anguish 4_M_JOB_KNIGHT1,{
mes "But...";
mes "You must keep one thing in mind. Under no condition are you allowed to kill the monsters.";
next;
- set CRUS_Q,5;
+ CRUS_Q = 5;
changequest 3009,3010;
mes "[Murnak Mijoul]";
mes "Well then...";
@@ -419,7 +419,7 @@ prt_castle,164,32,1 script Man in Anguish 4_M_JOB_KNIGHT1,{
mes "[Murnak Mijoul]";
mes "No matter what you do, do not kill any of the monsters. This time, think carefully before you draw your sword.";
next;
- set CRUS_Q,5;
+ CRUS_Q = 5;
mes "[Murnak Mijoul]";
mes "Well then...";
mes "Good luck.";
@@ -526,191 +526,191 @@ prt_church,95,127,3 script Crusader 4_F_CRU,{
mes "choose the correct answer.";
next;
}
- set .@cru_m,rand(1,3);
+ .@cru_m = rand(1,3);
if (.@cru_m == 1) {
mes "[Gabriel Valentine]";
mes "1. Which attribute is the most effective in atttacking the Undead?";
next;
if (select("Neutral:Earth:Undead:Holy") == 4)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "2. If the monster is a Level 2 Undead, how much more damage does a Holy attack do compared to Fire?";
next;
if (select("25 %:50 %:75 %:100 %") == 1)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "3. What item can you not get from an Evil Druid?";
next;
if (select("Monk Hat:Yggdrasil leaf:White Herb:Amulet ") == 1)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "4. Which Undead monster";
mes "has the highest HP?";
next;
if (select("Ghoul:Skeleton Prisoner:Wraith:Zombie Prisoner") == 4)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "5. Which of the following monsters is a different size than the others?";
next;
if (select("Wraith:Khalitzburg:Drake:Evil Druid") == 3)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "6. Which card grants you tolerance to Undead property attacks?";
next;
if (select("Orc Skeleton Card:Orc Zombie Card:Ghoul Card:Skel Worker Card") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "7. What was the relationship between Munak and Bongun before they passed away?";
next;
if (select("Big Brother and Little Sister:Childhood friends in the same village:Stepbrother and sister:Complete strangers") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "8. Which of the following monsters is not aggressive?";
next;
if (select("Soldier Skeleton:Orc Skeleton:Skeleton:Skel Worker") == 3)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "9. What is the name of the shield in which a Munak Card has been inserted?";
next;
if (select("Atomic Shield:Amulet Shield:Hypnotic Shield:Homeroth Shield") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "10. Which of the following monsters does not drop Memento?";
next;
if (select("Munak:Ghoul:Mummy:Soldier Skeleton") == 1)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
}
else if (.@cru_m == 2) {
mes "[Gabriel Valentine]";
mes "1. Which of the following monsters is a different attribute than the others?";
next;
if (select("Carat:Wind Ghost:Isis:Wanderer") == 3)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "2. Which sword is effective in attacking Demon monsters?";
next;
if (select("Decussate Tsurugi:Hollowed Tsurugi:Damned Tsurugi:Drowsy Tsurugi") == 1)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "3. Which item is NOT dropped by Dokebi?";
next;
if (select("Rough Elunium:Golden Hammer:Sword Mace:Mighty Staff") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "4. Which Demon monster has the most HP?";
next;
if (select("Giearth:Magnolia:Dokebi:Marionette") == 4)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "5. Which Demon monster is a different size than the others?";
next;
if (select("Ghostring:Whisper:Deviruchi:Baphomet Junior") == 1)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "6. Which shield reduces damage inflicted by Demon monsters?";
next;
if (select("Satanic Shield:Shield from Hell:Amulet Shield:Excellent Shield") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "7. Which attribute is the most effective on the Wind Ghost?";
next;
if (select("Water:Earth:Fire:Wind") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "8. Which monster is different from the other Demon monsters?";
next;
if (select("Sohee:Isis:Dokebi:Whisper") == 4)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "9. What effect does the Marionette Card have?";
next;
if (select("Increase defense against Shadow attacks by 30 %:Increase defense against poison attacks by 30 %:Increase defense against Ghost attacks by 30 %:Increase defense against Neutral attacks by 30 %") == 3)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "10. Which of the following is an effective way to react when encountering a demon monster?";
next;
if (select("Scream, 'Evil one, go away!':Offer your soul and get a deal.:Put Holy Water on a weapon and attack.:Put on a Deviruchi hat.") == 3)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
}
else {
mes "[Gabriel Valentine]";
mes "1. What level of 'Divine Protection' do you need to learn 'Demon Bane?'";
next;
if (select("Level 1:Level 2:Level 3:Level 4") == 3)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "2. If your INT is 30, including INT bonuses from quipment, at level 55, how much HP does Level 5 Heal recover?";
next;
if (select("396:440:484:528") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "3. With Level 7 Divine Protection, by how much is your defense against the Undead increased?";
next;
if (select("21:22:23:24") == 1)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "4. Which of the following spears can attack Nightmare, which is endowed with the Ghost attribute?";
next;
if (select("Lance:Bill Guisarme:Cresent scythe:Zephyrus") == 4)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "5. What level of 'Heal' do you need to learn 'Cure?'";
next;
if (select("Level 1:Level 2:Level 3:Level 4") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "6. What is the attack speed when Level 3 Cavalier Mastery is learned?";
next;
if (select("70 % of normal speed:80 % of normal speed:90 % of normal speed:100 % of normal speed") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "7. Which of the following is not correct of the Demon Bane skill?";
next;
if (select("Increase attack on Undead:Only Acolytes can learn the skill:When mastered, + 30 increase:Passive Skill") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "8. How much SP does Level 7 Heal use?";
next;
if (select("30:31:33:35") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "9. What status cannot be";
mes "cured with the Cure skill?";
next;
if (select("Curse:Silence:Chaos:Blind") == 1)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
mes "[Gabriel Valentine]";
mes "10. What best describes a Crusader?";
next;
if (select("One preparing for matrimony.:One preparing for the Holy War.:One preparing consummation.:One preparing potions.") == 2)
- set .@cru_t,.@cru_t+10;
+ .@cru_t += 10;
}
mes "[Gabriel Valentine]";
@@ -722,7 +722,7 @@ prt_church,95,127,3 script Crusader 4_F_CRU,{
mes " " + strcharinfo(0) + "'s score";
mes "is " + .@cru_t + " points...";
if(.@cru_t == 100) {
- set CRUS_Q, 8;
+ CRUS_Q = 8;
changequest 3011,3013;
mes "Superb! Now, it's time for";
mes "you to take the next test.";
@@ -735,7 +735,7 @@ prt_church,95,127,3 script Crusader 4_F_CRU,{
close;
}
else if(.@cru_t == 90) {
- set CRUS_Q, 8;
+ CRUS_Q = 8;
changequest 3011,3013;
mes "Well done~ Now, it's time for";
mes "you to take the next test.";
@@ -748,7 +748,7 @@ prt_church,95,127,3 script Crusader 4_F_CRU,{
close;
}
else if (.@cru_t == 80 && CRUS_Q == 7) {
- set CRUS_Q,8;
+ CRUS_Q = 8;
changequest 3011,3013;
mes "Seems like you prepared a lot so I'll let you pass this time.";
mes "Hurry now and go take the next test.";
@@ -758,7 +758,7 @@ prt_church,95,127,3 script Crusader 4_F_CRU,{
mes "I will inform him to prepare the next test.";
close;
}
- set CRUS_Q,7;
+ CRUS_Q = 7;
if (questprogress(3011)) {
changequest 3011,3012;
}
@@ -1204,7 +1204,7 @@ OnDead:
job_cru,98,105,4 script Summoner#cr5 WARPNPC,3,3,{
OnTouch:
- set CRUS_Q,6;
+ CRUS_Q = 6;
changequest 3010,3011;
warp "prt_castle",164,28;
end;
@@ -1271,7 +1271,7 @@ OnInit:
end;
OnStart:
- set .MyMonsterCount,0;
+ .MyMonsterCount = 0;
enablenpc "Monster Summon#cr0";
donpcevent "Monster Summon#cr1::OnStart";
donpcevent "Monster Summon#cr2::OnStart";
@@ -1301,9 +1301,9 @@ OnMonster3:
end;
OnDead:
- set .MyMonsterCount,.MyMonsterCount+1;
+ ++.MyMonsterCount;
if (.MyMonsterCount >= 10) {
- set CRUS_Q,10;
+ CRUS_Q = 10;
changequest 3014,3015;
}
end;
diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt
index a34bf0540..36e84321a 100644
--- a/npc/jobs/2-2/dancer.txt
+++ b/npc/jobs/2-2/dancer.txt
@@ -176,7 +176,7 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{
mes "Wow! What a pretty name! Just a moment, I have to show this to the director, so come back in a little bit, okay?";
close2;
cutin "",255;
- set DANC_Q,1;
+ DANC_Q = 1;
setquest 7000;
end;
}
@@ -230,9 +230,9 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{
mes "[Aile]";
mes "We're short on some supplies, but you'll be using them for yourself anyway. Just think of it as part of the tuition, so don't worry too much.";
next;
- set .@item_nd,rand(1,10);
+ .@item_nd = rand(1,10);
if (.@item_nd > 0 && .@item_nd < 3) {
- set DANC_Q,2;
+ DANC_Q = 2;
changequest 7000,7001;
mes "[Aile]";
mes "First, there's the tuition fee of ^CD688910,000 Zeny^000000. Then, you'll about ^CD688920 Sticky Mucus^000000 for shoe polish.";
@@ -249,7 +249,7 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{
mes "^CD68891 Shoes^000000.";
}
else if (.@item_nd == 4) {
- set DANC_Q,3;
+ DANC_Q = 3;
changequest 7000,7002;
mes "[Aile]";
mes "First, there's the tuition fee of ^CD688910,000 Zeny^000000. Then, bring ^CD68895 Earthworm Peelings^000000 for polishing the floor and, of course, a pair of ^CD6889Boots^000000.";
@@ -261,7 +261,7 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{
mes "^CD68891 Boots^000000.";
}
else {
- set DANC_Q,4;
+ DANC_Q = 4;
changequest 7000,7003;
mes "[Aile]";
mes "First, there's the tuition fee of ^CD688910,000 Zeny^000000. Then, bring ^CD68892 Clam Shells^000000 for your costume, ^CD68895 Yellow Potions^000000 and ^CD688920 Jellopy^000000 to treat foot injuries.";
@@ -299,8 +299,8 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{
setarray .@count[0], 2,5,20,10,1;
break;
}
- set .@size, getarraysize(.@item);
- for( set .@i, 0; .@i < .@size; set .@i,.@i+1 ) {
+ .@size = getarraysize(.@item);
+ for (.@i = 0; .@i < .@size; ++.@i) {
if( countitem(.@item[.@i]) < .@count[.@i] ) {
break;
}
@@ -319,7 +319,7 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{
Zeny -= 10000;
mes "[Aile]";
mes "Next, go to ^CD6889Bijou^000000, who is in charge of the interviewing process. She will have a couple of things she'll need to ask you.";
- set DANC_Q,5;
+ DANC_Q = 5;
if (questprogress(7001)) {
changequest 7001,7004;
}
@@ -504,7 +504,7 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "increases which of the following?";
next;
if (select("Intelligence (INT):Dexterity (DEX):Vitality (VIT):Critical Attack Rate") == 4)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "2. Of the following,";
mes "which can you not consider";
@@ -512,10 +512,10 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
next;
switch(select("Tango:Tap Dance:HIP-HOP:Hip Shaker:Lightning Bolt")) {
default:
- set .@da_score,.@da_score-10;
+ .@da_score -= 10;
break;
case 5:
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
break;
}
mes "[Bijou]";
@@ -523,18 +523,18 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "best describes a Dancer?";
next;
if (select("Person who yells.:A loud person.:A person who dances.:A person who sings.") == 3)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "4. Which of the following";
mes "cannot be associated with Comodo?";
next;
if (select("Beach city.:Dancer Job Change.:Always dark like the night.:Dungeons in 3 directions.:A lot of Thieves.") == 5)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "5. Before Comodo, what is the region name of the region NorthEast of Pharoah's Lighthouse Island?";
next;
if (select("Elmeth Plateau:Comuko Beach:Comodo Beach:Ginai Swamp") == 3)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "6. Who is the most";
mes "beautiful dancer?";
@@ -548,11 +548,11 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "Didn't you see the";
mes "other choices?!";
mes "Minus points...!";
- set .@da_score,.@da_score-10;
+ .@da_score -= 10;
next;
break;
case 2:
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
break;
default:
break;
@@ -563,26 +563,26 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "with a Dancer?";
next;
if (select("Assassin:Bard:Alchemist:Sage") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "8. Which of the following";
mes "is not a specialty of Comodo?";
next;
if (select("Berserk Potion:Clam Shell:Crab Shell:Shining Stone") == 4)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "9. Who is the manager";
mes "of the Comodo Casino?";
next;
if (select("Yoo:Moo:Hoon:Roul") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "10. Who accepts the";
mes "Dancer job change";
mes "applications?";
next;
if (select("Bijou:Aile:Athena:Sonotora") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
break;
case 2:
mes "[Bijou]";
@@ -591,14 +591,14 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "^CD6889Mental Sensing^000000?";
next;
if (select("Instant monster death.:Doubles damage.:Increases experience.:Increases attack speed.") == 3)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "2. Which is considered";
mes "bad etiquette on the dance";
mes "floor after a dance?";
next;
if (select("Thank your partner.:Praise your partner's dance.:Ask to dance a different dance.:Criticize your partner.") == 4)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "3. Which is not an";
mes "appropriate response";
@@ -607,27 +607,27 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "are dancing together?";
next;
if (select("Smile at each other and continue dancing.:Point out the mistake.:Ignore it if the dancer does not realize it.:Give them a smile.") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "4. In which town";
mes "can you change jobs";
mes "to a Dancer?";
next;
if (select("Cocomo:Sandarman:Comudo:Comodo") == 4)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "5. How many dungeons";
mes "are directly connected";
mes "to Comodo?";
next;
if (select("1:2:3:4") == 3)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "6. Which of the following";
mes "is not a Cute Pet monster?";
next;
if (select("Isis:Argiope:Dokebi:Deviruchi") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "7. Who is the most";
mes "graceful dancer?";
@@ -641,11 +641,11 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "Didn't you see the";
mes "other choices?!";
mes "Minus points...!";
- set .@da_score,.@da_score-10;
+ .@da_score -= 10;
next;
break;
case 2:
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
break;
default:
break;
@@ -656,18 +656,18 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "Kafra in Comodo?";
next;
if (select("Kafra Headquarters:Kafra West Headquarters:Kafra Service:Kafra Headquarters: Western Branch") == 4)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[......]";
mes "9. What is my name?";
next;
if (select("Borjuis:Bourgeois:Bijou:Beruberu") == 3)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "10. What is the";
mes "effect of ^CD6889Lullaby^000000?";
next;
if (select("Casts the Blind effect in the area.:Casts the Sleep effect on the area.:Puts a night effect on the area.:Freezes the area.") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
break;
case 3:
mes "[Bijou]";
@@ -679,7 +679,7 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
break;
case 2:
case 3:
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
break;
}
mes "[Bijou]";
@@ -690,19 +690,19 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "ground to create a rhythm?";
next;
if (select("Tap Dance:Improve Concentration:Tango:Double Strafing") == 1)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "3. Which of the following";
mes "is not a characteristic of a Dancer?";
next;
if (select("Uses Dance skills. :Attacks from a distance.:Uses Whips.:Uses Two-handed swords.") == 4)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "4. Which town has";
mes "the most Dancers?";
next;
if (select("Al De Baran:Juno:Morroc:Comodo") == 4)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "5. Of the following,";
mes "who dances most beautifully?";
@@ -716,11 +716,11 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "Didn't you see the";
mes "other choices?!";
mes "Minus points...!";
- set .@da_score,.@da_score-10;
+ .@da_score -= 10;
next;
break;
case 2:
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
break;
default:
break;
@@ -731,32 +731,32 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "job classes?";
next;
if (select("Health:Acting :Dancing :Magic ") == 3)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "7. Who is the manager";
mes "of the Comodo Casino?";
next;
if (select("Ryu:Moo:Roul:Hoon") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "8. What item cannot";
mes "be equipped by a Dancer?";
next;
if (select("Kitty Band :Two-handed Sword:Sandals:Earring") == 2)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "9. Do you think you";
mes "can say this quiz is";
mes "frustrating and annoying?";
next;
select("Yes:No");
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
mes "[Bijou]";
mes "10. Which of the following";
mes "is not a Jazz musician?";
next;
if (select("Art Blakey:Billie Holiday :Louis Armstrong :Bud Powell :Elder Willow ") == 5)
- set .@da_score,.@da_score+10;
+ .@da_score += 10;
}
mes "[Bijou]";
mes "Good job~";
@@ -769,7 +769,7 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "Your score is";
mes "" + .@da_score + " points...";
if (.@da_score == 100) {
- set DANC_Q,7;
+ DANC_Q = 7;
mes "Very well done!";
mes "A perfect score!";
next;
@@ -782,12 +782,12 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
close;
}
else if (.@da_score > 70) {
- set DANC_Q,7;
+ DANC_Q = 7;
mes "It wasn't perfect, but I'll let you pass.";
close;
}
else {
- set DANC_Q,6;
+ DANC_Q = 6;
mes "You.. You failed!";
next;
mes "[Bijou]";
@@ -831,7 +831,7 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "Well then~";
mes "Good luck...!!";
changequest 7004,7005;
- set DANC_Q,8;
+ DANC_Q = 8;
close2;
warp "job_duncer",105,109;
end;
@@ -868,7 +868,7 @@ job_duncer,95,93,4 script Bijou#da 4W_F_01,{
mes "[Bijou]";
mes "With the blessing of our goddess, you shall be reborn as a Dancer. From now on, no one will leave your presense without a smile~";
next;
- set .@jlevel,JobLevel;
+ .@jlevel = JobLevel;
mes "[Bijou]";
completequest 7006;
callfunc "Job_Change",Job_Dancer;
@@ -1236,7 +1236,7 @@ OnTimer89000:
job_duncer,69,110,0 script dance#return -1,1,4,{
OnTouch:
mapannounce "job_duncer","Good! Well done! Go back to Bijou!",bc_map;
- set DANC_Q,9;
+ DANC_Q = 9;
changequest 7005,7006;
warp "comodo",188,162;
end;
@@ -1255,7 +1255,7 @@ OnEnable:
job_duncer,66,110,0 script dance#return#2 -1,1,1,{
OnTouch:
- set DANC_Q,9;
+ DANC_Q = 9;
warp "comodo",188,162;
end;
@@ -1271,7 +1271,7 @@ OnEnable:
job_duncer,72,110,0 script dance#return#3 -1,1,1,{
OnTouch:
- set DANC_Q,9;
+ DANC_Q = 9;
warp "comodo",188,162;
end;
@@ -1292,7 +1292,7 @@ OnEnable:
OnTouch:
donpcevent "Backdancer#1::OnOmg";
mapannounce "job_duncer"," " + strcharinfo(0) + ", you lack rhythm... Your timing was too late!",bc_map;
- set DANC_Q,8;
+ DANC_Q = 8;
donpcevent "Bijou#dance_timer::OnDisable";
donpcevent "Waiting Room#dance::OnEnable";
warp "comodo",188,162;
diff --git a/npc/jobs/2-2/monk.txt b/npc/jobs/2-2/monk.txt
index 90fccf68c..d3bd8b329 100644
--- a/npc/jobs/2-2/monk.txt
+++ b/npc/jobs/2-2/monk.txt
@@ -67,7 +67,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "We monks live our lives for spiritual enlightenment.";
mes "We improve our bodies as well as our minds to reach true inner peace.";
mes "May you find your inner peace as well.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
case 2:
if (BaseJob == Job_Acolyte && JobLevel > 39) {
@@ -75,7 +75,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "Hmm you seem as though you have been training for this...";
mes "That is good. Go see our sensei Moohae. Speak with him.";
mes "He will help you start your training.";
- set MONK_Q,2;
+ MONK_Q = 2;
setquest 3016;
close;
}
@@ -94,7 +94,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "I hope that you will soon join us on our";
mes "path of inner peace and enlightenment.";
mes "I'll be waiting here for you.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
}
else {
@@ -114,7 +114,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "when observing our brothers in their";
mes "pursuit of spiritual enlightenment.";
mes "I hope you reach it too.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
}
}
@@ -130,7 +130,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "I hope that your experience here with";
mes "our brothers has helped you become one";
mes "step closer to true enlightenment.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
case 2:
if (BaseJob == Job_Acolyte && JobLevel > 39) {
@@ -138,7 +138,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "Hmm you seem as though you have been training for this...";
mes "That is good. Go see our sensei Moohae. Speak with him.";
mes "He will help you start your training.";
- set MONK_Q,2;
+ MONK_Q = 2;
setquest 3016;
close;
}
@@ -157,7 +157,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "I hope that you will soon join us in our";
mes "path to inner peace and enlightenment.";
mes "I'll be waiting here for you.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
}
else {
@@ -177,7 +177,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "when observing our brothers in their";
mes "pursuit of spiritual enlightenment.";
mes "I hope you reach it too.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
}
}
@@ -213,7 +213,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "We monks live our lives for God and spiritual enlightenment.";
mes "We improve our bodies as well as our minds to reach true inner peace.";
mes "May you find your inner peace as well.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
case 2:
if (BaseJob == Job_Acolyte && JobLevel > 39) {
@@ -221,7 +221,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "Hmm you seem as though you have been training for this...";
mes "That is good. Go see our sensei Moohae, speak with him";
mes "and he will help you start new training.";
- set MONK_Q,2;
+ MONK_Q = 2;
setquest 3016;
close;
}
@@ -240,7 +240,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "I hope that you will soon join us in our";
mes "path to inner peace and enlightenment.";
mes "I'll be waiting here for you.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
}
else {
@@ -260,7 +260,7 @@ prt_monk,59,247,1 script Guarding Monk#mk 2_M_PHARMACIST,6,2,{
mes "when observing our brothers in their";
mes "pursuit of spiritual enlightenment.";
mes "I hope you reach it too.";
- set MONK_Q,1;
+ MONK_Q = 1;
close;
}
}
@@ -391,7 +391,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes .@items[3]+" "+getitemname(.@items[2])+",";
mes .@items[5]+" "+getitemname(.@items[4])+".";
mes "Find these items and return to me.";
- set MONK_Q,.@items[6];
+ MONK_Q = .@items[6];
next;
mes "[Sensei Moohae]";
switch (.@items[6]) {
@@ -418,7 +418,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Well done, you found all the items.";
mes "I will tell this to the elders.";
- set MONK_Q,10;
+ MONK_Q = 10;
changequest 3017,3024;
delitem 938,5; //Sticky_Mucus
delitem 1055,10; //Earthworm_Peeling
@@ -449,7 +449,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Very good, you found all the items.";
mes "I will tell this to the elders.";
- set MONK_Q,10;
+ MONK_Q = 10;
changequest 3018,3024;
delitem 942,20; //Yoyo_Tail
delitem 1002,5; //Iron_Ore
@@ -480,7 +480,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "See, that wasn't so bad you real found all the items.";
mes "I will tell this to the elders.";
- set MONK_Q,10;
+ MONK_Q = 10;
changequest 3019,3024;
delitem 905,30; //Stem
delitem 909,5; //Jellopy
@@ -511,7 +511,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Impressive, you really found all the items.";
mes "I will tell this to the elders.";
- set MONK_Q,10;
+ MONK_Q = 10;
changequest 3020,3024;
delitem 943,5; //Solid_Shell
delitem 935,20; //Shell
@@ -542,7 +542,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Very nice, you found all the items.";
mes "I will tell this to the elders.";
- set MONK_Q,10;
+ MONK_Q = 10;
changequest 3021,3024;
delitem 7053,5; //Cyfar
delitem 509,10; //White_Herb
@@ -573,7 +573,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Excellent, all the items I asked for.";
mes "I will tell this to the elders.";
- set MONK_Q,10;
+ MONK_Q = 10;
changequest 3022,3024;
delitem 913,10; //Tooth_Of_Bat
delitem 948,5; //Bear's_Foot
@@ -604,7 +604,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "Wow, you found all the items!!";
mes "I will tell this to the elders.";
- set MONK_Q,10;
+ MONK_Q = 10;
changequest 3023,3024;
delitem 1027,5; //Porcupine_Spike
delitem 1025,20; //Spiderweb
@@ -839,7 +839,7 @@ monk_in,99,58,1 script Sensei Moohae#mk 1_M_PASTOR,{
mes "[Sensei Moohae]";
mes "....and see life through the eyes of a monk.";
next;
- set .@jlevel,JobLevel;
+ .@jlevel = JobLevel;
completequest 3032;
callfunc "Job_Change",Job_Monk;
callfunc "F_ClearJobVar";
@@ -943,9 +943,9 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
next;
}
mes "[Touha]";
- set .@rand,rand(1,3);
+ .@rand = rand(1,3);
if ((.@rand == 1) || (MONK_Q == 11)) {
- set MONK_Q,11;
+ MONK_Q = 11;
mes "I seek the path";
next;
mes "[Touha]";
@@ -976,7 +976,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
mes "et Spiritus Sancti.";
}
else if ((.@rand == 2) || (MONK_Q == 12)) {
- set MONK_Q,12;
+ MONK_Q = 12;
mes "I commit myself to";
next;
mes "[Touha]";
@@ -1007,7 +1007,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
mes "et Spiritus Sancti.";
}
else if ((.@rand == 3) || (MONK_Q == 13)) {
- set MONK_Q,13;
+ MONK_Q = 13;
mes "And shepherds we shall be,";
next;
mes "[Touha]";
@@ -1071,7 +1071,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
mes "to what we believe";
break;
case 7:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "[" + strcharinfo(0) + "]";
mes "I seek the path";
break;
@@ -1094,7 +1094,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 3: mes "I seek the path"; break;
case 4: mes "shall hold true"; break;
case 5:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "of enlightenment.";
break;
case 6: mes "and will help protect others"; break;
@@ -1106,7 +1106,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
switch(select("to what we believe:We monks:I seek the path:shall hold true:of enlightenment.:we learn through our lives.:In nomine Patris, et Filii:and will help protect others:through the teachings:et Spiritus Sancti.")) {
case 1: mes "to what we believe"; break;
case 2:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "We monks";
break;
case 3: mes "I seek the path"; break;
@@ -1120,7 +1120,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
}
switch(select("shall hold true:I seek the path:We monks:In nomine Patris, et Filii:of enlightenment.:et Spiritus Sancti.:to what we believe:we learn through our lives.:and will help protect others:through the teachings")) {
case 1:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "shall hold true";
break;
case 2: mes "I seek the path"; break;
@@ -1144,7 +1144,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 7: mes "we learn through our lives."; break;
case 8: mes "In nomine Patris, et Filii"; break;
case 9:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "to what we believe";
break;
case 10: mes "et Spiritus Sancti."; break;
@@ -1153,7 +1153,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 1: mes "I seek the path"; break;
case 2: mes "through the teachings"; break;
case 3:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "and will help protect others";
break;
case 4: mes "of enlightenment."; break;
@@ -1175,13 +1175,13 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 8: mes "shall hold true"; break;
case 9: mes "and will help protect others"; break;
case 10:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "through the teachings";
break;
}
switch(select("we learn through our lives.:In nomine Patris, et Filii:through the teachings:I seek the path:We monks:shall hold true:to what we believe:and will help protect others:of enlightenment.:et Spiritus Sancti.")) {
case 1:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "we learn through our lives.";
break;
case 2: mes "In nomine Patris, et Filii"; break;
@@ -1205,7 +1205,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 8: mes "through the teachings"; break;
case 9: mes "we learn through our lives."; break;
case 10:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "In nomine Patris, et Filii";
break;
}
@@ -1220,7 +1220,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 8: mes "we learn through our lives."; break;
case 9: mes "In nomine Patris, et Filii"; break;
case 10:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "et Spiritus Sancti.";
break;
}
@@ -1241,7 +1241,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
break;
case 4:
mes "[" + strcharinfo(0) + "]";
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "I commit myself to";
break;
case 5:
@@ -1279,14 +1279,14 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 7: mes "et Spiritus Sancti."; break;
case 8: mes "I commit myself to"; break;
case 9:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "veritas and aequitas.";
break;
case 10: mes "In nomine Patris, et Filii"; break;
}
switch(select("I will follow my path:veritas and aequitas.:I commit myself to:et Spiritus Sancti.:Evil shall never be:to enlightenment and purity.:In nomine Patris, et Filii:I will protect my:brothers with my life.:victorious while I breathe.")) {
case 1:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "I will follow my path";
break;
case 2: mes "veritas and aequitas."; break;
@@ -1306,7 +1306,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 4: mes "I will protect my"; break;
case 5: mes "victorious while I breathe."; break;
case 6:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "to enlightenment and purity.";
break;
case 7: mes "brothers with my life."; break;
@@ -1325,7 +1325,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 8: mes "I will follow my path"; break;
case 9: mes "veritas and aequitas."; break;
case 10:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "I will protect my";
break;
}
@@ -1335,7 +1335,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 3: mes "veritas and aequitas."; break;
case 4: mes "I commit myself to"; break;
case 5:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "brothers with my life.";
break;
case 6: mes "I will protect my"; break;
@@ -1347,7 +1347,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
switch(select("veritas and aequitas.:Evil shall never be:brothers with my life.:victorious while I breathe.:I will follow my path:to enlightenment and purity.:I will protect my:In nomine Patris, et Filii:et Spiritus Sancti.:I commit myself to")) {
case 1: mes "veritas and aequitas."; break;
case 2:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "Evil shall never be";
break;
case 3: mes "brothers with my life."; break;
@@ -1361,7 +1361,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
}
switch(select("victorious while I breathe.:to enlightenment and purity.:I will protect my:veritas and aequitas.:brothers with my life.:I will follow my path:Evil shall never be:In nomine Patris, et Filii:I commit myself to:et Spiritus Sancti.")) {
case 1:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "victorious while I breathe.";
break;
case 2: mes "to enlightenment and purity."; break;
@@ -1383,7 +1383,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 6: mes "brothers with my life."; break;
case 7: mes "Evil shall never be"; break;
case 8:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "In nomine Patris, et Filii";
break;
case 9: mes "victorious while I breathe."; break;
@@ -1400,7 +1400,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 8: mes "victorious while I breathe."; break;
case 9: mes "In nomine Patris, et Filii"; break;
case 10:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "et Spiritus Sancti.";
break;
}
@@ -1413,7 +1413,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
break;
case 2:
mes "[" + strcharinfo(0) + "]";
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "And shepherds we shall be,";
break;
case 3:
@@ -1458,7 +1458,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 6: mes "Power hath descended forth"; break;
case 7: mes "And shepherds we shall be,"; break;
case 8:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "for thee my lord for thee.";
break;
case 9: mes "from the hand"; break;
@@ -1468,7 +1468,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 1: mes "And shepherds we shall be,"; break;
case 2: mes "for thee my lord for thee."; break;
case 3:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "Power hath descended forth";
break;
case 4: mes "from the hand"; break;
@@ -1485,7 +1485,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 3: mes "Power hath descended forth"; break;
case 4: mes "so our feet may swiftly carry"; break;
case 5:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "from the hand";
break;
case 6: mes "flow a river forth to thee and"; break;
@@ -1499,7 +1499,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 2: mes "for thee my lord for thee."; break;
case 3: mes "Power hath descended forth"; break;
case 4:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "so our feet may swiftly carry";
break;
case 5: mes "from the hand"; break;
@@ -1517,7 +1517,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 5: mes "so our feet may swiftly carry"; break;
case 6: mes "flow a river forth to thee and"; break;
case 7:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "out thy command. And we shall";
break;
case 8: mes "teeming with souls shall it ever be"; break;
@@ -1528,7 +1528,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 1: mes "for thee my lord for thee."; break;
case 2: mes "teeming with souls shall it ever be"; break;
case 3:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "flow a river forth to thee and";
break;
case 4: mes "In nomine Patris, et Filii"; break;
@@ -1541,7 +1541,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
}
switch(select("teeming with souls shall it ever be:In nomine Patris, et Filii:And shepherds we shall be,:for thee my lord for thee.:Power hath descended forth:from the hand:so our feet may swiftly carry:out thy command. And we shall:flow a river forth to thee and:et Spiritus Sancti.")) {
case 1:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "teeming with souls shall it ever be";
break;
case 2: mes "In nomine Patris, et Filii"; break;
@@ -1559,7 +1559,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 2: mes "for thee my lord for thee."; break;
case 3: mes "And shepherds we shall be,"; break;
case 4:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "In nomine Patris, et Filii";
break;
case 5: mes "so our feet may swiftly carry"; break;
@@ -1580,7 +1580,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
case 8: mes "teeming with souls shall it ever be"; break;
case 9: mes "In nomine Patris, et Filii"; break;
case 10:
- set .@monk_t,.@monk_t+10;
+ .@monk_t += 10;
mes "et Spiritus Sancti.";
break;
}
@@ -1593,7 +1593,7 @@ prt_monk,251,255,1 script Touha#mk 1_F_PRIEST,{
mes "Hmm...";
next;
if (.@monk_t > 90) {
- set MONK_Q,14;
+ MONK_Q = 14;
changequest 3025,3026;
mes "[Touha]";
mes "...well done, that was perfect. You pay attention well...";
@@ -1774,14 +1774,14 @@ prt_monk,57,179,1 script Boohae#mk 4_M_MINISTER,{
mes "Choose which one you want to do...";
next;
if (select("Gathering mushrooms:Marathon") == 1) {
- set MONK_Q,15;
+ MONK_Q = 15;
changequest 3026,3027;
mes "[Boohae]";
mes "Hmm....gathering mushrooms. So you want to test your tolerance huh?";
mes "Go prepare and come back later when you're ready.";
close;
}
- set MONK_Q,16;
+ MONK_Q = 16;
changequest 3026,3028;
mes "[Boohae]";
mes "Good choice. Forcing your physical limits to their boundaries and grants a higher amount of self control.";
@@ -1954,7 +1954,7 @@ monk_test,386,388,4 script Apprentice Monk#mk 4_M_MINISTER,{
mes "" + strcharinfo(0) + "...q.q..q. .quit! ...the marathon!! Y...you do not have what it takes to be a m... monk!";
mapannounce "monk_test","" + strcharinfo(0) + "...q.q..q. .quit! ...the marathon!! Y...you do not have what it takes to be a m... monk!",bc_map;
close2;
- set MONK_Q,15;
+ MONK_Q = 15;
changequest 3028,3027;
warp "prt_monk",194,168;
end;
@@ -1968,12 +1968,12 @@ monk_test,386,388,4 script Apprentice Monk#mk 4_M_MINISTER,{
monk_test,387,350,0 script Supervisor#race_monk WARPNPC,2,2,{
OnTouch:
if (MONK_Q >= 15 && MONK_Q <= 23) {
- set MONK_Q,MONK_Q+1;
+ MONK_Q += 1;
warp "monk_test",385,388;
end;
}
else if (MONK_Q == 24) {
- set MONK_Q,25;
+ MONK_Q = 25;
changequest 3028,3029;
mapannounce "monk_test","Now! This is the last lap!! If you make it you need to go visit Tomoon for the next test!",bc_map;
warp "monk_test",385,388;
@@ -2040,7 +2040,7 @@ job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
mes ".....I figured as much....you don't have a spirit.";
mapannounce "job_monk","" + strcharinfo(0) + ", has quit his testing to become a monk.",bc_map;
close2;
- set MONK_Q,16;
+ MONK_Q = 16;
changequest 3027,3028;
warp "prt_monk",194,168;
end;
@@ -2087,7 +2087,7 @@ job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
close2;
mapannounce "job_monk","" + strcharinfo(0) + ", has quit his training to become a monk.",bc_map;
warp "prt_monk",194,168;
- set MONK_Q,16;
+ MONK_Q = 16;
changequest 3027,3028;
end;
}
@@ -2099,7 +2099,7 @@ job_monk,225,180,1 script Hyunmoo#mk 4_M_ORIENT02,{
mes "[Hyunmoo]";
mes "Go meet Tomoon for your next test.";
mes "Tomoon is staying in the deepest room inside a building near this abbey.";
- set MONK_Q,25;
+ MONK_Q = 25;
changequest 3027,3029;
delitem 1069,countitem(1069); //Mushroom_Of_Thief_1
delitem 1070,countitem(1070); //Mushroom_Of_Thief_2
@@ -2181,7 +2181,7 @@ monk_test,319,139,1 script Tomoon#mk 1_M_HOF,{
mes "[Tomoon]";
mes "Let's see if you got what it takes to be a true monk!!";
close2;
- set MONK_Q,26;
+ MONK_Q = 26;
changequest 3029,3031;
warp "monk_test",88,74;
end;
@@ -2204,7 +2204,7 @@ monk_test,319,139,1 script Tomoon#mk 1_M_HOF,{
getitem 506,1; //Green_Potion
mes "Drink this potion and you will be able to become a monk!!!";
mes "... now go back to sensei Moohae!!!";
- set MONK_Q,28;
+ MONK_Q = 28;
changequest 3031,3032;
close;
}
@@ -2237,7 +2237,7 @@ monk_test,82,85,1 script Proctor#mk 4_F_SISTER,{
mes "Alright! I wish you luck. If you get lost and can't find a way out, simply log out and log back in.";
mes "Then you will return to your save point. What's that mean? Heck if I know, I'm just told to say that. Oh yes and also, please cooperate with your comrades.";
close2;
- set MONK_Q,26;
+ MONK_Q = 26;
warp "monk_test",125,277;
end;
case 2:
@@ -2323,7 +2323,7 @@ monk_test,166,278,0 script exit_monk#1 WARPNPC,1,1,{
OnTouch:
mes "[Proctor]";
mes "You did well. Please return to Tomoon, he's waiting for you.";
- set MONK_Q,27;
+ MONK_Q = 27;
donpcevent "mob_monk#1_5::OnDisable";
donpcevent "mob_monk#1_4::OnDisable";
donpcevent "mob_monk#1_3::OnDisable";
@@ -2344,7 +2344,7 @@ monk_test,88,91,1 script Proctor#mk2 1_M_HOF,{
mes "Alright! I wish you luck. If you get lost and can't find a way out, simply log out and log back in.";
mes "Then you will return to your save point. What's that mean? Heck if I know, I'm just told to say that. Oh yes and also, please cooperate with your comrades.";
close2;
- set MONK_Q,26;
+ MONK_Q = 26;
warp "monk_test",125,177;
end;
case 2:
@@ -2430,7 +2430,7 @@ monk_test,166,178,0 script exit_monk#2 WARPNPC,1,1,{
OnTouch:
mes "[Proctor]";
mes "You did well. Please return to Tomoon, he's waiting for you.";
- set MONK_Q,27;
+ MONK_Q = 27;
donpcevent "mob_monk#2_5::OnDisable";
donpcevent "mob_monk#2_4::OnDisable";
donpcevent "mob_monk#2_3::OnDisable";
@@ -2451,7 +2451,7 @@ monk_test,95,85,1 script Proctor#btl#3 1_F_PRIEST,{
mes "Alright! I wish you luck. If you get lost and can't find a way out, simply log out and log back in.";
mes "Then you will return to your save point. What's that mean? Heck if I know, I'm just told to say that. Oh yes and also, please cooperate with your comrades.";
close2;
- set MONK_Q,26;
+ MONK_Q = 26;
warp "monk_test",230,277;
end;
case 2:
@@ -2537,7 +2537,7 @@ monk_test,270,278,0 script exit_monk#3 WARPNPC,1,1,{
OnTouch:
mes "[Proctor]";
mes "You did well. Please return to Tomoon, he's waiting for you.";
- set MONK_Q,27;
+ MONK_Q = 27;
donpcevent "mob_monk#3_5::OnDisable";
donpcevent "mob_monk#3_4::OnDisable";
donpcevent "mob_monk#3_3::OnDisable";
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index d0b2ba95f..7fb6f2c0a 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -168,7 +168,7 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
mes "You've been";
mes "doin' a great job~";
}
- set .@jlevel,JobLevel;
+ .@jlevel = JobLevel;
callfunc "Job_Change",Job_Rogue;
callfunc "F_ClearJobVar";
completequest 2027;
@@ -212,110 +212,110 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
mes "1. Choose the skill necessary for learning ^880000Stalk^000000.";
next;
if (select("^880000Hiding^000000:^880000Steal^000000:^880000Improve Dodge^000000:^880000Bash^000000") == 1)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "2. In comparison to the Merchant's Level 10 ^880000Discount^000000 skill, how much more of a discount, in terms of percent, can a Rogue get with Level 10 ^880000Haggle^000000 skill?";
next;
if (select("3 %:2 %:1 %:0 %") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "3. What is the correct description for the skill, ^880000Mug^000000?";
next;
if (select("Steal items from players:Steal items from monsters:Steal Zeny from monsters:Steal Zeny from players") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "4. How many Rogues does it require to activate the skill, ^880000Slyness^000000?";
next;
if (select("1 Rogues + 2 Assassin:1 Thief + 2 Rogue:4 Thieves:2 Rogues") == 4)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "5. Choose the skill that you can learn at Level 5 ^880000Divest Helm^000000.";
next;
if (select("^880000Envenom^000000:^880000Strip Tease^000000:^880000Venom Splasher^000000:^880000Divest Shield^000000") == 4)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "6. Choose the skill which allows its user to move while hiding.";
next;
if (select("^880000Hiding^000000:^880000Back Slide^000000:^880000Stalk^000000:^880000Sand Attack^000000") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "7. Choose the card that increases the accuracy rate of its owner.";
next;
if (select("Andre Card.:Familiar Card.:Mummy Card.:Marina Card.") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "8. Choose the monster that receives more damage when it's attacked by a weapon with the Vadon card (20 % more damage on Fire property).";
next;
if (select("Vadon:Deviruchi:Elder Willow:Baphomet") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "9. How much SP does the skill ^880000Double Attack^000000 require when used with a Dagger?";
next;
if (select("15:Passive skill, no SP required.:Passive skill, 10 SP:54") == 2)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "10. Choose the most efficient dagger to use in the Byalan Dungeon.";
next;
if (select("Wind Main-Gauche:Ice Main-Gauche:Earth Main-Gauche:Fire Main-Gauche") == 1)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
break;
case 2:
mes "[Markie]";
mes "1. Which monster drops a slotted Gladius?";
next;
if (select("Thief Bug:Peco Peco:Desert Wolf:Kobold") == 4)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "2. Which monster drops a slotted Main-Gauche?";
next;
if (select("Hornet:Desert Wolf:Marionette:Myst") == 1)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "3. Choose the class that is able to create unique potions.";
next;
if (select("Merchant:Alchemist:Blacksmith:Priest") == 2)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "4. Choose the weapon that Rogues aren't allowed to use.";
next;
if (select("Gakkung:Crossbow:Gladius:Katar") == 4)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "5. Choose the property that the monster Hode possesses.";
next;
if (select("Water:Fire:Wind:Earth") == 4)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "6. Choose the monster that is unable to be tamed for as a Cute Pet.";
next;
if (select("Poporing:Creamy:Orc:Poison Spore") == 2)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "7. Choose the monster that receives more damage from a Dagger with the Fire property.";
next;
if (select("Dagger Goblin:Mace Goblin:Morning Star Goblin:Hammer Goblin") == 4)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "8. Choose the town that doesn't have any guild castles.";
next;
if (select("Prontera:Al De Baran:Alberta:Payon") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "9. Choose the plant that drops Blue Herbs.";
@@ -324,54 +324,54 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
default:
break;
case 3:
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
break;
case 4:
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
break;
}
mes "[Markie]";
mes "10. Choose the monster that does not have the Undead property.";
next;
if (select("Zombie:Megalodon:Familiar:Khalitzburg") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
break;
case 3:
mes "[Markie]";
mes "1. By what percentage is the flee rate increased when a Thief masters the ^880000Improve Dodge^000000?";
next;
if (select("30:40:160:20") == 1)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "2. Choose the monster that detects a characters using the Hiding or Cloaking skill.";
next;
if (select("Worm Tail:Argos:Mummy:Soldier Skeleton") == 2)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "3. Choose the location where Thieves can change their jobs to Rogues.";
next;
if (select("Comodo:Kokomo Beach:Paros Lighthouse:Morroc") == 3)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "4. In which town can Novices change their jobs to Thieves?";
next;
if (select("Comodo:Lutie:Alberta:Morroc") == 4)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "5. Choose the card that does not affect the DEX stat.";
next;
if (select("Rocker Card:Mummy Card:Zerom Card:Drops Card") == 2)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "6. So what's cool about being a Rogue?";
next;
select("Being totally badass.:The clothes, the style.:Getting to call other people, 'foo'':Excellent attack strength");
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "7. When is it possible to change jobs from Thief to Rogue?";
@@ -380,17 +380,17 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
default:
break;
case 3:
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
break;
case 4:
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
break;
}
mes "[Markie]";
mes "8. You want to dye your hair blue. What town do you go to, and in which direction, with 12 o' clock being North.";
next;
if (select("Morroc, 7 o'clock:Prontera, 7 o'clock:Morroc, 5 o'clock:Prontera, 1 o'clock") == 2)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
mes "[Markie]";
mes "9. Choose the mushroom that is required on the Thief job change quest.";
@@ -400,14 +400,14 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
break;
case 1:
case 3:
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
break;
}
mes "[Markie]";
mes "10. Choose the card that least benefits the Rogue class.";
next;
if (select("Whisper Card:Elder Willow Card:Zerom Card:Matyr Card") == 2)
- set .@assassin_t,.@assassin_t+10;
+ .@assassin_t += 10;
}
mes "[Markie]";
mes "*Whew~*";
@@ -419,7 +419,7 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
mes "You got...";
mes "" + .@assassin_t + " points.";
if (.@assassin_t > 80) {
- set ROGUE_Q,2;
+ ROGUE_Q = 2;
setquest 2017;
mes "Good. You passed.";
mes "We don't gotta";
@@ -434,7 +434,7 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{
close;
}
else {
- set ROGUE_Q,1;
+ ROGUE_Q = 1;
mes "Aw crud... You failed!";
next;
mes "[Markie]";
@@ -506,14 +506,14 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
mes "[Mr. Smith]";
mes "What you have to understand is that the Rogue Guild does a lot of business, ^666666sometimes illegally^000000, that needs financial backup.";
next;
- set .@item_need,rand(1,15);
+ .@item_need = rand(1,15);
if (.@item_need > 0 && .@item_need < 6) callsub S_Req,"10 Skel-bone","6 Blue Herb","10 Decayed Nail","10 Horrendous Mouth",3;
else if (.@item_need > 5 && .@item_need < 11) callsub S_Req,"10 Green Herb","10 Crab Shell","10 Snake Scale","10 Garlet",4;
else if (.@item_need > 10 && .@item_need < 15) callsub S_Req,"10 Yellow Herb","10 Shell","10 Grasshopper's Leg","10 Bear's Footskin",5;
else if (.@item_need == 15) {
mes "[Mr. Smith]";
mes "I will let you know...";
- set ROGUE_Q,6;
+ ROGUE_Q = 6;
changequest 2017,2021;
next;
mes "[Mr. Smith]";
@@ -679,14 +679,14 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
delitem 917,5; //Talon
delitem 908,5; //Spawn
delitem 945,5; //Raccoon_Leaf
- set ROGUE_Q,8;
+ ROGUE_Q = 8;
next;
mes "[Mr. Smith]";
mes "Wow, you've brought each and every single thing I asked you to. Good work... I salute you.";
next;
mes "^CCCCCC- Middle Finger -^000000'";
mes "*Grins*";
- set ROGUE_Q,8;
+ ROGUE_Q = 8;
changequest 2021,2025;
next;
mes "[Mr. Smith]";
@@ -756,7 +756,7 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
mes "I send you to...?";
switch(rand(1,3)) {
case 1:
- set ROGUE_Q,9;
+ ROGUE_Q = 9;
if (questprogress(2018)) {
changequest 2018,2022;
}
@@ -793,7 +793,7 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
mes "Well, I will wish you luck. His place isn't that far from here, so come back as soon as possible. Being swift... That is the spirit of the Rogue.";
close;
case 2:
- set ROGUE_Q,10;
+ ROGUE_Q = 10;
if (questprogress(2018)) {
changequest 2018,2023;
}
@@ -829,7 +829,7 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
mes "Ah, you might want to remember the password to meet him in person. The password is ^0000FFAntonio doesn't enjoy destroying upgrade items^000000.";
close;
case 3:
- set ROGUE_Q,11;
+ ROGUE_Q = 11;
if (questprogress(2018)) {
changequest 2018,2024;
}
@@ -944,7 +944,7 @@ S_Req:
mes "^FF0000"+getarg(1)+"^000000,";
mes "^FF0000"+getarg(2)+"^000000 and";
mes "^FF0000"+getarg(3)+"^000000.";
- set ROGUE_Q,getarg(4);
+ ROGUE_Q = getarg(4);
if(getarg(4) == 3) {
changequest 2017,2018;
}
@@ -979,13 +979,13 @@ S_CheckItems:
delitem getarg(2),getarg(3);
delitem getarg(4),getarg(5);
delitem getarg(6),getarg(7);
- set ROGUE_Q,7;
+ ROGUE_Q = 7;
next;
mes "[Mr. Smith]";
mes "Great, great...";
mes "I think you";
mes "brought everything.";
- set ROGUE_Q,7;
+ ROGUE_Q = 7;
next;
mes "[Mr. Smith]";
mes "Alright, wait just a moment while";
@@ -1024,7 +1024,7 @@ OnTouch:
case 2:
mes "[" + strcharinfo(0) + "]";
mes "Aragham";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 3:
mes "[" + strcharinfo(0) + "]";
@@ -1040,7 +1040,7 @@ OnTouch:
case 2: mes "didn't"; break;
case 3:
mes "never";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 4: mes "ever"; break;
}
@@ -1048,7 +1048,7 @@ OnTouch:
case 1: mes "hoard"; break;
case 2:
mes "hoarded";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 3: mes "hide"; break;
case 4: mes "took"; break;
@@ -1057,7 +1057,7 @@ OnTouch:
switch(select("upgrade items.:forging items.:refining item.:upgrade item.")) {
case 1:
mes "upgrade items.";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 2: mes "forging items."; break;
case 3: mes "refining item."; break;
@@ -1090,7 +1090,7 @@ OnTouch:
case 1:
mes "[" + strcharinfo(0) + "]";
mes "My father";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 2:
mes "[" + strcharinfo(0) + "]";
@@ -1110,7 +1110,7 @@ OnTouch:
case 2: mes "didn't"; break;
case 3:
mes "never";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 4: mes "ever"; break;
}
@@ -1121,13 +1121,13 @@ OnTouch:
case 4: mes "took"; break;
case 5:
mes "hoarded";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
}
switch(select("upgrade items.:forging items.:refining item.:upgrade item.")) {
case 1:
mes "upgrade items.";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 2: mes "forging items."; break;
case 3: mes "refining item."; break;
@@ -1168,7 +1168,7 @@ OnTouch:
case 3:
mes "[" + strcharinfo(0) + "]";
mes "Antonio";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 4:
mes "[" + strcharinfo(0) + "]";
@@ -1179,7 +1179,7 @@ OnTouch:
case 1: mes "enjoys"; break;
case 2:
mes "doesn't enjoy";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 3: mes "likes"; break;
case 4: mes "doesn't like"; break;
@@ -1188,7 +1188,7 @@ OnTouch:
case 1: mes "damaging"; break;
case 2:
mes "destroying";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 3: mes "fixing"; break;
case 4: mes "forging"; break;
@@ -1198,7 +1198,7 @@ OnTouch:
case 2: mes "refining items."; break;
case 3:
mes "upgrade items.";
- set .@rogue_t,.@rogue_t+10;
+ .@rogue_t += 10;
break;
case 4: mes "refined items."; break;
case 5: mes "upgraded items."; break;
@@ -1250,7 +1250,7 @@ in_rogue,272,135,1 script Hermanthorn Jr#rg 4_M_03,{
mes "[HermanthornJr.]";
mes "Well...";
mes "Just make it back to the Rogue Guild alive. That's all you have to do!";
- set ROGUE_Q,12;
+ ROGUE_Q = 12;
changequest 2025,2026;
close;
}
@@ -1287,7 +1287,7 @@ OnTouch:
mes "has opened.^000000";
close2;
warp "in_rogue",10,21;
- set ROGUE_Q,12;
+ ROGUE_Q = 12;
end;
}
else {
@@ -1385,7 +1385,7 @@ OnMyMobDead:
in_rogue,9,389,0 script oneway_to_gu WARPNPC,1,1,{
OnTouch:
donpcevent "gen_ro#4::OnDisable";
- set ROGUE_Q,17;
+ ROGUE_Q = 17;
warp "in_rogue",367,10;
end;
}
@@ -1423,7 +1423,7 @@ in_rogue,244,39,1 script Aragham Junior#rg 4W_M_03,{
mes "Good luck, then.";
close2;
warp "in_rogue",15,105;
- set ROGUE_Q,13;
+ ROGUE_Q = 13;
changequest 2022,2026;
end;
}
@@ -1504,7 +1504,7 @@ in_rogue,160,34,1 script Hollgrehenn junior#rg 4_M_03,{
mes "Good luck.";
close2;
warp "in_rogue",15,105;
- set ROGUE_Q,15;
+ ROGUE_Q = 15;
changequest 2024,2026;
end;
}
@@ -1591,7 +1591,7 @@ in_rogue,177,109,1 script Antonio junior#rg 4_M_ORIENT01,{
mes "a Rogue if you pass...";
close2;
warp "in_rogue",15,105;
- set ROGUE_Q,14;
+ ROGUE_Q = 14;
changequest 2023,2026;
end;
}
@@ -1649,7 +1649,7 @@ in_rogue,177,109,1 script Antonio junior#rg 4_M_ORIENT01,{
in_rogue,370,320,0 script quest_out WARPNPC,1,1,{
OnTouch:
- set ROGUE_Q,16;
+ ROGUE_Q = 16;
warp "in_rogue",378,113;
end;
}
diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt
index 4f0db7888..46493312c 100644
--- a/npc/jobs/2-2/sage.txt
+++ b/npc/jobs/2-2/sage.txt
@@ -126,7 +126,7 @@ yuno_in02,38,61,5 script Dean of the Academy#sa 2_M_SAGE_OLD,{
else if (SAGE_Q == 15) {
if (countitem(1550) > 0) {
if (JobLevel < 40) {
- set SAGE_Q,0;
+ SAGE_Q = 0;
mes "You don't seem to be qualified yet.";
mes "Remember, you must reach at least job level 40 to become a Sage.";
close2;
@@ -329,7 +329,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "[Metheus Sylphe]";
mes "Yes, everything's ready.";
mes "Next, you will take an entrance test.";
- set SAGE_Q,4;
+ SAGE_Q = 4;
setquest 2041;
next;
mes "[Metheus Sylphe]";
@@ -347,7 +347,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "[Metheus Sylphe]";
mes "Thank you, your application has been accepted.";
mes "Next, you will take an entrance test.";
- set SAGE_Q,4;
+ SAGE_Q = 4;
setquest 2041;
next;
mes "[Metheus Sylphe]";
@@ -366,7 +366,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "[Metheus Sylphe]";
mes "Thank you, your application has been accepted.";
mes "Next, you will take the entrance test.";
- set SAGE_Q,4;
+ SAGE_Q = 4;
setquest 2041;
next;
mes "[Metheus Sylphe]";
@@ -405,7 +405,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "[Metheus Sylphe]";
mes "Yes, everything's ready.";
mes "Next, you will take the entrance test.";
- set SAGE_Q,4;
+ SAGE_Q = 4;
setquest 2041;
next;
mes "[Metheus Sylphe]";
@@ -438,7 +438,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
next;
switch(rand(1,3)) {
case 1:
- set SAGE_Q,1;
+ SAGE_Q = 1;
setquest 2043;
mes "[Metheus Sylphe]";
mes "Please gather the following items.";
@@ -450,7 +450,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "If you bring those items, your tuition will be 30,000 zeny, in lieu of the original 70,000 zeny fee.";
break;
case 2:
- set SAGE_Q,2;
+ SAGE_Q = 2;
setquest 2044;
mes "[Metheus Sylphe]";
mes "Please gather the following items.";
@@ -462,7 +462,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "If you bring the aforementioned items, the tuition fee will be 30,000 zeny, rather than the original 70,000 zeny fee.";
break;
case 3:
- set SAGE_Q,3;
+ SAGE_Q = 3;
setquest 2045;
mes "[Metheus Sylphe]";
mes "Please gather the following items.";
@@ -511,14 +511,14 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
delitem 1007,1; //Penetration
mes "[Metheus Sylphe]";
mes "Well done. Let me proceed with your application request.";
- set SAGE_Q,4;
+ SAGE_Q = 4;
next;
}
else if (Zeny > 69999) {
Zeny -= 70000;
mes "[Metheus Sylphe]";
mes "Well done. Let me proceed with your application request.";
- set SAGE_Q,4;
+ SAGE_Q = 4;
next;
}
else {
@@ -539,17 +539,17 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
setarray .@count[0], 50,50,50,50;
break;
}
- set .@size, (getarraysize(.@item)-1);
- for( set .@i,0 ; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i] ; set .@i,.@i+1 );
+ .@size = (getarraysize(.@item)-1);
+ for (.@i = 0 ; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i] ; ++.@i);
if(.@i == .@size) {
if (Zeny > 29999) {
- for (set .@i, 0; .@i < .@size ; set .@i, .@i+1)
+ for (.@i = 0; .@i < .@size ; ++.@i)
delitem .@item[.@i], .@count[.@i];
Zeny -= 30000;
mes "[Metheus Sylphe]";
mes "Well done. Let me proceed with your application request.";
- set .@SAGE_Q_T,SAGE_Q;
- set SAGE_Q,4;
+ .@SAGE_Q_T = SAGE_Q;
+ SAGE_Q = 4;
next;
}
mes "[Metheus Sylphe]";
@@ -594,7 +594,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{
mes "[Metheus Sylphe]";
mes "Ah yes, everything is in readiness.";
mes "Next, you will take an entrance test.";
- set SAGE_Q,4;
+ SAGE_Q = 4;
if (questprogress(2043)) {
changequest 2043,2041;
}
@@ -714,247 +714,247 @@ L_AskQuestions:
mes "1. Choose an item that the Gift merchant in Prontera does not sell.";
next;
if (select("China:Red Frame:Bouquet:Glass Bead") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "2. Choose a city where you cannot purchase a Stiletto.";
next;
if (select("Prontera:Morroc:Geffen:Lutie") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "3. Choose the closest city to Turtle Island.";
next;
if (select("Al De Baran:Alberta:Comodo:Izlude") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "4. Choose the monster that is a different type than the others.";
next;
if (select("Raggler:Pest:Frilldora:Aster") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "5. Choose the monster that has a different attribute than the others.";
next;
if (select("Mantis:Metaller:Rocker:Horn") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "6. Choose the monster that is different sized than the others.";
next;
if (select("Raydric:Raydric Archer:Wanderer:Dark Frame") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "7. Choose the monster which doesn't drop 'Alcohol'.";
next;
if (select("Horong:Plankton:Poison Spore:Toad") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "8. Choose the NPC that is irrelevant to the Knight job change quest.";
next;
if (select("Sir Siracuse:Thomas Servantes:Sir Windsor:Lady Amy") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "9. Choose the NPC that is not a citizen of Prontera.";
next;
if (select("Tono:Pina:YuPi:Hollgrehenn") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "10. Choose the right name for the Kafra lady who wears glasses.";
next;
if (select("Pavianne:Roxie:Leilah:Curly Sue") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "11. How much SP is spent to use lvl 7 Thunderstorm?";
next;
if (select("49:59:69:74") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "12. Choose the right amount of damage reduction and SP consumption of the Energy Coat skill when the caster's remaining SP is 50%.";
next;
if (select("Damage -24% SP1.5%:Damage -24% SP2%:Damage -18% SP1.5%:Damage -18% SP2%") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "13. Choose the property that is irrelevant to 'Bolt' type skills for the Mage class.";
next;
if (select("Water:Earth:Fire:Wind") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "14. Choose the right chance and attack strength for lvl 7 Double Attack, the Thief skill.";
next;
if (select("35% / 120%:35% / 140%:40% / 120%:40% / 140%") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "15. Choose the skill that is irrelevant to learning Magnus Exorcismus, the Priest skill.";
next;
if (select("Divine Protection:Heal:Ruwach:Aqua Benedicta") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "16. Choose the correct defense and ability of the Bunny Band.";
next;
if (select("1 / LUK +2:1 / LUK +5:2 / LUK +2:2 / LUK +5") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "17. Choose the class that cannot equip Padded Armor.";
next;
if (select("Swordman:Merchant:Thief:Archer") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "18. Choose the item that cures all abnormal status and restores full HP and SP at the same time.";
next;
if (select("Royal Jelly:Yggdrasil Seed:Yggdrasilberry:Mastella Fruit") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "19. Who rules the Rune-Midgarts kingdom right now?";
next;
if (select("Tristun the 3rd:Tristram the 3rd:Tristar the 3rd:Trast the 3rd") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "20. Choose the god of Crusaders.";
next;
if (select("Odin:Loki:Thor:Venadin") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
break;
case 2:
mes "1. Choose the jewel that the Morroc Jewel Merchant does not sell.";
next;
if (select("Topaz:Garnet:Diamond:Sapphire") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "2. Choose the city where users cannot purchase Monster's Feed from an NPC.";
next;
if (select("Prontera:Morroc:Al De Baran:Alberta") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "3. Choose the closest city to the Maze.";
next;
if (select("Prontera:Morroc:Geffen:Payon") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "4. Choose the monster that is a different type than the others.";
next;
if (select("Muka:Drops:Plankton:Penomena") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "5. Choose the monster with the different attribute.";
next;
if (select("Dokebi:Isis:Giearth:Deviruchi") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "6. Choose the monster that is different in size.";
next;
if (select("Thiefbug (Aggressive):Horn:Metaller:Argos") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "7. Choose the monster which does not drop 'Yggdrasil Leaf'.";
next;
if (select("Marduk:Baphomet Jr.:Angeling:Wanderer") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "8. Choose the NPC that is irrelevant to the Priest job change quest.";
next;
if (select("Paul:Sir Windsor:Peter S. Alberto:Cecilia") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "9. Choose the NPC that is not a citizen of Morroc.";
next;
if (select("Syvia:Akira:Antonio:Dmitrii") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "10. Choose the Kafra lady who has gorgeous blue hair.";
next;
if (select("Pavianne:Roxie:Leilah:Curly Sue") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "11. Choose the skill that is irrelevant to learning Fire Wall, the Mage skill.";
next;
if (select("lvl 4 Fire Bolt:lvl 4 Napalm Beat:lvl 5 Fire Ball:lvl 1 Sight") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "12. How much SP can be restored when learning SP recovery at lvl 6 (without being affected by INT)?";
next;
if (select("14:16:18:21") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "13. How many INT points does a Mage receive as a bonus at job lvl 33?";
next;
if (select("7:6:5:4") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "14. Choose the correct SP consumption and the skill duration for Improve Concentration lvl 5 (Archer skill).";
next;
if (select("45 / 80 sec:50 / 80 sec:45 / 90 sec:50 / 90 sec") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "15. Choose the skill that is irrelevant to learning Maximize Power, the Blacksmith skill.";
next;
if (select("Hilt Binding:Skin Tempering:Hammer Fall:Weapon Perfection") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "16. What is the correct defense rate and ability of Cute Ribbon?";
next;
if (select("0 / SP +20:0 / SP +30:1 / SP +20:1 / SP +30") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "17. Choose the class that cannot equip Saint Robe.";
next;
if (select("Swordman:Merchant:Thief:Acolyte") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "18. Choose the abnormal status that cannot be cured by Green Potion.";
next;
if (select("Silence:Chaos:Blind:Curse") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "19. Choose the correct name for the ancient kingdom that disappeared somewhere in Geffen.";
next;
if (select("Geffayon:Geffenia:Gefenn:Jaffen") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "20. Choose the correct name for the tree that has become the root of this world.";
next;
if (select("Yggdrasil:Iggdrassil:Mastella:Dead Branch") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
break;
case 3:
mes "1. Choose the item that the Magical Tool merchant in Geffen does not sell.";
next;
if (select("Mantle:Wand:Circlet:Silver Robe") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "2. Choose the city where users cannot purchase Blade from an NPC.";
next;
if (select("Prontera:Izlude:Al De Baran:Payon") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "3. Choose the closest city to Glast Heim.";
next;
if (select("Prontera:Geffen:Morroc:Payon") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "4. Choose the monster that is a different type than the others.";
next;
if (select("Aster:Marc:Marse:Marin") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "5. Choose the monster that has a different attribute.";
next;
if (select("Baby Desert Wolf:Smokie:Picky:Choco") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "6. Choose the monster that is different sized.";
next;
if (select("Drake:Wraith:Evil Druid:Khalitzburg") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "7. Choose the monster that does not drop 'Phracon'.";
next;
if (select("Pupa:Peco Peco Egg:Savage Bebe:Baby Desert Wolf") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "8. Choose the NPC that is irrelevant to the Blacksmith job change quest.";
next;
if (select("Altiregen:Geschupenschte:Barcadi:Baisulist") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "9. Choose the NPC that is not a citizen of Al De Baran.";
next;
if (select("RS125:GOD-POING:Stromme:Chemirre") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "10. Choose the Kafra lady who is the youngest among the staff.";
next;
if (select("Pavianne:Roxie:Leilah:Curly Sue") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "11. Choose the correct SP consumption and the number of evasions when using Safety Wall lvl 6.";
next;
if (select("SP 40, 6 times:SP 35, 6 times:SP 40, 7 times:SP 35, 7 times") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "12. Choose the correct amount of magic attack for Napalm Beat lvl 6.";
next;
if (select("MATK * 1.2:MATK * 1.3:MATK * 1.4:MATK * 1.5") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "13. Choose the catalyst stone for Mage Solution no. 4 that is used for the Mage job change quest.";
next;
if (select("Blue Gemstone:Red Gemstone:Yellow Gemstone:1 carat Diamond") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "14. Choose the correct attack strength and SP consumption for Bash lvl 6, the Swordman skill.";
next;
if (select("250% / 8:280% / 8:280% / 15:310% / 15") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "15. Choose the skill that is irrelevant to learning Claymore Trap, the Hunter skill.";
next;
if (select("Remove Trap:Land Mine:Ankle Snare:Flasher") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "16. Choose the correct defense and ability of Wedding Veil.";
next;
if (select("0 / MDEF +3:0 / MDEF +5:1 / MDEF +3:1 / MDEF +5") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "17. Choose the class that cannot equip Coat.";
next;
if (select("Swordman:Merchant:Thief:Novice") == 4)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "18. Choose the item that is not an ingredient for Blue Dyestuffs.";
next;
if (select("Alcohol:Detrimindexta:Karvodailnirol:Blue Herb") == 3)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "19. When the world was created by the god Odin, what did he use for the material?";
next;
if (select("The heart of Ymir:The nail of Ymir:The tooth of Ymir:The memento of Ymir") == 1)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
mes "20. Choose the metal that has rumored to bring fortune and fame to a person with the destiny.";
next;
if (select("Empelium Gold:Emperium:Emperor:Phracon") == 2)
- set .@sage_t,.@sage_t+5;
+ .@sage_t += 5;
}
mes "[Claytos Verdo]";
if (SAGE_Q == 4) {
@@ -977,7 +977,7 @@ L_AskQuestions:
mes "Excellent! You seem fully qualified to become a Sage!";
else
mes "Excellent! You must have studed really hard for this test!";
- set SAGE_Q,6;
+ SAGE_Q = 6;
changequest 2041,2046;
next;
mes "[Claytos Verdo]";
@@ -985,7 +985,7 @@ L_AskQuestions:
mes "Go visit Professor Hermes for the practical examination.";
}
else if (.@sage_t >= 80) {
- set SAGE_Q,6;
+ SAGE_Q = 6;
changequest 2041,2046;
mes "Yeah, not bad. I assume that you will at least understand what you're going to learn in class.";
next;
@@ -995,7 +995,7 @@ L_AskQuestions:
}
else {
if (SAGE_Q == 4) {
- set SAGE_Q,5;
+ SAGE_Q = 5;
mes "Oh well...what a shame: You failed.";
next;
mes "[Claytos Verdo]";
@@ -1020,11 +1020,11 @@ L_AskQuestions:
mes "You will take the written test under the same conditions as the test you took before. I'll give you 20 questions.";
mes "Each correct answer will give you 5 points. When your score reaches 80 points, you pass the test.";
next;
- set sage_m2,rand(1,3);
+ sage_m2 = rand(1,3);
mes "[Claytos Verdo]";
mes "Okay, there's no need to wait.";
mes "Answer immediately, or I'll fail you again.";
- set SAGE_Q,5;
+ SAGE_Q = 5;
goto L_AskQuestions;
end;
}
@@ -1127,7 +1127,7 @@ yuno_in03,169,180,3 script Practical Examination P 4_M_SAGE_C,{
mes "How about it? Are you ready to take this test?";
next;
if (select("Yes, I am.:Sorry, give me some time.") == 1) {
- set SAGE_Q,7;
+ SAGE_Q = 7;
mes "[Hermes Tris]";
mes "Good, let's start immediately.";
mes "Do your best and come back safely!";
@@ -1135,7 +1135,7 @@ yuno_in03,169,180,3 script Practical Examination P 4_M_SAGE_C,{
warp "job_sage",50,154;
end;
}
- set SAGE_Q,7;
+ SAGE_Q = 7;
mes "[Hermes Tris]";
mes "Yes, you don't need to hurry... take your time and come back.";
close;
@@ -1173,7 +1173,7 @@ yuno_in03,169,180,3 script Practical Examination P 4_M_SAGE_C,{
next;
switch(rand(1,3)) {
case 1:
- set SAGE_Q,9;
+ SAGE_Q = 9;
changequest 2046,2047;
mes "[Hermes Tris]";
mes "Now, you will study Yggdrasil.";
@@ -1187,7 +1187,7 @@ yuno_in03,169,180,3 script Practical Examination P 4_M_SAGE_C,{
mes "I wish you luck.";
close;
case 2:
- set SAGE_Q,11;
+ SAGE_Q = 11;
changequest 2046,2048;
mes "[Hermes Tris]";
mes "Now, you will study monsters.";
@@ -1201,7 +1201,7 @@ yuno_in03,169,180,3 script Practical Examination P 4_M_SAGE_C,{
mes "I wish you luck.";
close;
case 3:
- set SAGE_Q,13;
+ SAGE_Q = 13;
changequest 2046,2049;
mes "[Hermes Tris]";
mes "Now, you will study magic skills that have certain properties.";
@@ -1346,7 +1346,7 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "Anything is fine as long as it's related to the Yggdrasil tree.";
mes "Seeds or fruits of the tree would be good. I know it's difficult to find, but please try.";
next;
- set SAGE_Q2,1;
+ SAGE_Q2 = 1;
changequest 2047,2050;
mes "[Saphien Layless]";
mes "When we have the reserve items, we will start the class.";
@@ -1471,8 +1471,8 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "^3355FF1 Squid Ink^000000 which will be used as ink,";
mes "^3355FF1 Empty Bottle^000000 which will be used for holding the squid ink.";
next;
- set SAGE_Q2,0;
- set SAGE_Q,10;
+ SAGE_Q2 = 0;
+ SAGE_Q = 10;
changequest 2050,2051;
mes "[Saphien Layless]";
mes "I will help you to write your thesis when you're ready with all those items.";
@@ -1500,36 +1500,36 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "The ocean is coiled up by";
switch(select("A giant ash tree.:A giant snake Yormungandr.:A giant turtle and elephants.:A giant dragon.")) {
case 1:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "A giant ash tree.";
break;
case 2:
mes "A giant snake Yormungandr.";
break;
case 3:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "A giant turtle and elephants.";
break;
case 4:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "A giant dragon.";
break;
}
mes "The continent consists of three places such as,";
switch(select("Mt.Mjolnir, where spiders live,:Uranos, where titans live,:Utgard, where titans live,:Lutie, the winter land,")) {
case 1:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Mt.Mjolnir where spiders live,";
break;
case 2:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Uranos where titans live,";
break;
case 3:
mes "Utgard where titans live,";
break;
case 4:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Lutie, the winter land,";
break;
}
@@ -1538,32 +1538,32 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "Midgard, where humans live in,";
break;
case 2:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Rune-Midgarts, where humans live,";
break;
case 3:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Tritonia, where mermaids live,";
break;
case 4:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Morroc, the desert city,";
break;
}
switch(select("Abguard, where gods live.:Asgard, where gods live.:Schwarzwald, where citizens live.:Prontera, the capital of Rune-Midgarts.")) {
case 1:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Abguard where gods live.";
break;
case 2:
mes "Asgard, where gods live.";
break;
case 3:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Schwarzwald, where citizens live.";
break;
case 4:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Prontera, the capital of Rune-Midgarts.";
break;
}
@@ -1586,30 +1586,30 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "A giant ash tree.";
break;
case 2:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "A fabulous Mastella tree.";
break;
case 3:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "A giant willow.";
break;
case 4:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "A giant dead branch.";
break;
}
mes "The root of Yggdrasil is divided into 3 parts. Those parts reach to 3 places...";
switch(select("Schwarzwald, Jotunnheim, Niflheim.:Midgard, Jotunnheim, Naffleheim.:Asgard, Jotunnheim, Naffleheim.:Asgard, Jotunnheim, Niflheim.")) {
case 1:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Schwarzwald, Jotunnheim, Niflheim.";
break;
case 2:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Midgard, Jotunnheim, Naffleheim.";
break;
case 3:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "Asgard, Jotunnheim, Naffleheim.";
break;
case 4:
@@ -1619,18 +1619,18 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
mes "One who has a Seed of Yggdrasil,";
switch(select("can be cured from all the abnormal statuses.:can restore full HP and SP at once.:can restore half of total HP and SP.:can be cured from Silence, Curse and Chaos.")) {
case 1:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "can be cured from all the abnormal statuses.";
break;
case 2:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "can restore full HP and SP at once.";
break;
case 3:
mes "can restore half of total HP and SP.";
break;
case 4:
- set .@w_point,.@w_point+1;
+ .@w_point += 1;
mes "can be cured from Silence, Curse and Chaos.";
break;
}
@@ -1651,7 +1651,7 @@ yuno_in03,62,176,2 script History Professor#sa 4_M_MANAGER,{
next;
mes ".................................";
next;
- set SAGE_Q,15;
+ SAGE_Q = 15;
changequest 2051,2052;
mes "[Saphien Layless]";
mes "Oh, did you finish already? Well done.";
@@ -1758,13 +1758,13 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "Yes, that's what I guessed about you. You're just book smart.";
mes "However, I am sure you will encounter most of the monsters mentioned in my lecture.";
next;
- set sage_m4,rand(1,3);
+ sage_m4 = rand(1,3);
mes "[Lucius Celsus]";
mes "Let's get started.";
mes "Make sure you're ready for the practical examination during my lecture.";
next;
if (sage_m4 == 1) {
- set SAGE_Q2,1;
+ SAGE_Q2 = 1;
changequest 2048,2053;
mes "[Lucius Celsus]";
mes "Go bring the following items to me.";
@@ -1773,7 +1773,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "5 ^3355FFFish Tail^000000.";
}
else if (sage_m4 == 2) {
- set SAGE_Q2,2;
+ SAGE_Q2 = 2;
changequest 2048,2054;
mes "[Lucius Celsus]";
mes "Go bring the following items to me.";
@@ -1782,7 +1782,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "5 ^3355FFHeart of Mermaid^000000.";
}
else {
- set SAGE_Q2,3;
+ SAGE_Q2 = 3;
changequest 2048,2054;
mes "[Lucius Celsus]";
mes "Go bring following items to me.";
@@ -1824,7 +1824,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "Most fish class monsters live underwater, so they are attributed with the water property.";
break;
case 3:
- set sage_m4,4;
+ sage_m4 = 4;
mes "[Lucius Celsus]";
mes "...I didn't know Phens were aggressive nowadays?";
mes "Or do Marina and Plankton team up to start a fight with you?";
@@ -1834,7 +1834,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "They are all fishes and possess water property.";
break;
case 4:
- set sage_m4,4;
+ sage_m4 = 4;
mes "[Lucius Celsus]";
mes "What...! What are you here for!? You are here to study about specific monsters, microcephalic moron!";
mes "Sigh...they are all fishes and possess water property.";
@@ -1852,7 +1852,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "Although you might want to be careful of monsters that recognize magic casting.";
break;
case 2:
- set sage_m4,4;
+ sage_m4 = 4;
mes "[Lucius Celsus]";
mes "What? Fire Bolt! Fire cannot beat water, you imbecile!";
mes "Most fishes are attributed with the water property. Therefore, they are weak to wind property magic spells. Don't you get it?";
@@ -1863,7 +1863,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "However, you will be in trouble if you use the spell in a poorly chosen spot.";
break;
case 4:
- set sage_m4,4;
+ sage_m4 = 4;
mes "[Lucius Celsus]";
mes "I can't fathom such stupidity! This question asks you to choose a property that counters water! Don't you get it?";
mes "Logically, any magic spell possessing the water property cannot overcome the water atrribute monsters!";
@@ -1880,7 +1880,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
next;
switch(rand(1,4)) {
case 1:
- set SAGE_Q2,4;
+ SAGE_Q2 = 4;
if (questprogress(2053)) {
changequest 2053,2056;
}
@@ -1895,7 +1895,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "5 ^3355FFInsect Feeler^000000.";
break;
case 2:
- set SAGE_Q2,5;
+ SAGE_Q2 = 5;
if (questprogress(2053)) {
changequest 2053,2057;
}
@@ -1910,7 +1910,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "5 ^3355FFMoth Dust^000000.";
break;
case 3:
- set SAGE_Q2,6;
+ SAGE_Q2 = 6;
if (questprogress(2053)) {
changequest 2053,2058;
}
@@ -1925,7 +1925,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "5 ^3355FFRainbow Shell^000000.";
break;
case 4:
- set SAGE_Q2,7;
+ SAGE_Q2 = 7;
if (questprogress(2053)) {
changequest 2053,2059;
}
@@ -2000,8 +2000,8 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
mes "^3355FF1 Squid Ink^000000 which will be used as ink,";
mes "^3355FF1 Empty Bottle^000000 which will be used for holding squid ink.";
next;
- set SAGE_Q2,0;
- set SAGE_Q,12;
+ SAGE_Q2 = 0;
+ SAGE_Q = 12;
if (questprogress(2056)) {
changequest 2056,2051;
}
@@ -2074,7 +2074,7 @@ yuno_in03,32,102,1 script Biology Professor#sa 4_M_SAGE_C,{
next;
mes ".................................";
next;
- set SAGE_Q,15;
+ SAGE_Q = 15;
changequest 2051,2052;
mes "[Lucius Celsus]";
mes "Are you done? Okay, then it's over.";
@@ -2179,7 +2179,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "Please bring me ^3355FF30 Stone^000000, that's all.";
mes "It's not so hard, isn't it?";
next;
- set SAGE_Q2,1;
+ SAGE_Q2 = 1;
changequest 2049,2060;
mes "[Aebecee George]";
mes "Why don't you ask a thief pal for help?";
@@ -2215,7 +2215,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "[Aebecee George]";
mes "I will give you these elemental ores...but...they are not for free.";
mes "Whoa there cowboy! Don't pull out so soon~ Listen, tee hee~";
- set SAGE_Q2,2;
+ SAGE_Q2 = 2;
changequest 2060,2061;
next;
mes "[Aebecee George]";
@@ -2274,7 +2274,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "[Aebecee George]";
mes "When you come to the next class, bring ^3355FF1 Holy Water^000000~";
mes "I hope you have at least one Priest friend. Oh, you don't? Well, it couldn't hurt to get friendly with one.";
- set SAGE_Q2,3;
+ SAGE_Q2 = 3;
changequest 2061,2062;
close;
}
@@ -2323,8 +2323,8 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
mes "[Aebecee George]";
mes "Well, that's it. You can write your thesis with what I've taught you!";
mes "Tee hee~ yes! Yes! I am the best teacher in the world! Oh, I am on fire! Tee hee~";
- set SAGE_Q2,0;
- set SAGE_Q,14;
+ SAGE_Q2 = 0;
+ SAGE_Q = 14;
changequest 2062,2051;
next;
mes "[Aebecee George]";
@@ -2491,7 +2491,7 @@ yuno_in03,244,31,3 script Physics Professor#sa 2_M_PHARMACIST,{
next;
mes ".................................";
next;
- set SAGE_Q,15;
+ SAGE_Q = 15;
changequest 2051,2052;
mes "[Aebecee George]";
mes "Tee hee, so... are you done with your thesis? What do you think of your work? I think you did fine~";
@@ -2584,7 +2584,7 @@ OnInit:
OnEnable:
enablenpc "Arena#1";
- set .MyMobs,16;
+ .MyMobs = 16;
monster "job_sage",111,102,"Grade F",1183,1,"Arena#1::OnMyMobDead";
monster "job_sage",120,102,"Grade F",1183,1,"Arena#1::OnMyMobDead";
monster "job_sage",111,93,"Grade F",1183,1,"Arena#1::OnMyMobDead";
@@ -2609,7 +2609,7 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "job_sage"," " + strcharinfo(0) + ", successfully defeat all the monsters.",bc_map;
donpcevent "Arena#2::OnEnable";
@@ -2682,7 +2682,7 @@ OnEnable:
enablenpc "Arena#2";
donpcevent "Arena#1::OnReset";
disablenpc "Arena#1";
- set .MyMobs,24;
+ .MyMobs = 24;
monster "job_sage",111,102,"Numerical Value",1063,1,"Arena#2::OnMyMobDead";
monster "job_sage",111,102,"Physics",1063,1,"Arena#2::OnMyMobDead";
monster "job_sage",111,102,"History",1063,1,"Arena#2::OnMyMobDead";
@@ -2715,7 +2715,7 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "job_sage"," " + strcharinfo(0) + ", successfully defeat all the monsters.",bc_map;
donpcevent "Arena#Doorkeeper::OnEnable";
@@ -2785,7 +2785,7 @@ OnEnable:
enablenpc "Arena#Doorkeeper";
donpcevent "Arena#2::OnReset";
disablenpc "Arena#2";
- set .MyMobs,1;
+ .MyMobs = 1;
monster "job_sage",116,97,"Academic Probation",1179,1,"Arena#Doorkeeper::OnMyMobDead";
initnpctimer;
end;
@@ -2800,10 +2800,10 @@ OnDisable:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "job_sage","Congratulations, " + strcharinfo(0) + ". You passed the test.",bc_map;
- set SAGE_Q,8;
+ SAGE_Q = 8;
donpcevent "Test Helper#sg::OnEnable";
disablenpc "Arena#Doorkeeper";
stopnpctimer;