summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1
diff options
context:
space:
mode:
authormasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-05 15:26:07 +0000
committermasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-05 15:26:07 +0000
commitf569968e15e9c89222713c7c3a61b8240df36db8 (patch)
tree07f638caf16f2047e0b0bf03bdd6a376eb0910c1 /npc/jobs/2-1
parent57fbcef315050450da17f4b8abaaa7c8eb9e1837 (diff)
downloadhercules-f569968e15e9c89222713c7c3a61b8240df36db8.tar.gz
hercules-f569968e15e9c89222713c7c3a61b8240df36db8.tar.bz2
hercules-f569968e15e9c89222713c7c3a61b8240df36db8.tar.xz
hercules-f569968e15e9c89222713c7c3a61b8240df36db8.zip
- This should fix all job quests which didn't work after the update.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16584 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-1')
-rw-r--r--npc/jobs/2-1/assassin.txt499
-rw-r--r--npc/jobs/2-1/hunter.txt1624
-rw-r--r--npc/jobs/2-1/knight.txt1200
-rw-r--r--npc/jobs/2-1/priest.txt422
-rw-r--r--npc/jobs/2-1/wizard.txt370
5 files changed, 1789 insertions, 2326 deletions
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt
index a20493a47..c18d1d819 100644
--- a/npc/jobs/2-1/assassin.txt
+++ b/npc/jobs/2-1/assassin.txt
@@ -686,8 +686,7 @@ OnTouch:
mes "I am not necessarily cruel. Before we proceed, is there anything you wish to know?";
next;
}
- set ASSIN_Q3,0;
- while (1) {
+ while(ASSIN_Q3 < 3) {
switch (select("...Skills?:...Stats?:Hmpf, I know it all.")) {
case 1:
mes "[The Anonymous One]";
@@ -773,11 +772,10 @@ OnTouch:
set ASSIN_Q3,3;
changequest 8001,8002;
next;
- break;
} else {
set ASSIN_Q3,3;
changequest 8001,8002;
- break;
+ next;
}
break;
}
@@ -959,7 +957,7 @@ OnTouch:
mes "[The Anonymous One]";
mes "6. Choose the correct specialty of the Assassin class.";
next;
- select("Excellent singing talent:Excellent reading talent:Excellent dancing talent:Excellent dodge ability");
+ if(select("Excellent singing talent:Excellent reading talent:Excellent dancing talent:Excellent dodge ability") == 4);
set @assassin_t,@assassin_t + 10;
mes "[The Anonymous One]";
mes "7. Choose the maximum AGI bonus an Assassin can get at job level 50.";
@@ -1312,7 +1310,7 @@ OnInit:
OnStartArena:
warpwaitingpc "in_moc_16",66,151;
attachrid($@warpwaitingpc[0]);
- if(ASSIN_Q2<5) {
+ if(ASSIN_Q3 < 5) {
warpchar "in_moc_16",20,145,getcharid(0);
end;
}
@@ -1412,11 +1410,11 @@ in_moc_16,1,1,0 script Beholder#ASNTEST 139,{
end;
OnInit:
- hideonnpc "Beholder#ASNTEST";
+ disablenpc "Beholder#ASNTEST";
end;
OnEnable:
- hideoffnpc "Beholder#ASNTEST";
+ enablenpc "Beholder#ASNTEST";
monster "in_moc_16",62,161,"Job change target",1002,1,"Beholder#ASNTEST::OnMyMobDead";
monster "in_moc_16",85,169,"Job change target",1063,1,"Beholder#ASNTEST::OnMyMobDead";
monster "in_moc_16",88,152,"Job change target",1002,1,"Beholder#ASNTEST::OnMyMobDead";
@@ -1455,7 +1453,7 @@ OnMyMobDead:
end;
OnDisable:
- hideonnpc "Beholder#ASNTEST";
+ disablenpc "Beholder#ASNTEST";
end;
OnTimer1000:
@@ -1538,16 +1536,16 @@ OnTouch:
end;
OnInit:
- hideonnpc "backers#ASN";
+ disablenpc "backers#ASN";
end;
OnEnable:
donpcevent "job_asn_test::OnDisable";
- hideoffnpc "backers#ASN";
+ enablenpc "backers#ASN";
end;
OnDisable:
- hideonnpc "backers#ASN";
+ disablenpc "backers#ASN";
end;
}
@@ -1563,7 +1561,7 @@ in_moc_16,2,1,0 script Beholder#ASNTEST2 139,{
end;
OnInit:
- hideonnpc "Beholder#ASNTEST2";
+ disablenpc "Beholder#ASNTEST2";
end;
OnReset:
@@ -1571,11 +1569,11 @@ OnReset:
end;
OnDisable:
- hideonnpc "Beholder#ASNTEST2";
+ disablenpc "Beholder#ASNTEST2";
end;
OnEnable:
- hideoffnpc "Beholder#ASNTEST2";
+ enablenpc "Beholder#ASNTEST2";
monster "in_moc_16",62,161,"Job change creature",1063,1,"Beholder#ASNTEST2::OnMyMobDead";
monster "in_moc_16",85,169,"Job change creature",1031,1,"Beholder#ASNTEST2::OnMyMobDead";
monster "in_moc_16",79,174,"Job change creature",1113,1,"Beholder#ASNTEST2::OnMyMobDead";
@@ -1636,177 +1634,177 @@ OnTouch:
end;
OnEnable:
- hideoffnpc "01_1";
- hideoffnpc "01_2";
- hideoffnpc "01_3";
- hideoffnpc "01_4";
- hideoffnpc "02_1";
- hideoffnpc "02_2";
- hideoffnpc "02_3";
- hideoffnpc "02_4";
- hideoffnpc "03_1";
- hideoffnpc "03_2";
- hideoffnpc "03_3";
- hideoffnpc "03_4";
- hideoffnpc "04_1";
- hideoffnpc "04_2";
- hideoffnpc "04_3";
- hideoffnpc "04_4";
- hideoffnpc "05_1";
- hideoffnpc "05_2";
- hideoffnpc "05_3";
- hideoffnpc "05_4";
- hideoffnpc "06_1";
- hideoffnpc "06_2";
- hideoffnpc "06_3";
- hideoffnpc "06_4";
- hideoffnpc "07_1";
- hideoffnpc "07_2";
- hideoffnpc "07_3";
- hideoffnpc "07_4";
- hideoffnpc "08_1";
- hideoffnpc "08_2";
- hideoffnpc "08_3";
- hideoffnpc "08_4";
- hideoffnpc "09_1";
- hideoffnpc "09_2";
- hideoffnpc "09_3";
- hideoffnpc "09_4";
- hideoffnpc "10_1";
- hideoffnpc "10_2";
- hideoffnpc "10_3";
- hideoffnpc "10_4";
- hideoffnpc "10_5";
- hideoffnpc "10_6";
- hideoffnpc "10_7";
- hideoffnpc "10_8";
- hideoffnpc "11_1";
- hideoffnpc "11_2";
- hideoffnpc "11_3";
- hideoffnpc "11_4";
- hideoffnpc "12_1";
- hideoffnpc "12_2";
- hideoffnpc "12_3";
- hideoffnpc "12_4";
- hideoffnpc "13_1";
- hideoffnpc "13_2";
- hideoffnpc "13_3";
- hideoffnpc "13_4";
- hideoffnpc "14_1";
- hideoffnpc "14_2";
- hideoffnpc "14_3";
- hideoffnpc "14_4";
- hideoffnpc "14_5";
- hideoffnpc "14_6";
- hideoffnpc "14_7";
- hideoffnpc "14_8";
- hideoffnpc "14_9";
- hideoffnpc "14_10";
- hideoffnpc "14_11";
- hideoffnpc "14_12";
- hideoffnpc "15_1";
- hideoffnpc "15_2";
- hideoffnpc "15_3";
- hideoffnpc "15_4";
- hideoffnpc "16_1";
- hideoffnpc "16_2";
- hideoffnpc "16_3";
- hideoffnpc "16_4";
- hideoffnpc "17_1";
- hideoffnpc "17_2";
- hideoffnpc "17_3";
- hideoffnpc "17_4";
- hideoffnpc "18_1";
- hideoffnpc "18_2";
- hideoffnpc "18_3";
- hideoffnpc "18_4";
+ enablenpc "01_1";
+ enablenpc "01_2";
+ enablenpc "01_3";
+ enablenpc "01_4";
+ enablenpc "02_1";
+ enablenpc "02_2";
+ enablenpc "02_3";
+ enablenpc "02_4";
+ enablenpc "03_1";
+ enablenpc "03_2";
+ enablenpc "03_3";
+ enablenpc "03_4";
+ enablenpc "04_1";
+ enablenpc "04_2";
+ enablenpc "04_3";
+ enablenpc "04_4";
+ enablenpc "05_1";
+ enablenpc "05_2";
+ enablenpc "05_3";
+ enablenpc "05_4";
+ enablenpc "06_1";
+ enablenpc "06_2";
+ enablenpc "06_3";
+ enablenpc "06_4";
+ enablenpc "07_1";
+ enablenpc "07_2";
+ enablenpc "07_3";
+ enablenpc "07_4";
+ enablenpc "08_1";
+ enablenpc "08_2";
+ enablenpc "08_3";
+ enablenpc "08_4";
+ enablenpc "09_1";
+ enablenpc "09_2";
+ enablenpc "09_3";
+ enablenpc "09_4";
+ enablenpc "10_1";
+ enablenpc "10_2";
+ enablenpc "10_3";
+ enablenpc "10_4";
+ enablenpc "10_5";
+ enablenpc "10_6";
+ enablenpc "10_7";
+ enablenpc "10_8";
+ enablenpc "11_1";
+ enablenpc "11_2";
+ enablenpc "11_3";
+ enablenpc "11_4";
+ enablenpc "12_1";
+ enablenpc "12_2";
+ enablenpc "12_3";
+ enablenpc "12_4";
+ enablenpc "13_1";
+ enablenpc "13_2";
+ enablenpc "13_3";
+ enablenpc "13_4";
+ enablenpc "14_1";
+ enablenpc "14_2";
+ enablenpc "14_3";
+ enablenpc "14_4";
+ enablenpc "14_5";
+ enablenpc "14_6";
+ enablenpc "14_7";
+ enablenpc "14_8";
+ enablenpc "14_9";
+ enablenpc "14_10";
+ enablenpc "14_11";
+ enablenpc "14_12";
+ enablenpc "15_1";
+ enablenpc "15_2";
+ enablenpc "15_3";
+ enablenpc "15_4";
+ enablenpc "16_1";
+ enablenpc "16_2";
+ enablenpc "16_3";
+ enablenpc "16_4";
+ enablenpc "17_1";
+ enablenpc "17_2";
+ enablenpc "17_3";
+ enablenpc "17_4";
+ enablenpc "18_1";
+ enablenpc "18_2";
+ enablenpc "18_3";
+ enablenpc "18_4";
end;
OnDisable:
- hideonnpc "01_1";
- hideonnpc "01_2";
- hideonnpc "01_3";
- hideonnpc "01_4";
- hideonnpc "02_1";
- hideonnpc "02_2";
- hideonnpc "02_3";
- hideonnpc "02_4";
- hideonnpc "03_1";
- hideonnpc "03_2";
- hideonnpc "03_3";
- hideonnpc "03_4";
- hideonnpc "04_1";
- hideonnpc "04_2";
- hideonnpc "04_3";
- hideonnpc "04_4";
- hideonnpc "05_1";
- hideonnpc "05_2";
- hideonnpc "05_3";
- hideonnpc "05_4";
- hideonnpc "06_1";
- hideonnpc "06_2";
- hideonnpc "06_3";
- hideonnpc "06_4";
- hideonnpc "07_1";
- hideonnpc "07_2";
- hideonnpc "07_3";
- hideonnpc "07_4";
- hideonnpc "08_1";
- hideonnpc "08_2";
- hideonnpc "08_3";
- hideonnpc "08_4";
- hideonnpc "09_1";
- hideonnpc "09_2";
- hideonnpc "09_3";
- hideonnpc "09_4";
- hideonnpc "10_1";
- hideonnpc "10_2";
- hideonnpc "10_3";
- hideonnpc "10_4";
- hideonnpc "10_5";
- hideonnpc "10_6";
- hideonnpc "10_7";
- hideonnpc "10_8";
- hideonnpc "11_1";
- hideonnpc "11_2";
- hideonnpc "11_3";
- hideonnpc "11_4";
- hideonnpc "12_1";
- hideonnpc "12_2";
- hideonnpc "12_3";
- hideonnpc "12_4";
- hideonnpc "13_1";
- hideonnpc "13_2";
- hideonnpc "13_3";
- hideonnpc "13_4";
- hideonnpc "14_1";
- hideonnpc "14_2";
- hideonnpc "14_3";
- hideonnpc "14_4";
- hideonnpc "14_5";
- hideonnpc "14_6";
- hideonnpc "14_7";
- hideonnpc "14_8";
- hideonnpc "14_9";
- hideonnpc "14_10";
- hideonnpc "14_11";
- hideonnpc "14_12";
- hideonnpc "15_1";
- hideonnpc "15_2";
- hideonnpc "15_3";
- hideonnpc "15_4";
- hideonnpc "16_1";
- hideonnpc "16_2";
- hideonnpc "16_3";
- hideonnpc "16_4";
- hideonnpc "17_1";
- hideonnpc "17_2";
- hideonnpc "17_3";
- hideonnpc "17_4";
- hideonnpc "18_1";
- hideonnpc "18_2";
- hideonnpc "18_3";
- hideonnpc "18_4";
+ disablenpc "01_1";
+ disablenpc "01_2";
+ disablenpc "01_3";
+ disablenpc "01_4";
+ disablenpc "02_1";
+ disablenpc "02_2";
+ disablenpc "02_3";
+ disablenpc "02_4";
+ disablenpc "03_1";
+ disablenpc "03_2";
+ disablenpc "03_3";
+ disablenpc "03_4";
+ disablenpc "04_1";
+ disablenpc "04_2";
+ disablenpc "04_3";
+ disablenpc "04_4";
+ disablenpc "05_1";
+ disablenpc "05_2";
+ disablenpc "05_3";
+ disablenpc "05_4";
+ disablenpc "06_1";
+ disablenpc "06_2";
+ disablenpc "06_3";
+ disablenpc "06_4";
+ disablenpc "07_1";
+ disablenpc "07_2";
+ disablenpc "07_3";
+ disablenpc "07_4";
+ disablenpc "08_1";
+ disablenpc "08_2";
+ disablenpc "08_3";
+ disablenpc "08_4";
+ disablenpc "09_1";
+ disablenpc "09_2";
+ disablenpc "09_3";
+ disablenpc "09_4";
+ disablenpc "10_1";
+ disablenpc "10_2";
+ disablenpc "10_3";
+ disablenpc "10_4";
+ disablenpc "10_5";
+ disablenpc "10_6";
+ disablenpc "10_7";
+ disablenpc "10_8";
+ disablenpc "11_1";
+ disablenpc "11_2";
+ disablenpc "11_3";
+ disablenpc "11_4";
+ disablenpc "12_1";
+ disablenpc "12_2";
+ disablenpc "12_3";
+ disablenpc "12_4";
+ disablenpc "13_1";
+ disablenpc "13_2";
+ disablenpc "13_3";
+ disablenpc "13_4";
+ disablenpc "14_1";
+ disablenpc "14_2";
+ disablenpc "14_3";
+ disablenpc "14_4";
+ disablenpc "14_5";
+ disablenpc "14_6";
+ disablenpc "14_7";
+ disablenpc "14_8";
+ disablenpc "14_9";
+ disablenpc "14_10";
+ disablenpc "14_11";
+ disablenpc "14_12";
+ disablenpc "15_1";
+ disablenpc "15_2";
+ disablenpc "15_3";
+ disablenpc "15_4";
+ disablenpc "16_1";
+ disablenpc "16_2";
+ disablenpc "16_3";
+ disablenpc "16_4";
+ disablenpc "17_1";
+ disablenpc "17_2";
+ disablenpc "17_3";
+ disablenpc "17_4";
+ disablenpc "18_1";
+ disablenpc "18_2";
+ disablenpc "18_3";
+ disablenpc "18_4";
end;
}
@@ -1911,15 +1909,15 @@ OnTouch:
OnEnable:
mapannounce "in_moc_16","The door to the next room, at coordinates 87 137, has opened.",bc_map;
- hideoffnpc "Keeper of the Door#ASN";
+ enablenpc "Keeper of the Door#ASN";
end;
OnDisable:
- hideonnpc "Keeper of the Door#ASN";
+ disablenpc "Keeper of the Door#ASN";
end;
OnInit:
- hideonnpc "Keeper of the Door#ASN";
+ disablenpc "Keeper of the Door#ASN";
end;
}
@@ -1953,33 +1951,31 @@ OnTouch:
mes "It looks like you're having a tough time. You're either trying too hard, or not trying hard";
mes "enough, kid.";
next;
- switch (select("I'm gonna try it again!:I... I quit!")) {
- case 1:
+ if (select("I'm gonna try it again!:I... I quit!") == 1) {
mes "[Thomas]";
mes "Hmm. Well, okay.";
mes "Good luck out there.";
close;
- case 2:
- mes "[Thomas]";
- mes "Huh...";
- mes "Quit the test, eh? Well, I guess you don't wanna waste any more of our time.";
- next;
- mes "[Thomas]";
- mes "Oh hey, don't forget to save your respawn point in town.";
- close2;
- mapannounce "in_moc_16"," " + strcharinfo(0) + " got scared and quit the test...Who's Next?!",bc_map;
- donpcevent "Standby Room#ASNTEST::OnReset";
- set ASSIN_Q,0;
- set ASSIN_Q2,0;
- set ASSIN_Q3,0;
- erasequest 8000;
- erasequest 8001;
- erasequest 8002;
- erasequest 8003;
- erasequest 8004;
- savepoint "in_moc_16",18,14;
- warp "in_moc_16",18,14;
}
+ mes "[Thomas]";
+ mes "Huh...";
+ mes "Quit the test, eh? Well, I guess you don't wanna waste any more of our time.";
+ next;
+ mes "[Thomas]";
+ mes "Oh hey, don't forget to save your respawn point in town.";
+ close2;
+ mapannounce "in_moc_16"," " + strcharinfo(0) + " got scared and quit the test...Who's Next?!",bc_map;
+ donpcevent "Standby Room#ASNTEST::OnReset";
+ set ASSIN_Q,0;
+ set ASSIN_Q2,0;
+ set ASSIN_Q3,0;
+ erasequest 8000;
+ erasequest 8001;
+ erasequest 8002;
+ erasequest 8003;
+ erasequest 8004;
+ savepoint "in_moc_16",18,14;
+ warp "in_moc_16",18,14;
} else {
mes "[Thomas]";
mes "Hey, I'm Thomas. I'm in charge of testing your use of the hiding skill. Think you're up to it?";
@@ -2160,7 +2156,7 @@ OnTouch:
mes "[Guildmaster]";
mes "Being an Assassin means";
mes "to abandon the ego.";
- next;
+ break;
case 2:
set ASSIN_Q,9;
mes "[Guildmaster]";
@@ -2170,7 +2166,7 @@ OnTouch:
mes "Being an Assassin means";
mes "to abandon such worldly";
mes "attachments...";
- next;
+ break;
case 3:
set ASSIN_Q,10;
mes "[Guildmaster]";
@@ -2181,7 +2177,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "In a way, being an Assassin is to live life in loneliness...";
- next;
+ break;
}
case 2:
mes "[Guildmaster]";
@@ -2211,12 +2207,12 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "But, as I told you before, we have comrades. I recommend having at least one comrade to back up you when you're on a mission.";
- next;
+ break;
case 2:
set ASSIN_Q,12;
mes "[Guildmaster]";
mes "Well, I can't deny it, we do need money to make a living. But don't you think we should pursue something even more important than money?";
- next;
+ break;
case 3:
set ASSIN_Q,13;
mes "[Guildmaster]";
@@ -2228,7 +2224,7 @@ OnTouch:
mes "[Guildmaster]";
mes "Don't forget...";
mes "Assassins don't toy around. We are not into a style or trend, and we never will be.";
- next;
+ break;
}
case 3:
mes "[Guildmaster]";
@@ -2247,7 +2243,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "You won't be satisfied in becoming an Assassin if you think this...";
- next;
+ break;
case 2:
set ASSIN_Q,15;
mes "[Guildmaster]";
@@ -2260,7 +2256,7 @@ OnTouch:
mes "It's to bad I had to kill him before he was level 52... ^666666*Sigh*^000000 Oh well.";
next;
mes "I'm a bit worried about you. I hope you realize that once you become an Assassin, there's no turning back...";
- next;
+ break;
case 3:
set ASSIN_Q,16;
mes "[Guildmaster]";
@@ -2269,7 +2265,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "I hope you're not a hypocrite. Spiritual discipline is the best way for you to survive.";
- next;
+ break;
}
}
set @assassin_sangdam,0;
@@ -2297,7 +2293,7 @@ OnTouch:
mes "[Guildmaster]";
mes "Don't act recklessly...";
mes "Being an Assassin never makes you a different person. And don't rely on chance.";
- next;
+ break;
case 2:
set @assassin_sangdam,@assassin_sangdam + 5;
mes "[Guildmaster]";
@@ -2305,7 +2301,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "In the meantime, I hope you won't forget the Assassin mentality.";
- next;
+ break;
case 3:
set @assassin_sangdam,@assassin_sangdam + 0;
mes "[Guildmaster]";
@@ -2315,7 +2311,7 @@ OnTouch:
mes "[Guildmaster]";
mes "Don't force yourself too much.";
mes "Take your time and travel wisely.";
- next;
+ break;
}
case 2:
mes "[Guildmaster]";
@@ -2328,7 +2324,7 @@ OnTouch:
mes "[Guildmaster]";
mes "I see...";
mes "Appreciate them for caring about you, even when you're alone.";
- next;
+ break;
case 2:
set @assassin_sangdam,@assassin_sangdam + 5;
mes "[Guildmaster]";
@@ -2337,7 +2333,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "As an Assassin, find a job that you can do for them without them knowing..";
- next;
+ break;
case 3:
set @assassin_sangdam,@assassin_sangdam + 0;
mes "[Guildmaster]";
@@ -2353,7 +2349,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "Love your beloved forever, even if you can't openly express it. Sometimes, life doesn't allow you to find true love more than once.";
- next;
+ break;
}
case 3:
mes "[Guildmaster]";
@@ -2368,7 +2364,7 @@ OnTouch:
mes "[Guildmaster]";
mes "You must know how to";
mes "survive in any situation.";
- next;
+ break;
case 2:
set @assassin_sangdam,@assassin_sangdam + 0;
mes "[Guildmaster]";
@@ -2376,7 +2372,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "I hope you will become an excellent Assassin. And when you reach a certain level, you must guide newbies as your trainers have.";
- next;
+ break;
case 3:
set @assassin_sangdam,@assassin_sangdam + 10;
mes "[Guildmaster]";
@@ -2385,7 +2381,7 @@ OnTouch:
next;
mes "[Guildmaster]";
mes "People of that nature are unwelcome. If such is your goal, you may wish to reconsider your job...";
- next;
+ break;
}
}
mes "[Guildmaster]";
@@ -2525,7 +2521,7 @@ OnTouch:
mes "A Jur...";
mes "Good choice. There you are. I hope it will serve you well.";
getitem 1251,1; //Jur_
- next;
+ break;
case 2:
mes "[Guildmaster]";
mes "A Katar...";
@@ -2534,19 +2530,20 @@ OnTouch:
mes "I know it will";
mes "serve you well.";
getitem 1253,1; //Katar_
- next;
+ break;
case 3:
mes "[Guildmaster]";
mes "I see. You want to use both hands. Here, take your Main Gauche.";
getitem 1208,1; //Main_Gauche_
- next;
+ break;
case 4:
mes "[Guildmaster]";
mes "A Gladius...";
mes "It used to rule over the Assassin weapon market. Please take care of my gladius.";
getitem 1220,1; //Gladius_
- next;
+ break;
}
+ next;
} else {
mes "[Guildmaster]";
mes "Well, I talked too much.";
@@ -2730,15 +2727,15 @@ in_moc_16,156,87,1 script [Huey] 55,1,1,{
end;
OnInit:
- hideonnpc "[Huey]";
+ disablenpc "[Huey]";
end;
OnDisable:
- hideonnpc "[Huey]";
+ disablenpc "[Huey]";
end;
OnEnable:
- hideoffnpc "[Huey]";
+ enablenpc "[Huey]";
end;
}
@@ -2746,15 +2743,15 @@ in_moc_16,156,85,1 script [Khai] 730,1,1,{
end;
OnInit:
- hideonnpc "[Khai]";
+ disablenpc "[Khai]";
end;
OnDisable:
- hideonnpc "[Khai]";
+ disablenpc "[Khai]";
end;
OnEnable:
- hideoffnpc "[Khai]";
+ enablenpc "[Khai]";
end;
}
@@ -2762,15 +2759,15 @@ in_moc_16,156,83,1 script [The Anonymous One] 106,1,1,{
end;
OnInit:
- hideonnpc "[The Anonymous One]";
+ disablenpc "[The Anonymous One]";
end;
OnDisable:
- hideonnpc "[The Anonymous One]";
+ disablenpc "[The Anonymous One]";
end;
OnEnable:
- hideoffnpc "[The Anonymous One]";
+ enablenpc "[The Anonymous One]";
end;
}
@@ -2778,15 +2775,15 @@ in_moc_16,156,81,2 script [Barcardi] 725,1,1,{
end;
OnInit:
- hideonnpc "[Barcardi]";
+ disablenpc "[Barcardi]";
end;
OnDisable:
- hideonnpc "[Barcardi]";
+ disablenpc "[Barcardi]";
end;
OnEnable:
- hideoffnpc "[Barcardi]";
+ enablenpc "[Barcardi]";
end;
}
@@ -2794,15 +2791,15 @@ in_moc_16,156,79,1 script [Beholder] 118,1,1,{
end;
OnInit:
- hideonnpc "[Beholder]";
+ disablenpc "[Beholder]";
end;
OnDisable:
- hideonnpc "[Beholder]";
+ disablenpc "[Beholder]";
end;
OnEnable:
- hideoffnpc "[Beholder]";
+ enablenpc "[Beholder]";
end;
}
@@ -2810,15 +2807,15 @@ in_moc_16,156,77,1 script [Thomas] 118,1,1,{
end;
OnInit:
- hideonnpc "[Thomas]";
+ disablenpc "[Thomas]";
end;
OnDisable:
- hideonnpc "[Thomas]";
+ disablenpc "[Thomas]";
end;
OnEnable:
- hideoffnpc "[Thomas]";
+ enablenpc "[Thomas]";
end;
}
@@ -2826,14 +2823,14 @@ in_moc_16,156,75,1 script [Gayle Maroubitz] 55,1,1,{
end;
OnInit:
- hideonnpc "[Gayle Maroubitz]";
+ disablenpc "[Gayle Maroubitz]";
end;
OnDisable:
- hideonnpc "[Gayle Maroubitz]";
+ disablenpc "[Gayle Maroubitz]";
end;
OnEnable:
- hideoffnpc "[Gayle Maroubitz]";
+ enablenpc "[Gayle Maroubitz]";
end;
}
diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt
index e0552351b..3615f68a2 100644
--- a/npc/jobs/2-1/hunter.txt
+++ b/npc/jobs/2-1/hunter.txt
@@ -1614,11 +1614,11 @@ job_hunte,1,1,1 script Manager#hnt 66,{
end;
OnInit:
- hideonnpc "Manager#hnt";
+ disablenpc "Manager#hnt";
end;
OnEnable:
- hideoffnpc "Manager#hnt";
+ enablenpc "Manager#hnt";
monster "job_hunte",67,80,"Job Change Monster",1015,1,"Manager#hnt::OnMyMobDead";
monster "job_hunte",114,78,"Job Change Monster",1015,1,"Manager#hnt::OnMyMobDead";
monster "job_hunte",89,127,"Job Change Monster",1002,1,"Manager#hnt::OnMyMobDead";
@@ -1648,7 +1648,7 @@ OnMyMobDead:
end;
OnDisable:
- hideonnpc "Manager#hnt";
+ disablenpc "Manager#hnt";
end;
OnTimer1000:
@@ -1747,11 +1747,11 @@ job_hunte,1,2,1 script Manager#hnt2 66,{
end;
OnInit:
- hideonnpc "Manager#hnt2";
+ disablenpc "Manager#hnt2";
end;
OnEnable:
- hideoffnpc "Manager#hnt2";
+ enablenpc "Manager#hnt2";
monster "job_hunte",85,100,"Job Test Monster",1016,1,"Manager#hnt2::OnMyMobDead";
monster "job_hunte",72,102,"Job Test Monster",1041,1,"Manager#hnt2::OnMyMobDead";
monster "job_hunte",108,103,"Job Test Monster",1015,1,"Manager#hnt2::OnMyMobDead";
@@ -1789,7 +1789,7 @@ OnReset:
end;
OnDisable:
- hideonnpc "Manager#hnt2";
+ disablenpc "Manager#hnt2";
end;
OnMyMobDead:
@@ -1869,11 +1869,11 @@ OnTouch:
OnDisable:
donpcevent "exit#hnttest::OnDisable";
- hideonnpc "switch#hnt";
+ disablenpc "switch#hnt";
end;
OnEnable:
- hideoffnpc "switch#hnt";
+ enablenpc "switch#hnt";
end;
}
@@ -1894,15 +1894,15 @@ OnTouch:
end;
OnInit:
- hideonnpc "exit#hnttest";
+ disablenpc "exit#hnttest";
end;
OnEnable:
- hideoffnpc "exit#hnttest";
+ enablenpc "exit#hnttest";
end;
OnDisable:
- hideonnpc "exit#hnttest";
+ disablenpc "exit#hnttest";
end;
}
@@ -1914,15 +1914,15 @@ OnTouch:
end;
OnInit:
- hideonnpc "hnt_backers";
+ disablenpc "hnt_backers";
end;
OnEnable:
- hideoffnpc "hnt_backers";
+ enablenpc "hnt_backers";
end;
OnDisable:
- hideonnpc "hnt_backers";
+ disablenpc "hnt_backers";
end;
}
@@ -2069,485 +2069,485 @@ OnTouch:
end;
OnEnable:
- hideoffnpc "1-1";
- hideoffnpc "1-2";
- hideoffnpc "1-3";
- hideoffnpc "1-4";
- hideoffnpc "1-5";
- hideoffnpc "1-6";
- hideoffnpc "1-7";
- hideoffnpc "1-8";
- hideoffnpc "2-1";
- hideoffnpc "2-2";
- hideoffnpc "2-3";
- hideoffnpc "2-4";
- hideoffnpc "2-5";
- hideoffnpc "2-6";
- hideoffnpc "2-7";
- hideoffnpc "2-8";
- hideoffnpc "3-1";
- hideoffnpc "3-2";
- hideoffnpc "3-3";
- hideoffnpc "3-4";
- hideoffnpc "4-1";
- hideoffnpc "4-2";
- hideoffnpc "4-3";
- hideoffnpc "4-4";
- hideoffnpc "5-1";
- hideoffnpc "5-2";
- hideoffnpc "5-3";
- hideoffnpc "5-4";
- hideoffnpc "6-1";
- hideoffnpc "6-2";
- hideoffnpc "6-3";
- hideoffnpc "6-4";
- hideoffnpc "7-1";
- hideoffnpc "7-2";
- hideoffnpc "7-3";
- hideoffnpc "7-4";
- hideoffnpc "8-1";
- hideoffnpc "8-2";
- hideoffnpc "8-3";
- hideoffnpc "8-4";
- hideoffnpc "9-1";
- hideoffnpc "9-2";
- hideoffnpc "9-3";
- hideoffnpc "9-4";
- hideoffnpc "10-1";
- hideoffnpc "10-2";
- hideoffnpc "10-3";
- hideoffnpc "10-4";
- hideoffnpc "11-1";
- hideoffnpc "11-2";
- hideoffnpc "11-3";
- hideoffnpc "11-4";
- hideoffnpc "12-1";
- hideoffnpc "12-2";
- hideoffnpc "12-3";
- hideoffnpc "12-4";
- hideoffnpc "13-1";
- hideoffnpc "13-2";
- hideoffnpc "13-3";
- hideoffnpc "13-4";
- hideoffnpc "14-1";
- hideoffnpc "14-2";
- hideoffnpc "14-3";
- hideoffnpc "14-4";
- hideoffnpc "15-1";
- hideoffnpc "15-2";
- hideoffnpc "15-3";
- hideoffnpc "15-4";
- hideoffnpc "16-1";
- hideoffnpc "16-2";
- hideoffnpc "16-3";
- hideoffnpc "16-4";
- hideoffnpc "17-1";
- hideoffnpc "17-2";
- hideoffnpc "17-3";
- hideoffnpc "17-4";
- hideoffnpc "18-1";
- hideoffnpc "18-2";
- hideoffnpc "18-3";
- hideoffnpc "18-4";
- hideoffnpc "19-1";
- hideoffnpc "19-2";
- hideoffnpc "19-3";
- hideoffnpc "19-4";
- hideoffnpc "20-1";
- hideoffnpc "20-2";
- hideoffnpc "20-3";
- hideoffnpc "20-4";
- hideoffnpc "21-1";
- hideoffnpc "21-2";
- hideoffnpc "21-3";
- hideoffnpc "21-4";
- hideoffnpc "22-1";
- hideoffnpc "22-2";
- hideoffnpc "22-3";
- hideoffnpc "22-4";
- hideoffnpc "23-1";
- hideoffnpc "23-2";
- hideoffnpc "23-3";
- hideoffnpc "23-4";
- hideoffnpc "24-1";
- hideoffnpc "24-2";
- hideoffnpc "24-3";
- hideoffnpc "24-4";
- hideoffnpc "25-1";
- hideoffnpc "25-2";
- hideoffnpc "25-3";
- hideoffnpc "25-4";
- hideoffnpc "26-1";
- hideoffnpc "26-2";
- hideoffnpc "26-3";
- hideoffnpc "26-4";
- hideoffnpc "27-1";
- hideoffnpc "27-2";
- hideoffnpc "27-3";
- hideoffnpc "27-4";
- hideoffnpc "28-1";
- hideoffnpc "28-2";
- hideoffnpc "28-3";
- hideoffnpc "28-4";
- hideoffnpc "29-1";
- hideoffnpc "29-2";
- hideoffnpc "29-3";
- hideoffnpc "29-4";
- hideoffnpc "30-1";
- hideoffnpc "30-2";
- hideoffnpc "30-3";
- hideoffnpc "30-4";
- hideoffnpc "31-1";
- hideoffnpc "31-2";
- hideoffnpc "31-3";
- hideoffnpc "31-4";
- hideoffnpc "32-1";
- hideoffnpc "32-2";
- hideoffnpc "32-3";
- hideoffnpc "32-4";
- hideoffnpc "33-1";
- hideoffnpc "33-2";
- hideoffnpc "33-3";
- hideoffnpc "33-4";
- hideoffnpc "34-1";
- hideoffnpc "34-2";
- hideoffnpc "34-3";
- hideoffnpc "34-4";
- hideoffnpc "35-1";
- hideoffnpc "35-2";
- hideoffnpc "35-3";
- hideoffnpc "35-4";
- hideoffnpc "36-1";
- hideoffnpc "36-2";
- hideoffnpc "36-3";
- hideoffnpc "36-4";
- hideoffnpc "37-1";
- hideoffnpc "37-2";
- hideoffnpc "37-3";
- hideoffnpc "37-4";
- hideoffnpc "38-1";
- hideoffnpc "38-2";
- hideoffnpc "38-3";
- hideoffnpc "38-4";
- hideoffnpc "39-1";
- hideoffnpc "39-2";
- hideoffnpc "39-3";
- hideoffnpc "39-4";
- hideoffnpc "40-1";
- hideoffnpc "40-2";
- hideoffnpc "40-3";
- hideoffnpc "40-4";
- hideoffnpc "41-1";
- hideoffnpc "41-2";
- hideoffnpc "41-3";
- hideoffnpc "41-4";
- hideoffnpc "42-1";
- hideoffnpc "42-2";
- hideoffnpc "42-3";
- hideoffnpc "42-4";
- hideoffnpc "43-1";
- hideoffnpc "43-2";
- hideoffnpc "43-3";
- hideoffnpc "43-4";
- hideoffnpc "44-1";
- hideoffnpc "44-2";
- hideoffnpc "44-3";
- hideoffnpc "44-4";
- hideoffnpc "45-1";
- hideoffnpc "45-2";
- hideoffnpc "45-3";
- hideoffnpc "45-4";
- hideoffnpc "46-1";
- hideoffnpc "46-2";
- hideoffnpc "46-3";
- hideoffnpc "46-4";
- hideoffnpc "47-1";
- hideoffnpc "47-2";
- hideoffnpc "47-3";
- hideoffnpc "47-4";
- hideoffnpc "48-1";
- hideoffnpc "48-2";
- hideoffnpc "48-3";
- hideoffnpc "48-4";
- hideoffnpc "49-1";
- hideoffnpc "49-2";
- hideoffnpc "49-3";
- hideoffnpc "49-4";
- hideoffnpc "50-1";
- hideoffnpc "50-2";
- hideoffnpc "50-3";
- hideoffnpc "50-4";
- hideoffnpc "51-1";
- hideoffnpc "51-2";
- hideoffnpc "51-3";
- hideoffnpc "51-4";
- hideoffnpc "52-1";
- hideoffnpc "52-2";
- hideoffnpc "52-3";
- hideoffnpc "52-4";
- hideoffnpc "53-1";
- hideoffnpc "53-2";
- hideoffnpc "53-3";
- hideoffnpc "53-4";
- hideoffnpc "54-1";
- hideoffnpc "54-2";
- hideoffnpc "54-3";
- hideoffnpc "54-4";
- hideoffnpc "55-1";
- hideoffnpc "55-2";
- hideoffnpc "55-3";
- hideoffnpc "55-4";
- hideoffnpc "56-1";
- hideoffnpc "56-2";
- hideoffnpc "56-3";
- hideoffnpc "56-4";
- hideoffnpc "56-6";
- hideoffnpc "56-7";
- hideoffnpc "56-8";
- hideoffnpc "57-1";
- hideoffnpc "57-2";
- hideoffnpc "57-3";
+ enablenpc "1-1";
+ enablenpc "1-2";
+ enablenpc "1-3";
+ enablenpc "1-4";
+ enablenpc "1-5";
+ enablenpc "1-6";
+ enablenpc "1-7";
+ enablenpc "1-8";
+ enablenpc "2-1";
+ enablenpc "2-2";
+ enablenpc "2-3";
+ enablenpc "2-4";
+ enablenpc "2-5";
+ enablenpc "2-6";
+ enablenpc "2-7";
+ enablenpc "2-8";
+ enablenpc "3-1";
+ enablenpc "3-2";
+ enablenpc "3-3";
+ enablenpc "3-4";
+ enablenpc "4-1";
+ enablenpc "4-2";
+ enablenpc "4-3";
+ enablenpc "4-4";
+ enablenpc "5-1";
+ enablenpc "5-2";
+ enablenpc "5-3";
+ enablenpc "5-4";
+ enablenpc "6-1";
+ enablenpc "6-2";
+ enablenpc "6-3";
+ enablenpc "6-4";
+ enablenpc "7-1";
+ enablenpc "7-2";
+ enablenpc "7-3";
+ enablenpc "7-4";
+ enablenpc "8-1";
+ enablenpc "8-2";
+ enablenpc "8-3";
+ enablenpc "8-4";
+ enablenpc "9-1";
+ enablenpc "9-2";
+ enablenpc "9-3";
+ enablenpc "9-4";
+ enablenpc "10-1";
+ enablenpc "10-2";
+ enablenpc "10-3";
+ enablenpc "10-4";
+ enablenpc "11-1";
+ enablenpc "11-2";
+ enablenpc "11-3";
+ enablenpc "11-4";
+ enablenpc "12-1";
+ enablenpc "12-2";
+ enablenpc "12-3";
+ enablenpc "12-4";
+ enablenpc "13-1";
+ enablenpc "13-2";
+ enablenpc "13-3";
+ enablenpc "13-4";
+ enablenpc "14-1";
+ enablenpc "14-2";
+ enablenpc "14-3";
+ enablenpc "14-4";
+ enablenpc "15-1";
+ enablenpc "15-2";
+ enablenpc "15-3";
+ enablenpc "15-4";
+ enablenpc "16-1";
+ enablenpc "16-2";
+ enablenpc "16-3";
+ enablenpc "16-4";
+ enablenpc "17-1";
+ enablenpc "17-2";
+ enablenpc "17-3";
+ enablenpc "17-4";
+ enablenpc "18-1";
+ enablenpc "18-2";
+ enablenpc "18-3";
+ enablenpc "18-4";
+ enablenpc "19-1";
+ enablenpc "19-2";
+ enablenpc "19-3";
+ enablenpc "19-4";
+ enablenpc "20-1";
+ enablenpc "20-2";
+ enablenpc "20-3";
+ enablenpc "20-4";
+ enablenpc "21-1";
+ enablenpc "21-2";
+ enablenpc "21-3";
+ enablenpc "21-4";
+ enablenpc "22-1";
+ enablenpc "22-2";
+ enablenpc "22-3";
+ enablenpc "22-4";
+ enablenpc "23-1";
+ enablenpc "23-2";
+ enablenpc "23-3";
+ enablenpc "23-4";
+ enablenpc "24-1";
+ enablenpc "24-2";
+ enablenpc "24-3";
+ enablenpc "24-4";
+ enablenpc "25-1";
+ enablenpc "25-2";
+ enablenpc "25-3";
+ enablenpc "25-4";
+ enablenpc "26-1";
+ enablenpc "26-2";
+ enablenpc "26-3";
+ enablenpc "26-4";
+ enablenpc "27-1";
+ enablenpc "27-2";
+ enablenpc "27-3";
+ enablenpc "27-4";
+ enablenpc "28-1";
+ enablenpc "28-2";
+ enablenpc "28-3";
+ enablenpc "28-4";
+ enablenpc "29-1";
+ enablenpc "29-2";
+ enablenpc "29-3";
+ enablenpc "29-4";
+ enablenpc "30-1";
+ enablenpc "30-2";
+ enablenpc "30-3";
+ enablenpc "30-4";
+ enablenpc "31-1";
+ enablenpc "31-2";
+ enablenpc "31-3";
+ enablenpc "31-4";
+ enablenpc "32-1";
+ enablenpc "32-2";
+ enablenpc "32-3";
+ enablenpc "32-4";
+ enablenpc "33-1";
+ enablenpc "33-2";
+ enablenpc "33-3";
+ enablenpc "33-4";
+ enablenpc "34-1";
+ enablenpc "34-2";
+ enablenpc "34-3";
+ enablenpc "34-4";
+ enablenpc "35-1";
+ enablenpc "35-2";
+ enablenpc "35-3";
+ enablenpc "35-4";
+ enablenpc "36-1";
+ enablenpc "36-2";
+ enablenpc "36-3";
+ enablenpc "36-4";
+ enablenpc "37-1";
+ enablenpc "37-2";
+ enablenpc "37-3";
+ enablenpc "37-4";
+ enablenpc "38-1";
+ enablenpc "38-2";
+ enablenpc "38-3";
+ enablenpc "38-4";
+ enablenpc "39-1";
+ enablenpc "39-2";
+ enablenpc "39-3";
+ enablenpc "39-4";
+ enablenpc "40-1";
+ enablenpc "40-2";
+ enablenpc "40-3";
+ enablenpc "40-4";
+ enablenpc "41-1";
+ enablenpc "41-2";
+ enablenpc "41-3";
+ enablenpc "41-4";
+ enablenpc "42-1";
+ enablenpc "42-2";
+ enablenpc "42-3";
+ enablenpc "42-4";
+ enablenpc "43-1";
+ enablenpc "43-2";
+ enablenpc "43-3";
+ enablenpc "43-4";
+ enablenpc "44-1";
+ enablenpc "44-2";
+ enablenpc "44-3";
+ enablenpc "44-4";
+ enablenpc "45-1";
+ enablenpc "45-2";
+ enablenpc "45-3";
+ enablenpc "45-4";
+ enablenpc "46-1";
+ enablenpc "46-2";
+ enablenpc "46-3";
+ enablenpc "46-4";
+ enablenpc "47-1";
+ enablenpc "47-2";
+ enablenpc "47-3";
+ enablenpc "47-4";
+ enablenpc "48-1";
+ enablenpc "48-2";
+ enablenpc "48-3";
+ enablenpc "48-4";
+ enablenpc "49-1";
+ enablenpc "49-2";
+ enablenpc "49-3";
+ enablenpc "49-4";
+ enablenpc "50-1";
+ enablenpc "50-2";
+ enablenpc "50-3";
+ enablenpc "50-4";
+ enablenpc "51-1";
+ enablenpc "51-2";
+ enablenpc "51-3";
+ enablenpc "51-4";
+ enablenpc "52-1";
+ enablenpc "52-2";
+ enablenpc "52-3";
+ enablenpc "52-4";
+ enablenpc "53-1";
+ enablenpc "53-2";
+ enablenpc "53-3";
+ enablenpc "53-4";
+ enablenpc "54-1";
+ enablenpc "54-2";
+ enablenpc "54-3";
+ enablenpc "54-4";
+ enablenpc "55-1";
+ enablenpc "55-2";
+ enablenpc "55-3";
+ enablenpc "55-4";
+ enablenpc "56-1";
+ enablenpc "56-2";
+ enablenpc "56-3";
+ enablenpc "56-4";
+ enablenpc "56-6";
+ enablenpc "56-7";
+ enablenpc "56-8";
+ enablenpc "57-1";
+ enablenpc "57-2";
+ enablenpc "57-3";
end;
OnDisable:
- hideonnpc "1-1";
- hideonnpc "1-2";
- hideonnpc "1-3";
- hideonnpc "1-4";
- hideonnpc "1-5";
- hideonnpc "1-6";
- hideonnpc "1-7";
- hideonnpc "1-8";
- hideonnpc "2-1";
- hideonnpc "2-2";
- hideonnpc "2-3";
- hideonnpc "2-4";
- hideonnpc "2-5";
- hideonnpc "2-6";
- hideonnpc "2-7";
- hideonnpc "2-8";
- hideonnpc "3-1";
- hideonnpc "3-2";
- hideonnpc "3-3";
- hideonnpc "3-4";
- hideonnpc "4-1";
- hideonnpc "4-2";
- hideonnpc "4-3";
- hideonnpc "4-4";
- hideonnpc "5-1";
- hideonnpc "5-2";
- hideonnpc "5-3";
- hideonnpc "5-4";
- hideonnpc "6-1";
- hideonnpc "6-2";
- hideonnpc "6-3";
- hideonnpc "6-4";
- hideonnpc "7-1";
- hideonnpc "7-2";
- hideonnpc "7-3";
- hideonnpc "7-4";
- hideonnpc "8-1";
- hideonnpc "8-2";
- hideonnpc "8-3";
- hideonnpc "8-4";
- hideonnpc "9-1";
- hideonnpc "9-2";
- hideonnpc "9-3";
- hideonnpc "9-4";
- hideonnpc "10-1";
- hideonnpc "10-2";
- hideonnpc "10-3";
- hideonnpc "10-4";
- hideonnpc "11-1";
- hideonnpc "11-2";
- hideonnpc "11-3";
- hideonnpc "11-4";
- hideonnpc "12-1";
- hideonnpc "12-2";
- hideonnpc "12-3";
- hideonnpc "12-4";
- hideonnpc "13-1";
- hideonnpc "13-2";
- hideonnpc "13-3";
- hideonnpc "13-4";
- hideonnpc "14-1";
- hideonnpc "14-2";
- hideonnpc "14-3";
- hideonnpc "14-4";
- hideonnpc "15-1";
- hideonnpc "15-2";
- hideonnpc "15-3";
- hideonnpc "15-4";
- hideonnpc "16-1";
- hideonnpc "16-2";
- hideonnpc "16-3";
- hideonnpc "16-4";
- hideonnpc "17-1";
- hideonnpc "17-2";
- hideonnpc "17-3";
- hideonnpc "17-4";
- hideonnpc "18-1";
- hideonnpc "18-2";
- hideonnpc "18-3";
- hideonnpc "18-4";
- hideonnpc "19-1";
- hideonnpc "19-2";
- hideonnpc "19-3";
- hideonnpc "19-4";
- hideonnpc "20-1";
- hideonnpc "20-2";
- hideonnpc "20-3";
- hideonnpc "20-4";
- hideonnpc "21-1";
- hideonnpc "21-2";
- hideonnpc "21-3";
- hideonnpc "21-4";
- hideonnpc "22-1";
- hideonnpc "22-2";
- hideonnpc "22-3";
- hideonnpc "22-4";
- hideonnpc "23-1";
- hideonnpc "23-2";
- hideonnpc "23-3";
- hideonnpc "23-4";
- hideonnpc "24-1";
- hideonnpc "24-2";
- hideonnpc "24-3";
- hideonnpc "24-4";
- hideonnpc "25-1";
- hideonnpc "25-2";
- hideonnpc "25-3";
- hideonnpc "25-4";
- hideonnpc "26-1";
- hideonnpc "26-2";
- hideonnpc "26-3";
- hideonnpc "26-4";
- hideonnpc "27-1";
- hideonnpc "27-2";
- hideonnpc "27-3";
- hideonnpc "27-4";
- hideonnpc "28-1";
- hideonnpc "28-2";
- hideonnpc "28-3";
- hideonnpc "28-4";
- hideonnpc "29-1";
- hideonnpc "29-2";
- hideonnpc "29-3";
- hideonnpc "29-4";
- hideonnpc "30-1";
- hideonnpc "30-2";
- hideonnpc "30-3";
- hideonnpc "30-4";
- hideonnpc "31-1";
- hideonnpc "31-2";
- hideonnpc "31-3";
- hideonnpc "31-4";
- hideonnpc "32-1";
- hideonnpc "32-2";
- hideonnpc "32-3";
- hideonnpc "32-4";
- hideonnpc "33-1";
- hideonnpc "33-2";
- hideonnpc "33-3";
- hideonnpc "33-4";
- hideonnpc "34-1";
- hideonnpc "34-2";
- hideonnpc "34-3";
- hideonnpc "34-4";
- hideonnpc "35-1";
- hideonnpc "35-2";
- hideonnpc "35-3";
- hideonnpc "35-4";
- hideonnpc "36-1";
- hideonnpc "36-2";
- hideonnpc "36-3";
- hideonnpc "36-4";
- hideonnpc "37-1";
- hideonnpc "37-2";
- hideonnpc "37-3";
- hideonnpc "37-4";
- hideonnpc "38-1";
- hideonnpc "38-2";
- hideonnpc "38-3";
- hideonnpc "38-4";
- hideonnpc "39-1";
- hideonnpc "39-2";
- hideonnpc "39-3";
- hideonnpc "39-4";
- hideonnpc "40-1";
- hideonnpc "40-2";
- hideonnpc "40-3";
- hideonnpc "40-4";
- hideonnpc "41-1";
- hideonnpc "41-2";
- hideonnpc "41-3";
- hideonnpc "41-4";
- hideonnpc "42-1";
- hideonnpc "42-2";
- hideonnpc "42-3";
- hideonnpc "42-4";
- hideonnpc "43-1";
- hideonnpc "43-2";
- hideonnpc "43-3";
- hideonnpc "43-4";
- hideonnpc "44-1";
- hideonnpc "44-2";
- hideonnpc "44-3";
- hideonnpc "44-4";
- hideonnpc "45-1";
- hideonnpc "45-2";
- hideonnpc "45-3";
- hideonnpc "45-4";
- hideonnpc "46-1";
- hideonnpc "46-2";
- hideonnpc "46-3";
- hideonnpc "46-4";
- hideonnpc "47-1";
- hideonnpc "47-2";
- hideonnpc "47-3";
- hideonnpc "47-4";
- hideonnpc "48-1";
- hideonnpc "48-2";
- hideonnpc "48-3";
- hideonnpc "48-4";
- hideonnpc "49-1";
- hideonnpc "49-2";
- hideonnpc "49-3";
- hideonnpc "49-4";
- hideonnpc "50-1";
- hideonnpc "50-2";
- hideonnpc "50-3";
- hideonnpc "50-4";
- hideonnpc "51-1";
- hideonnpc "51-2";
- hideonnpc "51-3";
- hideonnpc "51-4";
- hideonnpc "52-1";
- hideonnpc "52-2";
- hideonnpc "52-3";
- hideonnpc "52-4";
- hideonnpc "53-1";
- hideonnpc "53-2";
- hideonnpc "53-3";
- hideonnpc "53-4";
- hideonnpc "54-1";
- hideonnpc "54-2";
- hideonnpc "54-3";
- hideonnpc "54-4";
- hideonnpc "55-1";
- hideonnpc "55-2";
- hideonnpc "55-3";
- hideonnpc "55-4";
- hideonnpc "56-1";
- hideonnpc "56-2";
- hideonnpc "56-3";
- hideonnpc "56-4";
- hideonnpc "56-6";
- hideonnpc "56-7";
- hideonnpc "56-8";
- hideonnpc "57-1";
- hideonnpc "57-2";
- hideonnpc "57-3";
+ disablenpc "1-1";
+ disablenpc "1-2";
+ disablenpc "1-3";
+ disablenpc "1-4";
+ disablenpc "1-5";
+ disablenpc "1-6";
+ disablenpc "1-7";
+ disablenpc "1-8";
+ disablenpc "2-1";
+ disablenpc "2-2";
+ disablenpc "2-3";
+ disablenpc "2-4";
+ disablenpc "2-5";
+ disablenpc "2-6";
+ disablenpc "2-7";
+ disablenpc "2-8";
+ disablenpc "3-1";
+ disablenpc "3-2";
+ disablenpc "3-3";
+ disablenpc "3-4";
+ disablenpc "4-1";
+ disablenpc "4-2";
+ disablenpc "4-3";
+ disablenpc "4-4";
+ disablenpc "5-1";
+ disablenpc "5-2";
+ disablenpc "5-3";
+ disablenpc "5-4";
+ disablenpc "6-1";
+ disablenpc "6-2";
+ disablenpc "6-3";
+ disablenpc "6-4";
+ disablenpc "7-1";
+ disablenpc "7-2";
+ disablenpc "7-3";
+ disablenpc "7-4";
+ disablenpc "8-1";
+ disablenpc "8-2";
+ disablenpc "8-3";
+ disablenpc "8-4";
+ disablenpc "9-1";
+ disablenpc "9-2";
+ disablenpc "9-3";
+ disablenpc "9-4";
+ disablenpc "10-1";
+ disablenpc "10-2";
+ disablenpc "10-3";
+ disablenpc "10-4";
+ disablenpc "11-1";
+ disablenpc "11-2";
+ disablenpc "11-3";
+ disablenpc "11-4";
+ disablenpc "12-1";
+ disablenpc "12-2";
+ disablenpc "12-3";
+ disablenpc "12-4";
+ disablenpc "13-1";
+ disablenpc "13-2";
+ disablenpc "13-3";
+ disablenpc "13-4";
+ disablenpc "14-1";
+ disablenpc "14-2";
+ disablenpc "14-3";
+ disablenpc "14-4";
+ disablenpc "15-1";
+ disablenpc "15-2";
+ disablenpc "15-3";
+ disablenpc "15-4";
+ disablenpc "16-1";
+ disablenpc "16-2";
+ disablenpc "16-3";
+ disablenpc "16-4";
+ disablenpc "17-1";
+ disablenpc "17-2";
+ disablenpc "17-3";
+ disablenpc "17-4";
+ disablenpc "18-1";
+ disablenpc "18-2";
+ disablenpc "18-3";
+ disablenpc "18-4";
+ disablenpc "19-1";
+ disablenpc "19-2";
+ disablenpc "19-3";
+ disablenpc "19-4";
+ disablenpc "20-1";
+ disablenpc "20-2";
+ disablenpc "20-3";
+ disablenpc "20-4";
+ disablenpc "21-1";
+ disablenpc "21-2";
+ disablenpc "21-3";
+ disablenpc "21-4";
+ disablenpc "22-1";
+ disablenpc "22-2";
+ disablenpc "22-3";
+ disablenpc "22-4";
+ disablenpc "23-1";
+ disablenpc "23-2";
+ disablenpc "23-3";
+ disablenpc "23-4";
+ disablenpc "24-1";
+ disablenpc "24-2";
+ disablenpc "24-3";
+ disablenpc "24-4";
+ disablenpc "25-1";
+ disablenpc "25-2";
+ disablenpc "25-3";
+ disablenpc "25-4";
+ disablenpc "26-1";
+ disablenpc "26-2";
+ disablenpc "26-3";
+ disablenpc "26-4";
+ disablenpc "27-1";
+ disablenpc "27-2";
+ disablenpc "27-3";
+ disablenpc "27-4";
+ disablenpc "28-1";
+ disablenpc "28-2";
+ disablenpc "28-3";
+ disablenpc "28-4";
+ disablenpc "29-1";
+ disablenpc "29-2";
+ disablenpc "29-3";
+ disablenpc "29-4";
+ disablenpc "30-1";
+ disablenpc "30-2";
+ disablenpc "30-3";
+ disablenpc "30-4";
+ disablenpc "31-1";
+ disablenpc "31-2";
+ disablenpc "31-3";
+ disablenpc "31-4";
+ disablenpc "32-1";
+ disablenpc "32-2";
+ disablenpc "32-3";
+ disablenpc "32-4";
+ disablenpc "33-1";
+ disablenpc "33-2";
+ disablenpc "33-3";
+ disablenpc "33-4";
+ disablenpc "34-1";
+ disablenpc "34-2";
+ disablenpc "34-3";
+ disablenpc "34-4";
+ disablenpc "35-1";
+ disablenpc "35-2";
+ disablenpc "35-3";
+ disablenpc "35-4";
+ disablenpc "36-1";
+ disablenpc "36-2";
+ disablenpc "36-3";
+ disablenpc "36-4";
+ disablenpc "37-1";
+ disablenpc "37-2";
+ disablenpc "37-3";
+ disablenpc "37-4";
+ disablenpc "38-1";
+ disablenpc "38-2";
+ disablenpc "38-3";
+ disablenpc "38-4";
+ disablenpc "39-1";
+ disablenpc "39-2";
+ disablenpc "39-3";
+ disablenpc "39-4";
+ disablenpc "40-1";
+ disablenpc "40-2";
+ disablenpc "40-3";
+ disablenpc "40-4";
+ disablenpc "41-1";
+ disablenpc "41-2";
+ disablenpc "41-3";
+ disablenpc "41-4";
+ disablenpc "42-1";
+ disablenpc "42-2";
+ disablenpc "42-3";
+ disablenpc "42-4";
+ disablenpc "43-1";
+ disablenpc "43-2";
+ disablenpc "43-3";
+ disablenpc "43-4";
+ disablenpc "44-1";
+ disablenpc "44-2";
+ disablenpc "44-3";
+ disablenpc "44-4";
+ disablenpc "45-1";
+ disablenpc "45-2";
+ disablenpc "45-3";
+ disablenpc "45-4";
+ disablenpc "46-1";
+ disablenpc "46-2";
+ disablenpc "46-3";
+ disablenpc "46-4";
+ disablenpc "47-1";
+ disablenpc "47-2";
+ disablenpc "47-3";
+ disablenpc "47-4";
+ disablenpc "48-1";
+ disablenpc "48-2";
+ disablenpc "48-3";
+ disablenpc "48-4";
+ disablenpc "49-1";
+ disablenpc "49-2";
+ disablenpc "49-3";
+ disablenpc "49-4";
+ disablenpc "50-1";
+ disablenpc "50-2";
+ disablenpc "50-3";
+ disablenpc "50-4";
+ disablenpc "51-1";
+ disablenpc "51-2";
+ disablenpc "51-3";
+ disablenpc "51-4";
+ disablenpc "52-1";
+ disablenpc "52-2";
+ disablenpc "52-3";
+ disablenpc "52-4";
+ disablenpc "53-1";
+ disablenpc "53-2";
+ disablenpc "53-3";
+ disablenpc "53-4";
+ disablenpc "54-1";
+ disablenpc "54-2";
+ disablenpc "54-3";
+ disablenpc "54-4";
+ disablenpc "55-1";
+ disablenpc "55-2";
+ disablenpc "55-3";
+ disablenpc "55-4";
+ disablenpc "56-1";
+ disablenpc "56-2";
+ disablenpc "56-3";
+ disablenpc "56-4";
+ disablenpc "56-6";
+ disablenpc "56-7";
+ disablenpc "56-8";
+ disablenpc "57-1";
+ disablenpc "57-2";
+ disablenpc "57-3";
end;
}
@@ -2792,331 +2792,331 @@ OnTouch:
end;
OnEnable:
- hideoffnpc "57-4";
- hideoffnpc "58-1";
- hideoffnpc "58-2";
- hideoffnpc "58-3";
- hideoffnpc "58-4";
- hideoffnpc "59-1";
- hideoffnpc "59-2";
- hideoffnpc "59-3";
- hideoffnpc "59-4";
- hideoffnpc "60-1";
- hideoffnpc "60-2";
- hideoffnpc "60-3";
- hideoffnpc "60-4";
- hideoffnpc "61-1";
- hideoffnpc "61-2";
- hideoffnpc "61-3";
- hideoffnpc "61-4";
- hideoffnpc "62-1";
- hideoffnpc "62-2";
- hideoffnpc "62-3";
- hideoffnpc "62-4";
- hideoffnpc "63-1";
- hideoffnpc "63-2";
- hideoffnpc "63-3";
- hideoffnpc "63-4";
- hideoffnpc "64-1";
- hideoffnpc "64-2";
- hideoffnpc "64-3";
- hideoffnpc "64-4";
- hideoffnpc "65-1";
- hideoffnpc "65-2";
- hideoffnpc "65-3";
- hideoffnpc "65-4";
- hideoffnpc "66-1";
- hideoffnpc "66-2";
- hideoffnpc "66-3";
- hideoffnpc "66-4";
- hideoffnpc "67-1";
- hideoffnpc "67-2";
- hideoffnpc "67-3";
- hideoffnpc "67-4";
- hideoffnpc "68-1";
- hideoffnpc "68-2";
- hideoffnpc "68-3";
- hideoffnpc "68-4";
- hideoffnpc "69-1";
- hideoffnpc "69-2";
- hideoffnpc "69-3";
- hideoffnpc "69-4";
- hideoffnpc "70-1";
- hideoffnpc "70-2";
- hideoffnpc "70-3";
- hideoffnpc "70-4";
- hideoffnpc "71-1";
- hideoffnpc "71-2";
- hideoffnpc "71-3";
- hideoffnpc "71-4";
- hideoffnpc "72-1";
- hideoffnpc "72-2";
- hideoffnpc "72-3";
- hideoffnpc "72-4";
- hideoffnpc "73-1";
- hideoffnpc "73-2";
- hideoffnpc "73-3";
- hideoffnpc "73-4";
- hideoffnpc "74-1";
- hideoffnpc "74-2";
- hideoffnpc "74-3";
- hideoffnpc "74-4";
- hideoffnpc "75-1";
- hideoffnpc "75-2";
- hideoffnpc "75-3";
- hideoffnpc "75-4";
- hideoffnpc "76-1";
- hideoffnpc "76-2";
- hideoffnpc "76-3";
- hideoffnpc "76-4";
- hideoffnpc "77-1";
- hideoffnpc "77-2";
- hideoffnpc "77-3";
- hideoffnpc "77-4";
- hideoffnpc "78-1";
- hideoffnpc "78-2";
- hideoffnpc "78-3";
- hideoffnpc "78-4";
- hideoffnpc "79-1";
- hideoffnpc "79-2";
- hideoffnpc "79-3";
- hideoffnpc "79-4";
- hideoffnpc "80-1";
- hideoffnpc "80-2";
- hideoffnpc "80-3";
- hideoffnpc "80-4";
- hideoffnpc "81-1";
- hideoffnpc "81-2";
- hideoffnpc "81-3";
- hideoffnpc "81-4";
- hideoffnpc "82-1";
- hideoffnpc "82-2";
- hideoffnpc "82-3";
- hideoffnpc "82-4";
- hideoffnpc "83-1";
- hideoffnpc "83-2";
- hideoffnpc "83-3";
- hideoffnpc "83-4";
- hideoffnpc "84-1";
- hideoffnpc "84-2";
- hideoffnpc "84-3";
- hideoffnpc "84-4";
- hideoffnpc "85-1";
- hideoffnpc "85-2";
- hideoffnpc "85-3";
- hideoffnpc "85-4";
- hideoffnpc "86-1";
- hideoffnpc "86-2";
- hideoffnpc "86-3";
- hideoffnpc "86-4";
- hideoffnpc "87-1";
- hideoffnpc "87-2";
- hideoffnpc "87-3";
- hideoffnpc "87-4";
- hideoffnpc "88-1";
- hideoffnpc "88-2";
- hideoffnpc "88-3";
- hideoffnpc "88-4";
- hideoffnpc "89-1";
- hideoffnpc "89-2";
- hideoffnpc "89-3";
- hideoffnpc "89-4";
- hideoffnpc "90-1";
- hideoffnpc "90-2";
- hideoffnpc "90-3";
- hideoffnpc "90-4";
- hideoffnpc "91-1";
- hideoffnpc "91-2";
- hideoffnpc "91-3";
- hideoffnpc "91-4";
- hideoffnpc "92-1";
- hideoffnpc "92-2";
- hideoffnpc "92-3";
- hideoffnpc "92-4";
- hideoffnpc "93-1";
- hideoffnpc "93-2";
- hideoffnpc "93-3";
- hideoffnpc "93-4";
- hideoffnpc "94-1";
- hideoffnpc "94-2";
- hideoffnpc "94-3";
- hideoffnpc "94-4";
- hideoffnpc "95-1";
- hideoffnpc "95-2";
- hideoffnpc "95-3";
- hideoffnpc "95-4";
- hideoffnpc "96-1";
- hideoffnpc "96-2";
- hideoffnpc "96-3";
- hideoffnpc "96-4";
- hideoffnpc "97-1";
- hideoffnpc "97-2";
- hideoffnpc "97-3";
- hideoffnpc "97-4";
+ enablenpc "57-4";
+ enablenpc "58-1";
+ enablenpc "58-2";
+ enablenpc "58-3";
+ enablenpc "58-4";
+ enablenpc "59-1";
+ enablenpc "59-2";
+ enablenpc "59-3";
+ enablenpc "59-4";
+ enablenpc "60-1";
+ enablenpc "60-2";
+ enablenpc "60-3";
+ enablenpc "60-4";
+ enablenpc "61-1";
+ enablenpc "61-2";
+ enablenpc "61-3";
+ enablenpc "61-4";
+ enablenpc "62-1";
+ enablenpc "62-2";
+ enablenpc "62-3";
+ enablenpc "62-4";
+ enablenpc "63-1";
+ enablenpc "63-2";
+ enablenpc "63-3";
+ enablenpc "63-4";
+ enablenpc "64-1";
+ enablenpc "64-2";
+ enablenpc "64-3";
+ enablenpc "64-4";
+ enablenpc "65-1";
+ enablenpc "65-2";
+ enablenpc "65-3";
+ enablenpc "65-4";
+ enablenpc "66-1";
+ enablenpc "66-2";
+ enablenpc "66-3";
+ enablenpc "66-4";
+ enablenpc "67-1";
+ enablenpc "67-2";
+ enablenpc "67-3";
+ enablenpc "67-4";
+ enablenpc "68-1";
+ enablenpc "68-2";
+ enablenpc "68-3";
+ enablenpc "68-4";
+ enablenpc "69-1";
+ enablenpc "69-2";
+ enablenpc "69-3";
+ enablenpc "69-4";
+ enablenpc "70-1";
+ enablenpc "70-2";
+ enablenpc "70-3";
+ enablenpc "70-4";
+ enablenpc "71-1";
+ enablenpc "71-2";
+ enablenpc "71-3";
+ enablenpc "71-4";
+ enablenpc "72-1";
+ enablenpc "72-2";
+ enablenpc "72-3";
+ enablenpc "72-4";
+ enablenpc "73-1";
+ enablenpc "73-2";
+ enablenpc "73-3";
+ enablenpc "73-4";
+ enablenpc "74-1";
+ enablenpc "74-2";
+ enablenpc "74-3";
+ enablenpc "74-4";
+ enablenpc "75-1";
+ enablenpc "75-2";
+ enablenpc "75-3";
+ enablenpc "75-4";
+ enablenpc "76-1";
+ enablenpc "76-2";
+ enablenpc "76-3";
+ enablenpc "76-4";
+ enablenpc "77-1";
+ enablenpc "77-2";
+ enablenpc "77-3";
+ enablenpc "77-4";
+ enablenpc "78-1";
+ enablenpc "78-2";
+ enablenpc "78-3";
+ enablenpc "78-4";
+ enablenpc "79-1";
+ enablenpc "79-2";
+ enablenpc "79-3";
+ enablenpc "79-4";
+ enablenpc "80-1";
+ enablenpc "80-2";
+ enablenpc "80-3";
+ enablenpc "80-4";
+ enablenpc "81-1";
+ enablenpc "81-2";
+ enablenpc "81-3";
+ enablenpc "81-4";
+ enablenpc "82-1";
+ enablenpc "82-2";
+ enablenpc "82-3";
+ enablenpc "82-4";
+ enablenpc "83-1";
+ enablenpc "83-2";
+ enablenpc "83-3";
+ enablenpc "83-4";
+ enablenpc "84-1";
+ enablenpc "84-2";
+ enablenpc "84-3";
+ enablenpc "84-4";
+ enablenpc "85-1";
+ enablenpc "85-2";
+ enablenpc "85-3";
+ enablenpc "85-4";
+ enablenpc "86-1";
+ enablenpc "86-2";
+ enablenpc "86-3";
+ enablenpc "86-4";
+ enablenpc "87-1";
+ enablenpc "87-2";
+ enablenpc "87-3";
+ enablenpc "87-4";
+ enablenpc "88-1";
+ enablenpc "88-2";
+ enablenpc "88-3";
+ enablenpc "88-4";
+ enablenpc "89-1";
+ enablenpc "89-2";
+ enablenpc "89-3";
+ enablenpc "89-4";
+ enablenpc "90-1";
+ enablenpc "90-2";
+ enablenpc "90-3";
+ enablenpc "90-4";
+ enablenpc "91-1";
+ enablenpc "91-2";
+ enablenpc "91-3";
+ enablenpc "91-4";
+ enablenpc "92-1";
+ enablenpc "92-2";
+ enablenpc "92-3";
+ enablenpc "92-4";
+ enablenpc "93-1";
+ enablenpc "93-2";
+ enablenpc "93-3";
+ enablenpc "93-4";
+ enablenpc "94-1";
+ enablenpc "94-2";
+ enablenpc "94-3";
+ enablenpc "94-4";
+ enablenpc "95-1";
+ enablenpc "95-2";
+ enablenpc "95-3";
+ enablenpc "95-4";
+ enablenpc "96-1";
+ enablenpc "96-2";
+ enablenpc "96-3";
+ enablenpc "96-4";
+ enablenpc "97-1";
+ enablenpc "97-2";
+ enablenpc "97-3";
+ enablenpc "97-4";
end;
OnDisable:
- hideonnpc "57-4";
- hideonnpc "58-1";
- hideonnpc "58-2";
- hideonnpc "58-3";
- hideonnpc "58-4";
- hideonnpc "59-1";
- hideonnpc "59-2";
- hideonnpc "59-3";
- hideonnpc "59-4";
- hideonnpc "60-1";
- hideonnpc "60-2";
- hideonnpc "60-3";
- hideonnpc "60-4";
- hideonnpc "61-1";
- hideonnpc "61-2";
- hideonnpc "61-3";
- hideonnpc "61-4";
- hideonnpc "62-1";
- hideonnpc "62-2";
- hideonnpc "62-3";
- hideonnpc "62-4";
- hideonnpc "63-1";
- hideonnpc "63-2";
- hideonnpc "63-3";
- hideonnpc "63-4";
- hideonnpc "64-1";
- hideonnpc "64-2";
- hideonnpc "64-3";
- hideonnpc "64-4";
- hideonnpc "65-1";
- hideonnpc "65-2";
- hideonnpc "65-3";
- hideonnpc "65-4";
- hideonnpc "66-1";
- hideonnpc "66-2";
- hideonnpc "66-3";
- hideonnpc "66-4";
- hideonnpc "67-1";
- hideonnpc "67-2";
- hideonnpc "67-3";
- hideonnpc "67-4";
- hideonnpc "68-1";
- hideonnpc "68-2";
- hideonnpc "68-3";
- hideonnpc "68-4";
- hideonnpc "69-1";
- hideonnpc "69-2";
- hideonnpc "69-3";
- hideonnpc "69-4";
- hideonnpc "70-1";
- hideonnpc "70-2";
- hideonnpc "70-3";
- hideonnpc "70-4";
- hideonnpc "71-1";
- hideonnpc "71-2";
- hideonnpc "71-3";
- hideonnpc "71-4";
- hideonnpc "72-1";
- hideonnpc "72-2";
- hideonnpc "72-3";
- hideonnpc "72-4";
- hideonnpc "73-1";
- hideonnpc "73-2";
- hideonnpc "73-3";
- hideonnpc "73-4";
- hideonnpc "74-1";
- hideonnpc "74-2";
- hideonnpc "74-3";
- hideonnpc "74-4";
- hideonnpc "75-1";
- hideonnpc "75-2";
- hideonnpc "75-3";
- hideonnpc "75-4";
- hideonnpc "76-1";
- hideonnpc "76-2";
- hideonnpc "76-3";
- hideonnpc "76-4";
- hideonnpc "77-1";
- hideonnpc "77-2";
- hideonnpc "77-3";
- hideonnpc "77-4";
- hideonnpc "78-1";
- hideonnpc "78-2";
- hideonnpc "78-3";
- hideonnpc "78-4";
- hideonnpc "79-1";
- hideonnpc "79-2";
- hideonnpc "79-3";
- hideonnpc "79-4";
- hideonnpc "80-1";
- hideonnpc "80-2";
- hideonnpc "80-3";
- hideonnpc "80-4";
- hideonnpc "81-1";
- hideonnpc "81-2";
- hideonnpc "81-3";
- hideonnpc "81-4";
- hideonnpc "82-1";
- hideonnpc "82-2";
- hideonnpc "82-3";
- hideonnpc "82-4";
- hideonnpc "83-1";
- hideonnpc "83-2";
- hideonnpc "83-3";
- hideonnpc "83-4";
- hideonnpc "84-1";
- hideonnpc "84-2";
- hideonnpc "84-3";
- hideonnpc "84-4";
- hideonnpc "85-1";
- hideonnpc "85-2";
- hideonnpc "85-3";
- hideonnpc "85-4";
- hideonnpc "86-1";
- hideonnpc "86-2";
- hideonnpc "86-3";
- hideonnpc "86-4";
- hideonnpc "87-1";
- hideonnpc "87-2";
- hideonnpc "87-3";
- hideonnpc "87-4";
- hideonnpc "88-1";
- hideonnpc "88-2";
- hideonnpc "88-3";
- hideonnpc "88-4";
- hideonnpc "89-1";
- hideonnpc "89-2";
- hideonnpc "89-3";
- hideonnpc "89-4";
- hideonnpc "90-1";
- hideonnpc "90-2";
- hideonnpc "90-3";
- hideonnpc "90-4";
- hideonnpc "91-1";
- hideonnpc "91-2";
- hideonnpc "91-3";
- hideonnpc "91-4";
- hideonnpc "92-1";
- hideonnpc "92-2";
- hideonnpc "92-3";
- hideonnpc "92-4";
- hideonnpc "93-1";
- hideonnpc "93-2";
- hideonnpc "93-3";
- hideonnpc "93-4";
- hideonnpc "94-1";
- hideonnpc "94-2";
- hideonnpc "94-3";
- hideonnpc "94-4";
- hideonnpc "95-1";
- hideonnpc "95-2";
- hideonnpc "95-3";
- hideonnpc "95-4";
- hideonnpc "96-1";
- hideonnpc "96-2";
- hideonnpc "96-3";
- hideonnpc "96-4";
- hideonnpc "97-1";
- hideonnpc "97-2";
- hideonnpc "97-3";
- hideonnpc "97-4";
+ disablenpc "57-4";
+ disablenpc "58-1";
+ disablenpc "58-2";
+ disablenpc "58-3";
+ disablenpc "58-4";
+ disablenpc "59-1";
+ disablenpc "59-2";
+ disablenpc "59-3";
+ disablenpc "59-4";
+ disablenpc "60-1";
+ disablenpc "60-2";
+ disablenpc "60-3";
+ disablenpc "60-4";
+ disablenpc "61-1";
+ disablenpc "61-2";
+ disablenpc "61-3";
+ disablenpc "61-4";
+ disablenpc "62-1";
+ disablenpc "62-2";
+ disablenpc "62-3";
+ disablenpc "62-4";
+ disablenpc "63-1";
+ disablenpc "63-2";
+ disablenpc "63-3";
+ disablenpc "63-4";
+ disablenpc "64-1";
+ disablenpc "64-2";
+ disablenpc "64-3";
+ disablenpc "64-4";
+ disablenpc "65-1";
+ disablenpc "65-2";
+ disablenpc "65-3";
+ disablenpc "65-4";
+ disablenpc "66-1";
+ disablenpc "66-2";
+ disablenpc "66-3";
+ disablenpc "66-4";
+ disablenpc "67-1";
+ disablenpc "67-2";
+ disablenpc "67-3";
+ disablenpc "67-4";
+ disablenpc "68-1";
+ disablenpc "68-2";
+ disablenpc "68-3";
+ disablenpc "68-4";
+ disablenpc "69-1";
+ disablenpc "69-2";
+ disablenpc "69-3";
+ disablenpc "69-4";
+ disablenpc "70-1";
+ disablenpc "70-2";
+ disablenpc "70-3";
+ disablenpc "70-4";
+ disablenpc "71-1";
+ disablenpc "71-2";
+ disablenpc "71-3";
+ disablenpc "71-4";
+ disablenpc "72-1";
+ disablenpc "72-2";
+ disablenpc "72-3";
+ disablenpc "72-4";
+ disablenpc "73-1";
+ disablenpc "73-2";
+ disablenpc "73-3";
+ disablenpc "73-4";
+ disablenpc "74-1";
+ disablenpc "74-2";
+ disablenpc "74-3";
+ disablenpc "74-4";
+ disablenpc "75-1";
+ disablenpc "75-2";
+ disablenpc "75-3";
+ disablenpc "75-4";
+ disablenpc "76-1";
+ disablenpc "76-2";
+ disablenpc "76-3";
+ disablenpc "76-4";
+ disablenpc "77-1";
+ disablenpc "77-2";
+ disablenpc "77-3";
+ disablenpc "77-4";
+ disablenpc "78-1";
+ disablenpc "78-2";
+ disablenpc "78-3";
+ disablenpc "78-4";
+ disablenpc "79-1";
+ disablenpc "79-2";
+ disablenpc "79-3";
+ disablenpc "79-4";
+ disablenpc "80-1";
+ disablenpc "80-2";
+ disablenpc "80-3";
+ disablenpc "80-4";
+ disablenpc "81-1";
+ disablenpc "81-2";
+ disablenpc "81-3";
+ disablenpc "81-4";
+ disablenpc "82-1";
+ disablenpc "82-2";
+ disablenpc "82-3";
+ disablenpc "82-4";
+ disablenpc "83-1";
+ disablenpc "83-2";
+ disablenpc "83-3";
+ disablenpc "83-4";
+ disablenpc "84-1";
+ disablenpc "84-2";
+ disablenpc "84-3";
+ disablenpc "84-4";
+ disablenpc "85-1";
+ disablenpc "85-2";
+ disablenpc "85-3";
+ disablenpc "85-4";
+ disablenpc "86-1";
+ disablenpc "86-2";
+ disablenpc "86-3";
+ disablenpc "86-4";
+ disablenpc "87-1";
+ disablenpc "87-2";
+ disablenpc "87-3";
+ disablenpc "87-4";
+ disablenpc "88-1";
+ disablenpc "88-2";
+ disablenpc "88-3";
+ disablenpc "88-4";
+ disablenpc "89-1";
+ disablenpc "89-2";
+ disablenpc "89-3";
+ disablenpc "89-4";
+ disablenpc "90-1";
+ disablenpc "90-2";
+ disablenpc "90-3";
+ disablenpc "90-4";
+ disablenpc "91-1";
+ disablenpc "91-2";
+ disablenpc "91-3";
+ disablenpc "91-4";
+ disablenpc "92-1";
+ disablenpc "92-2";
+ disablenpc "92-3";
+ disablenpc "92-4";
+ disablenpc "93-1";
+ disablenpc "93-2";
+ disablenpc "93-3";
+ disablenpc "93-4";
+ disablenpc "94-1";
+ disablenpc "94-2";
+ disablenpc "94-3";
+ disablenpc "94-4";
+ disablenpc "95-1";
+ disablenpc "95-2";
+ disablenpc "95-3";
+ disablenpc "95-4";
+ disablenpc "96-1";
+ disablenpc "96-2";
+ disablenpc "96-3";
+ disablenpc "96-4";
+ disablenpc "97-1";
+ disablenpc "97-2";
+ disablenpc "97-3";
+ disablenpc "97-4";
end;
}
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt
index 2bb88ec18..e4141188c 100644
--- a/npc/jobs/2-1/knight.txt
+++ b/npc/jobs/2-1/knight.txt
@@ -1077,7 +1077,7 @@ prt_in,71,91,0 script Sir Siracuse 65,{
mes "something to";
mes "ask me?";
next;
- switch (select("Sir Andrew sent me to take your test.:Oh, nothing.") == 1) {
+ if (select("Sir Andrew sent me to take your test.:Oh, nothing.") == 1) {
mes "[Sir Siracuse]";
mes "I see, you've passed the first test. Very well, I'll make some time for you. Let me introduce myself. My name is James Siracuse.";
next;
@@ -1728,37 +1728,41 @@ job_knt,89,106,4 script Windsor Benedict#knt 733,{
end;
OnInit:
- hideonnpc "Windsor Benedict#knt";
+ disablenpc "Windsor Benedict#knt";
waitingroom "Waiting Room",20,"Windsor Benedict#knt::OnStartArena",1;
enablewaitingroomevent;
end;
OnStartArena:
+ killmonster "job_knt", "Knight1::OnMyMobDead";
+ killmonster "job_knt", "Knight2::OnMyMobDead";
+ killmonster "job_knt", "Knight3::OnMyMobDead";
warpwaitingpc "job_knt",43,146;
donpcevent "Knight1::OnEnable";
disablewaitingroomevent;
end;
-OnEnable:
+OnStart:
enablewaitingroomevent;
end;
}
-job_knt,1,1,1 script Knight1 66,{
- end;
-
+- script Knight1 -1,{
OnInit:
- hideonnpc "Knight1";
+ disablenpc "Knight1";
end;
OnEnable:
- hideoffnpc "Knight1";
+ enablenpc "Knight1";
if (!checkre(0)) {
+ set .MyMobs,12;
monster "job_knt",39,150,"Dustiness",1114,1,"Knight1::OnMyMobDead";
monster "job_knt",47,150,"Dustiness",1114,1,"Knight1::OnMyMobDead";
monster "job_knt",39,142,"Dustiness",1114,1,"Knight1::OnMyMobDead";
monster "job_knt",47,142,"Dustiness",1114,1,"Knight1::OnMyMobDead";
}
+ else
+ set .MyMobs,8;
monster "job_knt",43,137,"Piere",1160,1,"Knight1::OnMyMobDead";
monster "job_knt",43,137,"Andre",1095,1,"Knight1::OnMyMobDead";
monster "job_knt",43,137,"Deniro",1105,1,"Knight1::OnMyMobDead";
@@ -1770,25 +1774,22 @@ OnEnable:
initnpctimer;
end;
-OnReset:
- killmonster "job_knt","Knight1::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Knight1";
+ killmonster "job_knt", "Knight1::OnMyMobDead";
+ disablenpc "Knight1";
end;
OnMyMobDead:
- if (mobcount ("job_knt","Knight1::OnMyMobDead") < 1) {
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
mes "[Sir Windsor]";
mes "...";
- close2;
+ next;
mes "[Sir Windsor]";
mes "...On to";
mes "the next level.";
close2;
warp "job_knt",43,52;
- donpcevent "Knight1::OnReset";
donpcevent "Knight1::OnDisable";
donpcevent "Knight2::OnEnable";
stopnpctimer;
@@ -1796,55 +1797,31 @@ OnMyMobDead:
end;
OnTimer180000:
- donpcevent "Knight1::OnReset";
+ donpcevent "Knight1::OnDisable";
end;
OnTimer181000:
- donpcevent "Out1::OnEnable";
+ areawarp "job_knt", 24, 126, 63, 165, "prt_in",80,100;
end;
OnTimer182000:
- donpcevent "Out1::OnDisable";
+ stopnpctimer;
donpcevent "Knight1::OnDisable";
- donpcevent "Windsor Benedict#knt::OnEnable";
+ donpcevent "Windsor Benedict#knt::OnStart";
end;
}
-job_knt,43,146,0 script Out1 139,22,22,{
-
-OnTouch:
- warp "prt_in",80,100;
- end;
-
+// Test 2 part 2
+//==========================================================
+- script Knight2 -1,{
OnInit:
- hideonnpc "Out1";
+ disablenpc "Knight2";
end;
OnEnable:
- hideoffnpc "Out1";
- end;
-
-OnDisable:
- hideonnpc "Out1";
- end;
-}
-
-job_knt,1,2,1 script Knight2 66,{
- end;
-
-OnInit:
- hideonnpc "Knight2";
- end;
-
-OnEnable:
- hideoffnpc "Knight2";
- monster "job_knt",53,52,"Frilldora",1119,1,"Knight2::OnMyMobDead";
- monster "job_knt",34,52,"Frilldora",1119,1,"Knight2::OnMyMobDead";
- monster "job_knt",58,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
- monster "job_knt",58,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
- monster "job_knt",29,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
- monster "job_knt",29,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
+ enablenpc "Knight2";
if (!checkre(0)) {
+ set .MyMobs,12;
monster "job_knt",43,42,"Desert Wolf",1106,1,"Knight2::OnMyMobDead";
monster "job_knt",43,62,"Desert Wolf",1106,1,"Knight2::OnMyMobDead";
monster "job_knt",60,68,"Anacondaq",1030,1,"Knight2::OnMyMobDead";
@@ -1852,27 +1829,32 @@ OnEnable:
monster "job_knt",60,35,"Anacondaq",1030,1,"Knight2::OnMyMobDead";
monster "job_knt",27,35,"Anacondaq",1030,1,"Knight2::OnMyMobDead";
}
+ else
+ set .MyMobs,6;
+ monster "job_knt",53,52,"Frilldora",1119,1,"Knight2::OnMyMobDead";
+ monster "job_knt",34,52,"Frilldora",1119,1,"Knight2::OnMyMobDead";
+ monster "job_knt",58,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
+ monster "job_knt",58,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
+ monster "job_knt",29,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
+ monster "job_knt",29,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
initnpctimer;
end;
-OnReset:
- killmonster "job_knt","Knight2::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Knight2";
+ killmonster "job_knt", "Knight2::OnMyMobDead";
+ disablenpc "Knight2";
end;
OnMyMobDead:
- if (mobcount ("job_knt","Knight2::OnMyMobDead") < 1) {
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
mes "[Sir Windsor]";
mes "...Hmm.";
- close2;
+ next;
mes "[Sir Windsor]";
mes "...One stage left.";
close2;
warp "job_knt",143,152;
- donpcevent "Knight2::OnReset";
donpcevent "Knight2::OnDisable";
donpcevent "Knight3::OnEnable";
stopnpctimer;
@@ -1880,120 +1862,85 @@ OnMyMobDead:
end;
OnTimer180000:
- donpcevent "Knight2::OnReset";
+ donpcevent "Knight2::OnDisable";
end;
OnTimer181000:
- donpcevent "Out2::OnEnable";
+ areawarp "job_knt", 24, 32, 63, 71, "prt_in",80,100;
end;
OnTimer182000:
- donpcevent "Out2::OnDisable";
+ stopnpctimer;
donpcevent "Knight2::OnDisable";
- donpcevent "Windsor Benedict#knt::OnEnable";
- end;
-}
-
-job_knt,43,52,0 script Out2 139,22,22,{
-
-OnTouch:
- warp "prt_in",80,100;
- end;
-
-OnInit:
- hideonnpc "Out2";
- end;
-
-OnEnable:
- hideoffnpc "Out2";
- end;
-
-OnDisable:
- hideonnpc "Out2";
+ donpcevent "Windsor Benedict#knt::OnStart";
end;
}
-job_knt,1,3,1 script Knight3 66,{
- end;
-
+// Test 2 part 3
+//==========================================================
+- script Knight3 -1,{
OnInit:
- hideonnpc "Knight3";
+ disablenpc "Knight3";
end;
OnEnable:
- hideoffnpc "Knight3";
+ enablenpc "Knight3";
+ if (!checkre(0)) {
+ set .MyMobs,7;
+ monster "job_knt",147,167,"Goblin Archer",1258,1,"Knight3::OnMyMobDead";
+ monster "job_knt",136,158,"Steam Goblin",1280,1,"Knight3::OnMyMobDead";
+ }
+ else
+ set .MyMobs,5;
monster "job_knt",136,152,"Goblin",1122,1,"Knight3::OnMyMobDead";
monster "job_knt",150,152,"Goblin",1123,1,"Knight3::OnMyMobDead";
monster "job_knt",143,145,"Goblin",1124,1,"Knight3::OnMyMobDead";
monster "job_knt",143,167,"Goblin",1125,1,"Knight3::OnMyMobDead";
monster "job_knt",139,167,"Goblin",1126,1,"Knight3::OnMyMobDead";
- if (!checkre(0)){
- monster "job_knt",147,167,"Goblin Archer",1258,1,"Knight3::OnMyMobDead";
- monster "job_knt",136,158,"Steam Goblin",1280,1,"Knight3::OnMyMobDead";
- }
initnpctimer;
end;
-OnReset:
- killmonster "job_knt","Knight3::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Knight3";
+ killmonster "job_knt", "Knight3::OnMyMobDead";
+ disablenpc "Knight3";
end;
OnMyMobDead:
- if (mobcount ("job_knt","Knight3::OnMyMobDead") < 1) {
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
mes "[Sir Windsor]";
mes "...";
- close2;
+ next;
mes "[Sir Windsor]";
mes "...Very good.";
- close2;
+ next;
mes "[Sir Windsor]";
mes "...Go talk to";
mes "Amy Beatrice now.";
close2;
set KNIGHT_Q,8;
+ if(checkquest(9007) == -1) {
+ changequest 9006,9007;
+ }
warp "prt_in",80,100;
- donpcevent "Knight3::OnReset";
donpcevent "Knight3::OnDisable";
- donpcevent "Windsor Benedict#knt::OnEnable";
+ donpcevent "Windsor Benedict#knt::OnStart";
stopnpctimer;
}
end;
OnTimer180000:
- donpcevent "Knight3::OnReset";
+ donpcevent "Knight3::OnDisable";
end;
OnTimer181000:
- donpcevent "Out3::OnEnable";
+ areawarp "job_knt", 124, 132, 163, 171, "prt_in",80,100;
end;
OnTimer182000:
- donpcevent "Out3::OnDisable";
+ stopnpctimer;
donpcevent "Knight3::OnDisable";
- donpcevent "Windsor Benedict#knt::OnEnable";
- end;
-}
-
-job_knt,143,152,0 script Out3 139,22,22,{
-
-OnTouch:
- warp "prt_in",80,100;
- end;
-
-OnInit:
- hideonnpc "Out3";
- end;
-
-OnEnable:
- hideoffnpc "Out3";
- end;
-
-OnDisable:
- hideonnpc "Out3";
+ donpcevent "Windsor Benedict#knt::OnStart";
end;
}
@@ -2982,28 +2929,8 @@ OnTimer60150:
end;
OnInit:
- hideoffnpc "Timer#knt";
- monster "job_knt",141,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",145,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",143,55,"Poring",1002,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",143,59,"Poring",1002,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",141,55,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",141,59,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",145,55,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",145,59,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",139,57,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",147,57,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",143,53,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",143,61,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",167,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",167,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",120,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",120,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
- initnpctimer;
- end;
-
OnEnable:
- hideoffnpc "Timer#knt";
+ enablenpc "Timer#knt";
monster "job_knt",141,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
monster "job_knt",145,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
monster "job_knt",143,55,"Poring",1002,1,"Timer#knt::OnMyMobDead";
@@ -3016,10 +2943,11 @@ OnEnable:
monster "job_knt",147,57,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
monster "job_knt",143,53,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
monster "job_knt",143,61,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",167,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",167,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",120,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
- monster "job_knt",120,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
+ //These monsters were out of bounds. Adjusted to put them in bounds.
+ monster "job_knt",165,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
+ monster "job_knt",165,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
+ monster "job_knt",122,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
+ monster "job_knt",122,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
initnpctimer;
end;
@@ -3037,6 +2965,7 @@ OnMyMobDead:
}
job_knt,143,57,0 script Warp#knt 139,22,22,{
+ end;
OnTouch:
set KNIGHT_Q,12;
@@ -3045,22 +2974,22 @@ OnTouch:
end;
OnInit:
- hideonnpc "Warp#knt";
+ disablenpc "Warp#knt";
end;
OnEnable:
- hideoffnpc "Warp#knt";
+ enablenpc "Warp#knt";
end;
OnDisable:
- hideonnpc "Warp#knt";
+ disablenpc "Warp#knt";
end;
}
prt_in,87,92,4 script Sir Gray 119,{
- if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
- if (Class == Job_Baby_Knight || Class == Job_Knight) {
- mes "[Sir Gray]";
+ mes "[Sir Gray]";
+ if (BaseJob != Job_Swordman) {
+ if (BaseJob == Job_Knight) {
mes "The glint of light";
mes "that shines off this blade cannot be put into words. This is the weapon every Knight must have.";
next;
@@ -3070,10 +2999,10 @@ prt_in,87,92,4 script Sir Gray 119,{
mes "Every Knight";
mes "would want one!";
next;
- switch (select("About ^3355FFClaymore^000000:Buy Claymore:End Conversation")) {
+ switch(select("About ^3355FFClaymore^000000:Buy Claymore:End Conversation")) {
case 1:
mes "[Sir Gray]";
- mes "Claymore, one of the best among the famous swords you can attain in Rune-Midgarts Prontera!! Its value is priceless when considered by a Knight.";
+ mes "Claymore, one of the best among the famous swords you can attain in Rune-Midgarts's Prontera!! Its value is priceless when considered by a Knight.";
next;
mes "[Sir Gray]";
mes "Now, the Prontera Chivalry is making these fabulous Claymores. For Knights, they are only ^3355FF74,000^000000 Zeny.";
@@ -3083,7 +3012,8 @@ prt_in,87,92,4 script Sir Gray 119,{
mes "1 ^3355FFSteel^000000 because of the Claymore's characteristics. If you like, I can create one for you. For the honor of the Prontera Chivalry!";
close;
case 2:
- if ((MaxWeight - Weight) < 1800) {
+ set .@now_weight,MaxWeight-Weight;
+ if (.@now_weight < 1800) {
mes "[Sir Gray]";
mes "Oh no...";
mes "It seems that you are carrying too many things. You don't have enough space for a heavy Claymore in your inventory.";
@@ -3094,85 +3024,85 @@ prt_in,87,92,4 script Sir Gray 119,{
mes "your items first.";
close;
}
- if ((Zeny > 73999) && (countitem(999) > 0) && (Class == Job_Baby_Knight || Class == Job_Knight || Class == Job_Baby_Swordman || Class == Job_Swordman)) {
- mes "[Sir Gray]";
- mes "You are ready!";
- mes "You must know the";
- mes "true value of";
- mes "a Claymore!";
- mes "I shall make";
- mes "it right now!!";
- next;
+ else {
+ if ((Zeny > 73999) && (countitem(999) > 0) && (BaseJob == Job_Knight)) {
+ mes "[Sir Gray]";
+ mes "You are ready!";
+ mes "You must know the";
+ mes "true value of";
+ mes "a Claymore!";
+ mes "I shall make";
+ mes "it right now!!";
+ next;
+ mes "[Sir Gray]";
+ mes "The basics of";
+ mes "making the Claymore";
+ mes "is easy. Watch~!";
+ next;
+ mes "^3355FF*Stir Stir*^000000";
+ mes "^3355FF*Ooncha Ooncha*^000000";
+ next;
+ mes "[Sir Gray]";
+ mes "Okay, it's ready!";
+ mes "Every Knight's pride:";
+ mes "a fine ^3355FFClaymore^000000.";
+ mes "You attained a reliable item.";
+ mes "It'll be a good companion on your adventures.";
+ delitem 999,1; //Steel
+ set Zeny, Zeny - 74000;
+ getitem 1163,1; //Claymore
+ close;
+ }
mes "[Sir Gray]";
- mes "The basics of";
- mes "making the Claymore";
- mes "is easy. Watch~!";
- next;
- mes "^3355FF*Stir Stir*^000000";
- mes "^3355FF*Ooncha Ooncha*^000000";
+ mes "I realize you may really want a Claymore, but I can't make it without the materials.";
+ mes "^3355FF74,000 zeny^000000 and ^3355FF1 Steel!^000000.";
next;
mes "[Sir Gray]";
- mes "Okay, it's ready!";
- mes "Every Knight's pride:";
- mes "a fine ^3355FFClaymore^000000.";
- mes "You attained a reliable item.";
- mes "It'll be a good companion on your adventures.";
- delitem 999,1; //Steel
- set Zeny, Zeny - 74000;
- getitem 1163,1; //Claymore
+ mes "Come back when";
+ mes "you have everything";
+ mes "ready. I shall be";
+ mes "waiting...";
close;
}
- mes "[Sir Gray]";
- mes "I realize you may really want a Claymore, but I can't make it without the materials.";
- mes "^3355FF74,000 zeny^000000 and ^3355FF1 Steel!^000000.";
- next;
- mes "[Sir Gray]";
- mes "Come back when";
- mes "you have everything";
- mes "ready. I shall be";
- mes "waiting...";
- close;
case 3:
mes "[Sir Gray]";
mes "Any Knight should be able to wield a Claymore as if it were an extension of their body. I used to look forward to brandishing my Claymore in battle...";
close;
}
- if (Class == Job_Baby || Class == Job_Novice) {
- mes "[Sir Gray]";
- mes "Believe it";
- mes "or not, I was";
- mes "once a Novice";
- mes "as well.";
- next;
- mes "[Sir Gray]";
- mes "I never really planned to become a Knight, but I did decide to become a strong person. Somehow, along my journeys, I ended up joining the Prontera Chivalry. Ha ha ha!";
- close;
- }
- mes "[Sir Gray]";
- mes "Young one,";
- mes "use your time";
- mes "wisely.";
- next;
- mes "[Sir Gray]";
- mes "No point in";
- mes "harboring regret";
- mes "once time has passed.";
- close;
}
- if (KNIGHT_Q == 0) {
- mes "[Sir Gray]";
- mes "Young one,";
- mes "use your time";
- mes "wisely.";
+ else if (BaseClass == Job_Novice) {
+ mes "Believe it";
+ mes "or not, I was";
+ mes "once a Novice";
+ mes "as well.";
next;
mes "[Sir Gray]";
- mes "No point in";
- mes "harboring regret";
- mes "once time has passed.";
+ mes "I never really planned to become a Knight, but I did decide to become a strong person. Somehow, along my journeys, I ended up joining the Prontera Chivalry. Ha ha ha!";
close;
}
+ mes "Young one,";
+ mes "use your time";
+ mes "wisely.";
+ next;
+ mes "[Sir Gray]";
+ mes "No point in";
+ mes "harboring regret";
+ mes "once time has passed.";
+ close;
+ }
+ if (KNIGHT_Q == 0) {
+ mes "Young one,";
+ mes "use your time";
+ mes "wisely.";
+ next;
+ mes "[Sir Gray]";
+ mes "No point in";
+ mes "harboring regret";
+ mes "once time has passed.";
+ close;
+ }
+ else if ((KNIGHT_Q == 12) || (KNIGHT_Q == 13)) {
if (KNIGHT_Q == 12) {
- mes "[Sir Gray]";
mes "Oh...";
mes "A young Swordman.";
mes "Yes, what can";
@@ -3185,7 +3115,6 @@ prt_in,87,92,4 script Sir Gray 119,{
mes "everyone else's";
mes "test?";
next;
- set @knight_t, 0;
mes "[Sir Gray]";
mes "Then shall";
mes "we begin mine?";
@@ -3203,287 +3132,14 @@ prt_in,87,92,4 script Sir Gray 119,{
mes "decide to become";
mes "a Knight?";
next;
- switch (select("To become stronger...:To help my guild...:Because I'm unsatisfied with myself right now...")) {
- case 1:
- mes "[Sir Gray]";
- mes "To become stronger, you say?";
- mes "Yes, Knights are indeed strong.";
- mes "But why gain strength?";
- next;
- mes "[Sir Gray]";
- mes "Is it to show off to others? To attain fame? Or do you have a diferent reason? What do you think is so good about gaining strength as a Knight?";
- next;
- switch (select("Gain wealth and fame.:I can protect myself.:I can protect others.")) {
- case 1:
- set @knight_t, @knight_t + 10;
- mes "[Sir Gray]";
- mes "Of course, wealth and fame have their place in the world. But we as Knights must live for higher virtues.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "Good thinking. You must first be able to protect yourself in order to protect others. To this end, you must constantly train, and never give in to laziness.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
- next;
- mes "[Sir Gray]";
- mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
- next;
- break;
- }
- case 2:
- mes "[Sir Gray]";
- mes "Ah, to help your guild, or maybe even your party. Our wise and benevolent King Tristram the 3rd gave us these golden words...";
- next;
- mes "[Sir Gray]";
- mes "^8B7500Beyond the calm river, lies a dangerous waterfall. Therefore, you must always be prepared for everything...^000000";
- next;
- mes "[Sir Gray]";
- mes "So how do you";
- mes "think you can";
- mes "help your guild?";
- next;
- switch (select("My guild needs me.:I can help gather funds for my guild.:I can protect my guild members.")) {
- case 1:
- mes "[Sir Gray]";
- mes "Anyone, anywhere in this world,";
- mes "has a place where they are needed. Never neglect someone in need, even if he is not a guild member.";
- next;
- break;
- case 2:
- set @knight_t, @knight_t + 10;
- mes "[Sir Gray]";
- mes "Of course wealth is important.";
- mes "But we Knights must live for higher virtues.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
- next;
- mes "[Sir Gray]";
- mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
- next;
- break;
- }
- case 3:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "Satisfaction, you say.";
- mes "It seems like you are";
- mes "already a fine Swordman.";
- mes "Is there a particular reason you wish to be a Knight?";
- next;
- mes "[Sir Gray]";
- mes "I don't know about";
- mes "Swordmen, but Knights do not allow self-indulgence. There are those so obsessed with gaining strength that they cannot control themselves.";
- next;
- mes "[Sir Gray]";
- mes "So...";
- mes "What part of yourself";
- mes "are you not satisfied";
- mes "with right now?";
- next;
- switch (select("Skills.:Goal.:Appearance.")) {
- case 1:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "Skill is something you gain with experience as a Knight. It cannot be your highest goal. Otherwise, you'll never be satisfied as a Knight.";
- next;
- break;
- case 2:
- set @knight_t, @knight_t - 5;
- mes "[Sir Gray]";
- mes "I see...";
- mes "Always having a goal is very important. You may be full of ideas upon becoming a Knight, but that may change with time.";
- next;
- break;
- case 3:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "Oh no...";
- mes "What you see isn't what really counts. A Swordman may be stronger than a Knight, and even Knight may grow weak if he becomes lazy.";
- next;
- break;
- }
- }
- mes "[Sir Gray]";
- mes "I understand your thoughts,";
- mes "but there are those who wish to";
- mes "become Knights without thinking.";
- next;
- mes "[Sir Gray]";
- mes "Those are the ones who instigate problems and shame the honor of Knights, bringing irreversible results.";
- next;
- mes "[Sir Gray]";
- mes "The same goes for you as well. Once you become a Knight, you can never become a Swordman again. The duties and responsibilities of a Knight will always be with you.";
- next;
- mes "[Sir Gray]";
- mes "If you become a Knight right away, what are you going to do first?";
- next;
- switch (select("I am going to go straight to battle.:There are those waiting for me.:I will learn more about Knights.")) {
- case 1:
- mes "[Sir Gray]";
- mes "Battle...?";
- mes "And then?";
- next;
- switch (select("I will grow within a short period of time.:I would like to test my ability as a Knight.:I would like to go to more challenging places.")) {
- case 1:
- set @knight_t, @knight_t + 10;
- mes "[Sir Gray]";
- mes "Don't be in too much of a hurry to become strong. Even if you become";
- mes "a Knight, you are still yourself.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "Testing yourself is a good thing. It's okay to be happy about how you change, but don't forget about the true qualities of being a Knight.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Even if you become a Knight, you are not changing your inner self. No need to overwork yourself.";
- mes "Relax and take things step by step.";
- next;
- break;
- }
- case 2:
- mes "[Sir Gray]";
- mes "Who is";
- mes "waiting for you?";
- next;
- switch (select("My friends.:My Guild members.:My Lover.")) {
- case 1:
- mes "[Sir Gray]";
- mes "I see, they would share in the joy of your achievements. Don't ever lose your kind heart, and always give help to your friends.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "Those who would share in your happiness and hardship. As a Knight, you must always protect them.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Oh, youth!";
- mes "Becoming a Knight";
- mes "for your beloved!";
- if (Sex == 1) {
- mes "Always protect her...";
- mes "Even at the sacrifice";
- mes "of your own life!";
- }
- else {
- mes "Always protect him...";
- mes "Even at the sacrifice";
- mes "of your own life!";
- }
- next;
- mes "[Sir Gray]";
- mes "Also...";
- mes "Love them forever.";
- mes "Sincere affection";
- mes "is hard to find.";
- next;
- break;
- }
- case 3:
- mes "[Sir Gray]";
- mes "Good attitude...";
- mes "What do you plan";
- mes "on learning?";
- next;
- switch (select("Comfortable places for Knights to go...:The different paths of a Knight...:Ways to get more money as a Knight...")) {
- case 1:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "There are many places that are comfortable or uncomfortable in this world. However Knights must";
- mes "be able to survive anywhere.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "There are many similar Knights outside in the world. Think of them as your seniors and ask many questions.";
- next;
- break;
- case 3:
- set @knight_t, @knight_t + 15;
- mes "[Sir Gray]";
- mes "Oh no. Do you hold wealth as a priority of being a Knight? We're not meant to be that way. Come again when you have thought";
- mes "more about it...";
- next;
- break;
- }
- }
- mes "[Sir Gray]";
- mes "Oh no, we've been";
- mes "talking too much...";
- mes "I apologize for";
- mes "keeping you here";
- mes "for so long.";
- next;
- if (@knight_t == 0) {
- set KNIGHT_Q,14;
- mes "[Sir Gray]";
- mes "I enjoyed talking with you. You remind me of myself as a young recruit. Shall we talk to the captain and decide on your";
- mes "job change?";
- next;
- mes "[Sir Gray]";
- mes "Don't worry too";
- mes "much, I have a very";
- mes "high opinion of you.";
- mes "Now, go~";
- close;
- }
- if (@knight_t == 5) {
- set KNIGHT_Q,14;
- mes "[Sir Gray]";
- mes "I enjoyed speaking with you. You can think about the principles of Knighthood more once you become a Knight.";
- next;
- mes "[Sir Gray]";
- mes "Then, shall we go to the captain and decide on your job change? Don't worry too much. You are good enough to be a Knight!";
- close;
- }
- if (@knight_t == 10) {
- set KNIGHT_Q,14;
- mes "[Sir Gray]";
- mes "I enjoyed talking with you. Although, there were some";
- mes "things that bothered me...";
- next;
- mes "[Sir Gray]";
- mes "You should go";
- mes "to the captain";
- mes "so we can decide";
- mes "on your job change.";
- next;
- mes "[Sir Gray]";
- mes "Don't worry too much, coming to take my test means the others have acknowledged you as well.";
- mes "Go now...!";
- close;
- }
- set KNIGHT_Q,13;
- mes "[Sir Gray]";
- mes "Conversing";
- mes "with young ones";
- mes "is always enjoyable...";
- next;
- mes "[Sir Gray]";
- mes "But it seems as though your dream is elsewhere, or that your focus is hazy. Spend more time as a Swordman, and come back";
- mes "to me later.";
- next;
+ }
+ else {
mes "[Sir Gray]";
- mes "If you truly wish to become a Knight, you must change your outlook first. Then, we shall see.";
+ mes "Take care!";
close;
}
- mes "[Sir Gray]";
- mes "Take care!";
- close;
}
- if (KNIGHT_Q == 13) {
- mes "[Sir Gray]";
+ else if (KNIGHT_Q == 13) {
mes "Ah, you again.";
mes "What brings you";
mes "to me?";
@@ -3494,7 +3150,6 @@ prt_in,87,92,4 script Sir Gray 119,{
mes "I wonder if you";
mes "truly have...";
next;
- set @knight_t, 0;
mes "[Sir Gray]";
mes "Then...";
mes "Like last time,";
@@ -3506,303 +3161,306 @@ prt_in,87,92,4 script Sir Gray 119,{
mes "decide to become";
mes "a Knight?";
next;
- switch (select("To become stronger...:To help my guild...:Because I'm unsatisfied with myself right now...")) {
- case 1:
- mes "[Sir Gray]";
- mes "To become stronger, you say?";
- mes "Yes, Knights are indeed strong.";
- mes "But why gain strength?";
- next;
- mes "[Sir Gray]";
- mes "Is it to show off to others?";
- mes "To attain fame? Or do you have a diferent reason? What do you think is so good about gaining strength as a Knight?";
- next;
- switch (select("Gain wealth and fame.:I can protect myself.:I can protect others.")) {
- case 1:
- set @knight_t, @knight_t + 10;
- mes "[Sir Gray]";
- mes "Of course, wealth and fame have their place in the world. But we as Knights must live for higher virtues.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "Good thinking. You must first be able to protect yourself in order to protect others. To this end, you must constantly train, and never give in to laziness.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
- next;
- mes "[Sir Gray]";
- mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
- next;
- break;
- }
- case 2:
- mes "[Sir Gray]";
- mes "Ah, to help your guild, or maybe even your party. Our wise and benevolent King Tristram the 3rd gave us these golden words...";
- next;
- mes "[Sir Gray]";
- mes "^8B7500Beyond the calm river, lies a dangerous waterfall. Therefore, you must always be prepared for everything...^000000";
- next;
- mes "[Sir Gray]";
- mes "So how do you";
- mes "think you can";
- mes "help your guild?";
- next;
- switch (select("My guild needs me.:I can help gather funds for my guild.:I can protect my guild members.")) {
- case 1:
- mes "[Sir Gray]";
- mes "Anyone, anywhere in this world,";
- mes "has a place where they are needed. Never neglect someone in need, even if he is not a guild member.";
- next;
- break;
- case 2:
- set @knight_t, @knight_t + 10;
- mes "[Sir Gray]";
- mes "Of course wealth is important.";
- mes "But we Knights must live for higher virtues.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
- next;
- mes "[Sir Gray]";
- mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
- next;
- break;
- }
- case 3:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "Satisfaction, you say.";
- mes "It seems like you are";
- mes "already a fine Swordman.";
- mes "Is there a particular reason you wish to be a Knight?";
- next;
- mes "[Sir Gray]";
- mes "I don't know about";
- mes "Swordmen but Knights do not allow self-indulgence. There are those so obsessed with gaining strength that they cannot control themselves.";
- next;
- mes "[Sir Gray]";
- mes "So...";
- mes "What part of yourself";
- mes "are you not satisfied";
- mes "with right now?";
- next;
- switch (select("Skills.:Goal.:Appearance.")) {
- case 1:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "Skill is something you gain with experience as a Knight. It cannot be your highest goal. Otherwise, you'll never be satisfied as a Knight.";
- next;
- break;
- case 2:
- set @knight_t, @knight_t - 5;
- mes "[Sir Gray]";
- mes "I see...";
- mes "Always having a goal is very important. You may be full of ideas upon becoming a Knight, but that may change with time.";
- next;
- break;
- case 3:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "Oh no...";
- mes "What you see isn't what really counts. A Swordman may be stronger than a Knight, and even Knight may grow weak if he becomes lazy.";
- next;
- break;
- }
- }
+ }
+ else {
+ mes "[Sir Gray]";
+ mes "Take care!";
+ mes "Health is";
+ mes "every man's";
+ mes "treasure!";
+ close;
+ }
+ }
+ switch(select("To become stronger...:To help my guild...:Because I'm unsatisfied with myself right now...")) {
+ case 1:
+ mes "[Sir Gray]";
+ mes "To become stronger, you say?";
+ mes "Yes, Knights are indeed strong.";
+ mes "But why gain strength?";
+ next;
+ mes "[Sir Gray]";
+ mes "Is it to show off to others? To attain fame? Or do you have a diferent reason? What do you think is so good about gaining strength as a Knight?";
+ next;
+ switch(select("Gain wealth and fame.:I can protect myself.:I can protect others.")) {
+ case 1:
+ set .@knight_t,.@knight_t+10;
mes "[Sir Gray]";
- mes "I understand your thoughts,";
- mes "but there are those who wish to";
- mes "become Knights without thinking.";
+ mes "Of course, wealth and fame have their place in the world. But we as Knights must live for higher virtues.";
next;
+ break;
+ case 2:
mes "[Sir Gray]";
- mes "Those are the ones who instigate problems and shame the honor of Knights, bringing irreversible results.";
+ mes "Good thinking. You must first be able to protect yourself in order to protect others. To this end, you must constantly train, and never give in to laziness.";
next;
+ break;
+ case 3:
mes "[Sir Gray]";
- mes "The same goes for you as well. Once you become a Knight, you can never become a Swordman again. The duties and responsibilities of a Knight will always be with you.";
+ mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
next;
mes "[Sir Gray]";
- mes "If you become a Knight right away, what are you going to do first?";
+ mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
next;
- switch (select("I am going to go straight to battle.:There are those waiting for me.:I will learn more about Knights.")) {
- case 1:
- mes "[Sir Gray]";
- mes "Battle...?";
- mes "And then?";
- next;
- switch (select("I will grow within a short period of time.:I would like to test my ability as a Knight.:I would like to go to more challenging places.")) {
- case 1:
- set @knight_t, @knight_t + 10;
- mes "[Sir Gray]";
- mes "Don't be in too much of a hurry to become strong. Even if you become";
- mes "a Knight, you are still yourself.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "Testing yourself is a good thing. It's okay to be happy about how you change, but don't forget about the true qualities of being a Knight.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Even if you become a Knight, you are not changing your inner self. No need to overwork yourself.";
- mes "Relax and take things step by step.";
- next;
- break;
- }
- case 2:
- mes "[Sir Gray]";
- mes "Who is";
- mes "waiting for you?";
- next;
- switch (select("My friends.:My Guild members.:My Lover.")) {
- case 1:
- mes "[Sir Gray]";
- mes "I see, they would share in the joy of your achievements. Don't ever lose your kind heart, and always give help to your friends.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "Those who would share in your happiness and hardship. As a Knight, you must always protect them.";
- next;
- break;
- case 3:
- mes "[Sir Gray]";
- mes "Oh, youth!";
- mes "Becoming a Knight";
- mes "for your beloved!";
- if (Sex == 1) {
- mes "Always protect her...";
- mes "Even at the sacrifice";
- mes "of your own life!";
- }
- else {
- mes "Always protect him...";
- mes "Even at the sacrifice";
- mes "of your own life!";
- }
- next;
- mes "[Sir Gray]";
- mes "Also...";
- mes "Love them forever.";
- mes "Sincere affection";
- mes "is hard to find.";
- next;
- break;
- }
- case 3:
- mes "[Sir Gray]";
- mes "Good attitude...";
- mes "What do you plan";
- mes "on learning?";
- next;
- switch (select("Comfortable places for Knights to go...:The different paths of a Knight...:Ways to get more money as a Knight...")) {
- case 1:
- set @knight_t, @knight_t + 5;
- mes "[Sir Gray]";
- mes "There are many places that are comfortable or uncomfortable in this world. However Knights must";
- mes "be able to survive anywhere.";
- next;
- break;
- case 2:
- mes "[Sir Gray]";
- mes "There are many similar Knights outside in the world. Think of them as your seniors and ask many questions.";
- next;
- break;
- case 3:
- set @knight_t, @knight_t + 15;
- mes "[Sir Gray]";
- mes "Oh no. Do you hold wealth as a priority of being a Knight? We're not meant to be that way. Come again when you have thought";
- mes "more about it...";
- next;
- break;
- }
- }
+ break;
+ }
+ break;
+ case 2:
+ mes "[Sir Gray]";
+ mes "Ah, to help your guild, or maybe even your party. Our wise and benevolent King Tristram the 3rd gave us these golden words...";
+ next;
+ mes "[Sir Gray]";
+ mes "^8B7500Beyond the calm river, lies a dangerous waterfall. Therefore, you must always be prepared for everything...^000000";
+ next;
+ mes "[Sir Gray]";
+ mes "So how do you";
+ mes "think you can";
+ mes "help your guild?";
+ next;
+ switch(select("My guild needs me.:I can help gather funds for my guild.:I can protect my guild members.")) {
+ case 1:
mes "[Sir Gray]";
- mes "Oh no, we've been";
- mes "talking too much...";
- mes "I apologize for";
- mes "keeping you here";
- mes "for so long.";
+ mes "Anyone, anywhere in this world,";
+ mes "has a place where they are needed. Never neglect someone in need, even if he is not a guild member.";
next;
- if (@knight_t == 0) {
- set KNIGHT_Q,14;
- mes "[Sir Gray]";
- mes "I enjoyed talking with you. You remind me of myself as a young recruit. Shall we talk to the captain and decide on your";
- mes "job change?";
- next;
- mes "[Sir Gray]";
- mes "Don't worry too";
- mes "much, I have a very";
- mes "high opinion of you.";
- mes "Now, go~";
- close2;
- }
- if (@knight_t == 5) {
- set KNIGHT_Q,14;
- mes "[Sir Gray]";
- mes "I enjoyed speaking with you. You can think about the principles of Knighthood more once you become a Knight.";
- next;
- mes "[Sir Gray]";
- mes "Then, shall we go to the captain and decide on your job change? Don't worry too much. You are good enough to be a Knight!";
- close;
- }
- if (@knight_t == 10) {
- set KNIGHT_Q,14;
- mes "[Sir Gray]";
- mes "I enjoyed talking with you. Although, there were some";
- mes "things that bothered me...";
- next;
- mes "[Sir Gray]";
- mes "You should go";
- mes "to the captain";
- mes "so we can decide";
- mes "on your job change.";
- next;
- mes "[Sir Gray]";
- mes "Don't worry too much, coming to take my test means the others have acknowledged you as well.";
- mes "Go now...!";
- close;
- }
- set KNIGHT_Q,13;
+ break;
+ case 2:
+ set .@knight_t,.@knight_t+10;
mes "[Sir Gray]";
- mes "Conversing";
- mes "with young ones";
- mes "is always enjoyable...";
+ mes "Of course wealth is important.";
+ mes "But we Knights must live for higher virtues.";
next;
+ break;
+ case 3:
mes "[Sir Gray]";
- mes "But it seems as though your dream is elsewhere, or that your focus is hazy. Spend more time as a Swordman, and come back";
- mes "to me later.";
+ mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
next;
mes "[Sir Gray]";
- mes "If you truly wish to become a Knight, you must change your outlook first. Then, we shall see.";
- close;
+ mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
+ next;
+ break;
}
+ break;
+ case 3:
+ set .@knight_t,.@knight_t+5;
mes "[Sir Gray]";
- mes "Take care!";
- mes "Health is";
- mes "every man's";
- mes "treasure!";
+ mes "Satisfaction, you say.";
+ mes "It seems like you are";
+ mes "already a fine Swordman.";
+ mes "Is there a particular reason you wish to be a Knight?";
+ next;
+ mes "[Sir Gray]";
+ mes "I don't know about";
+ mes "Swordmen, but Knights do not allow self-indulgence. There are those so obsessed with gaining strength that they cannot control themselves.";
+ next;
+ mes "[Sir Gray]";
+ mes "So...";
+ mes "What part of yourself";
+ mes "are you not satisfied";
+ mes "with right now?";
+ next;
+ switch(select("Skills.:Goal.:Appearance.")) {
+ case 1:
+ set .@knight_t,.@knight_t+5;
+ mes "[Sir Gray]";
+ mes "Skill is something you gain with experience as a Knight. It cannot be your highest goal. Otherwise, you'll never be satisfied as a Knight.";
+ next;
+ break;
+ case 2:
+ set .@knight_t,.@knight_t-5;
+ mes "[Sir Gray]";
+ mes "I see...";
+ mes "Always having a goal is very important. You may be full of ideas upon becoming a Knight, but that may change with time.";
+ next;
+ break;
+ case 3:
+ set .@knight_t,.@knight_t+5;
+ mes "[Sir Gray]";
+ mes "Oh no...";
+ mes "What you see isn't what really counts. A Swordman may be stronger than a Knight, and even Knight may grow weak if he becomes lazy.";
+ next;
+ break;
+ }
+ break;
+ }
+ mes "[Sir Gray]";
+ mes "I understand your thoughts,";
+ mes "but there are those who wish to";
+ mes "become Knights without thinking.";
+ next;
+ mes "[Sir Gray]";
+ mes "Those are the ones who instigate problems and shame the honor of Knights, bringing irreversible results.";
+ next;
+ mes "[Sir Gray]";
+ mes "The same goes for you as well. Once you become a Knight, you can never become a Swordman again. The duties and responsibilities of a Knight will always be with you.";
+ next;
+ mes "[Sir Gray]";
+ mes "If you become a Knight right away, what are you going to do first?";
+ next;
+ switch(select("I am going to go straight to battle.:There are those waiting for me.:I will learn more about Knights.")) {
+ case 1:
+ mes "[Sir Gray]";
+ mes "Battle...?";
+ mes "And then?";
+ next;
+ switch(select("I will grow within a short period of time.:I would like to test my ability as a Knight.:I would like to go to more challenging places.")) {
+ case 1:
+ set .@knight_t,.@knight_t+10;
+ mes "[Sir Gray]";
+ mes "Don't be in too much of a hurry to become strong. Even if you become";
+ mes "a Knight, you are still yourself.";
+ next;
+ break;
+ case 2:
+ mes "[Sir Gray]";
+ mes "Testing yourself is a good thing. It's okay to be happy about how you change, but don't forget about the true qualities of being a Knight.";
+ next;
+ break;
+ case 3:
+ mes "[Sir Gray]";
+ mes "Even if you become a Knight, you are not changing your inner self. No need to overwork yourself.";
+ mes "Relax and take things step by step.";
+ next;
+ break;
+ }
+ break;
+ case 2:
+ mes "[Sir Gray]";
+ mes "Who is";
+ mes "waiting for you?";
+ next;
+ switch(select("My friends.:My Guild members.:My Lover.")) {
+ case 1:
+ mes "[Sir Gray]";
+ mes "I see, they would share in the joy of your achievements. Don't ever lose your kind heart, and always give help to your friends.";
+ next;
+ break;
+ case 2:
+ mes "[Sir Gray]";
+ mes "Those who would share in your happiness and hardship. As a Knight, you must always protect them.";
+ next;
+ break;
+ case 3:
+ mes "[Sir Gray]";
+ mes "Oh, youth!";
+ mes "Becoming a Knight";
+ mes "for your beloved!";
+ mes "Always protect "+((Sex)?"her":"him")+"...";
+ mes "Even at the sacrifice";
+ mes "of your own life!";
+ next;
+ mes "[Sir Gray]";
+ mes "Also...";
+ mes "Love them forever.";
+ mes "Sincere affection";
+ mes "is hard to find.";
+ next;
+ break;
+ }
+ break;
+ case 3:
+ mes "[Sir Gray]";
+ mes "Good attitude...";
+ mes "What do you plan";
+ mes "on learning?";
+ next;
+ switch(select("Comfortable places for Knights to go...:The different paths of a Knight...:Ways to get more money as a Knight...")) {
+ case 1:
+ set .@knight_t,.@knight_t+5;
+ mes "[Sir Gray]";
+ mes "There are many places that are comfortable or uncomfortable in this world. However Knights must";
+ mes "be able to survive anywhere.";
+ next;
+ break;
+ case 2:
+ mes "[Sir Gray]";
+ mes "There are many similar Knights outside in the world. Think of them as your seniors and ask many questions.";
+ next;
+ break;
+ case 3:
+ set .@knight_t,.@knight_t+15;
+ mes "[Sir Gray]";
+ mes "Oh no. Do you hold wealth as a priority of being a Knight? We're not meant to be that way. Come again when you have thought";
+ mes "more about it...";
+ next;
+ break;
+ }
+ break;
+ }
+ mes "[Sir Gray]";
+ mes "Oh no, we've been";
+ mes "talking too much...";
+ mes "I apologize for";
+ mes "keeping you here";
+ mes "for so long.";
+ next;
+ if (.@knight_t == 0) {
+ set KNIGHT_Q,14;
+ mes "[Sir Gray]";
+ mes "I enjoyed talking with you. You remind me of myself as a young recruit. Shall we talk to the captain and decide on your";
+ mes "job change?";
+ next;
+ mes "[Sir Gray]";
+ mes "Don't worry too";
+ mes "much, I have a very";
+ mes "high opinion of you.";
+ mes "Now, go~";
+ close;
+ }
+ else if (.@knight_t == 5) {
+ set KNIGHT_Q,14;
+ mes "[Sir Gray]";
+ mes "I enjoyed speaking with you. You can think about the principles of Knighthood more once you become a Knight.";
+ next;
+ mes "[Sir Gray]";
+ mes "Then, shall we go to the captain and decide on your job change? Don't worry too much. You are good enough to be a Knight!";
+ close;
+ }
+ else if (.@knight_t == 10) {
+ set KNIGHT_Q,14;
+ changequest 9011,9012;
+ mes "[Sir Gray]";
+ mes "I enjoyed talking with you. Although, there were some";
+ mes "things that bothered me...";
+ next;
+ mes "[Sir Gray]";
+ mes "You should go";
+ mes "to the captain";
+ mes "so we can decide";
+ mes "on your job change.";
+ next;
+ mes "[Sir Gray]";
+ mes "Don't worry too much, coming to take my test means the others have acknowledged you as well.";
+ mes "Go now...!";
close;
}
- if (KNIGHT_Q == 14) {
+ else {
+ set KNIGHT_Q,13;
mes "[Sir Gray]";
- mes "I told you";
- mes "to go to";
- mes "the captain.";
+ mes "Conversing";
+ mes "with young ones";
+ mes "is always enjoyable...";
next;
mes "[Sir Gray]";
- mes "Everyone will";
- mes "carefully make";
- mes "their decision,";
- mes "so go now!";
+ mes "But it seems as though your dream is elsewhere, or that your focus is hazy. Spend more time as a Swordman, and come back";
+ mes "to me later.";
+ next;
+ mes "[Sir Gray]";
+ mes "If you truly wish to become a Knight, you must change your outlook first. Then, we shall see.";
close;
}
+ }
+ else if (KNIGHT_Q == 14) {
+ mes "I told you";
+ mes "to go to";
+ mes "the captain.";
+ next;
mes "[Sir Gray]";
+ mes "Everyone will";
+ mes "carefully make";
+ mes "their decision,";
+ mes "so go now!";
+ close;
+ }
+ else {
mes "Oh...";
mes "A young Swordman.";
mes "What can I do for you?";
diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt
index b1af76b1a..4230fee61 100644
--- a/npc/jobs/2-1/priest.txt
+++ b/npc/jobs/2-1/priest.txt
@@ -757,7 +757,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "[Sister Cecilia]";
mes "Aw...? How could you give me that kind of answer? I assume you're not ready to be a Priest yet...";
next;
- set PRIEST_Q, 8;
+ set PRIEST_Q,8;
mes "[Sister Cecilia]";
mes "You should reflect a little more on the teachings of holiness and come back later. You can't be a Priest if your spirit is weak.";
close;
@@ -769,7 +769,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "[Sister Cecilia]";
mes "Aw...? God won't grant you the power of holiness if your goals aren't just and pure. Meditate on your motivations for a while, and then come back to me.";
next;
- set PRIEST_Q, 8;
+ set PRIEST_Q,8;
mes "[Sister Cecilia]";
mes "Think about the qualities that make Priests people of respect. You can't be a Priest if your spirit is not in accordance with God.";
close;
@@ -781,7 +781,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "[Sister Cecilia]";
mes "No, no. You've got the wrong idea. God authorizes us to use his power to support his children. You must help people in danger: it is your obligation.";
next;
- set PRIEST_Q, 8;
+ set PRIEST_Q,8;
mes "[Sister Cecilia]";
mes "Go and observe the adventurers that are fighting for peace in this world. They will teach you what you must do in order to help them.";
close;
@@ -793,7 +793,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "[Sister Cecilia]";
mes "How can you say no...? That's one of the basic principles of Priesthood. You must value the welfare of others over your own safety.";
next;
- set PRIEST_Q, 8;
+ set PRIEST_Q,8;
mes "[Sister Cecilia]";
mes "Go and think about the value of suffering and the meaning of sacrifice. When you think you understand more about helping those in need, come back to me.";
close;
@@ -805,7 +805,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "[Sister Cecilia]";
mes "No no no... You've got it wrong. Even though your purpose is to spread God's message, no one will eagerly accept what you say when you spam text.";
next;
- set PRIEST_Q, 8;
+ set PRIEST_Q,8;
mes "[Sister Cecilia]";
mes "Remember...";
mes "You must be a moral person, and display maturity and respect to other players. This kind of attitude applies for all classes,";
@@ -819,7 +819,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "[Sister Cecilia]";
mes "No, you won't. Luring many monsters does more harm than good. There is no exception. That behavior is totally unacceptable.";
next;
- set PRIEST_Q, 8;
+ set PRIEST_Q,8;
mes "[Sister Cecilia]";
mes "Even if it looks like you are aiding your party members, such action results in bad karma. Please reflect on that for a while.";
close;
@@ -953,7 +953,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "[Sister Cecilia]";
mes "Will you lure many monsters to help your party members level up?";
next;
- switch (select("Yes.:No.") == 1) {
+ if (select("Yes.:No.") == 1) {
mes "[Sister Cecilia]";
mes "No, you won't. Luring many monsters does more harm than good. There is no exception. That behavior is totally unacceptable.";
next;
@@ -982,7 +982,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{
mes "You have demonstrated your devotion to God. Will you swear to adhere to his teachings for the rest of your days?";
next;
if (select("I do.:No.") == 1) {
- set PRIEST_Q, 9;
+ set PRIEST_Q,9;
mes "[Sister Cecilia]";
mes "Now, you have completed your oath of Priesthood and accomplished all three trials required to become a Priest.";
next;
@@ -1015,15 +1015,13 @@ prt_church,27,24,1 script Sister Cecilia 79,{
}
job_prist,24,187,4 script Peter S. Alberto 110,{
- if (Class == Job_Baby_Priest || Class == Job_Priest) {
- mes "[Father Peter]";
+ mes "[Father Peter]";
+ if (BaseJob == Job_Priest) {
mes "Welcome!";
- if (Sex == 1) {
- mes "Brother " + strcharinfo(0) + "!";
- }
- else {
- mes "Sister " + strcharinfo(0) + "!";
- }
+ if (sex)
+ mes "Brother "+ strcharinfo(0) +"!";
+ else
+ mes "Sister "+ strcharinfo(0) +"!";
mes "So good to see you again!";
next;
mes "[Father Peter]";
@@ -1039,7 +1037,7 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
mes "So...";
mes "Are you gonna help him right now?";
next;
- switch (select("Yes, I am.:Give me a minute.:I changed my mind.")) {
+ switch(select("Yes, I am.:Give me a minute.:I changed my mind.")) {
case 1:
mes "[Father Peter]";
mes "Go for it! As your Acolyte enters, the test will begin. Now, I will send you to the testing area.";
@@ -1064,7 +1062,6 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
}
}
if (PRIEST_Q == 5) {
- mes "[Father Peter]";
mes "Welcome~!";
mes "I congratulate you";
mes "for passing the first trail.";
@@ -1082,7 +1079,7 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
mes "[Father Peter]";
mes "Anyway, let me give you a brief explanation of the spiritual training. Are you familiar with what the spiritual training is for Priests?";
next;
- switch (select("Yes, I do.:Sorry...")) {
+ switch(select("Yes, I do.:Sorry...")) {
case 1:
mes "[Father Peter]";
mes "Haha, I like you! But it never hurts to have too much information. The more well informed you are, the more easily you'll pass the test!";
@@ -1110,7 +1107,7 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
mes "[Father Peter]";
mes "If you are close to a Priest, you'd better ask him to assist you during this trial. Now, are you ready?";
next;
- switch (select("I'm ready.:Please hold on.:I want to go back.")) {
+ switch(select("I'm ready.:Please hold on.:I want to go back.")) {
case 1:
mes "[Father Peter]";
mes "Now, let the spiritual training begin. It's simple. Just kill them all. Show no mercy to the creatures of darkness!";
@@ -1119,8 +1116,9 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
mes "Now...";
mes "Go for it!";
close2;
+ changequest 8011,8012;
warp "job_prist",24,44;
- donpcevent "Zombie_Generator::OnEnable";
+ donpcevent "Zombie_Generator#prst::OnEnable";
donpcevent "Peter S. Alberto::OnDisable";
donpcevent "Peter S. Alberto#2::OnEnable";
end;
@@ -1144,8 +1142,7 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
end;
}
}
- if (PRIEST_Q == 6) {
- mes "[Father Peter]";
+ else if (PRIEST_Q == 6) {
mes "Are you ready this time?";
mes "Complete this trial quickly,";
mes "and become a Priest!";
@@ -1153,7 +1150,7 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
mes "[Father Peter]";
mes "Are you ready then?";
next;
- switch (select("I'm ready.:Please hold on.:I want to go back.")) {
+ switch(select("I'm ready.:Please hold on.:I want to go back.")) {
case 1:
mes "[Father Peter]";
mes "Now, let the spiritual training begin. For the glory of God, for peace on earth, and goodwill towards all men...";
@@ -1163,8 +1160,11 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
mes "Kill those";
mes "misbegotten creatures!";
close2;
+ if(checkquest(8012) == -1) {
+ changequest 8011,8012;
+ }
warp "job_prist",24,44;
- donpcevent "Zombie_Generator::OnEnable";
+ donpcevent "Zombie_Generator#prst::OnEnable";
donpcevent "Peter S. Alberto::OnDisable";
donpcevent "Peter S. Alberto#2::OnEnable";
end;
@@ -1186,31 +1186,30 @@ job_prist,24,187,4 script Peter S. Alberto 110,{
end;
}
}
- mes "[Father Peter]";
- mes "Go back!";
- close2;
- warp "prontera",234,318;
- end;
+ else {
+ mes "Go back!";
+ close2;
+ warp "prontera",234,318;
+ end;
+ }
OnEnable:
- hideoffnpc "Peter S. Alberto";
+ enablenpc "Peter S. Alberto";
end;
OnDisable:
- hideonnpc "Peter S. Alberto";
+ disablenpc "Peter S. Alberto";
end;
}
job_prist,23,187,1 script Peter S. Alberto#2 110,{
- if (Class == Job_Baby_Priest || Class == Job_Priest) {
- mes "[Father Peter]";
+ mes "[Father Peter]";
+ if (BaseJob == Job_Priest) {
mes "Welcome!";
- if (Sex == 1) {
- mes "Brother " + strcharinfo(0) + "!";
- }
- else {
- mes "Sister " + strcharinfo(0) + "!";
- }
+ if (sex)
+ mes "Brother "+ strcharinfo(0) +"!";
+ else
+ mes "Sister "+ strcharinfo(0) +"!";
mes "So good to see you!";
next;
mes "[Father Peter]";
@@ -1224,46 +1223,43 @@ job_prist,23,187,1 script Peter S. Alberto#2 110,{
close;
}
if (PRIEST_Q == 5) {
- mes "[Father Peter]";
mes "Please hold on for a while. Another acolyte is in the training ground right now.";
next;
mes "[Father Peter]";
mes "If you want to take the test, please wait a while and talk to me again.";
close;
}
- if (PRIEST_Q == 6) {
- mes "[Father Peter]";
+ else if (PRIEST_Q == 6) {
mes "Please hold on for a while. Another acolyte is in the training ground right now.";
next;
mes "[Father Peter]";
mes "If you want to take the test, please wait a while and talk to me again.";
close;
}
- mes "[Father Peter]";
- mes "Peace...";
- mes "Be with you.";
- close2;
- warp "prontera",234,318;
- end;
+ else {
+ mes "Peace...";
+ mes "Be with you.";
+ close2;
+ warp "prontera",234,318;
+ end;
+ }
OnInit:
- hideonnpc "Peter S. Alberto#2";
+ disablenpc "Peter S. Alberto#2";
end;
OnEnable:
- hideoffnpc "Peter S. Alberto#2";
+ enablenpc "Peter S. Alberto#2";
end;
OnDisable:
- hideonnpc "Peter S. Alberto#2";
+ disablenpc "Peter S. Alberto#2";
end;
}
-job_prist,1,1,1 script Zombie_Generator 110,{
- end;
-
+- script Zombie_Generator#prst 110,{
OnInit:
- hideonnpc "Zombie_Generator";
+ disablenpc "Zombie_Generator#prst";
end;
OnEnable:
@@ -1275,63 +1271,50 @@ OnEnable:
initnpctimer;
end;
-OnM1:
- monster "job_prist",24,52,"Theft",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",18,52,"Want of Virtue",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",30,52,"Jealousy",1015,1,"Zombie_Generator::OnMyMobDead";
- end;
-
-OnM2:
- monster "job_prist",21,62,"Fury",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",27,62,"Envy",1015,1,"Zombie_Generator::OnMyMobDead";
+Onm1:
+ set .MyMobs,13;
+ monster "job_prist",24,52,"Theft",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",18,52,"Want of Virtue",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",30,52,"Jealousy",1015,1,"Z_C#prst::OnMyMobDead";
end;
-OnM3:
- monster "job_prist",24,72,"Arrogance",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",18,72,"Lewdness",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",30,72,"Sloth",1015,1,"Zombie_Generator::OnMyMobDead";
+Onm2:
+ monster "job_prist",21,62,"Fury",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",27,62,"Envy",1015,1,"Z_C#prst::OnMyMobDead";
end;
-OnM4:
- monster "job_prist",21,82,"Gluttony",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",27,82,"Greed",1015,1,"Zombie_Generator::OnMyMobDead";
+Onm3:
+ monster "job_prist",24,72,"Arrogance",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",18,72,"Lewdness",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",30,72,"Sloth",1015,1,"Z_C#prst::OnMyMobDead";
end;
-OnM5:
- monster "job_prist",24,92,"Despair",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",18,92,"Distrust",1015,1,"Zombie_Generator::OnMyMobDead";
- monster "job_prist",30,92,"Fear",1015,1,"Zombie_Generator::OnMyMobDead";
+Onm4:
+ monster "job_prist",21,82,"Gluttony",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",27,82,"Greed",1015,1,"Z_C#prst::OnMyMobDead";
end;
-OnMyMobDead:
- if (mobcount ("job_prist","Zombie_Generator::OnMyMobDead") < 1) {
- donpcevent "prst1_2::OnEnable";
- }
+Onm5:
+ monster "job_prist",24,92,"Despair",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",18,92,"Distrust",1015,1,"Z_C#prst::OnMyMobDead";
+ monster "job_prist",30,92,"Fear",1015,1,"Z_C#prst::OnMyMobDead";
end;
OnDisable:
- hideonnpc "Zombie_Generator";
- end;
-
-OnReset:
- killmonster "job_prist","Zombie_Generator::OnMyMobDead";
+ disablenpc "Zombie_Generator#prst";
+ killmonsterall "job_prist";
end;
OnTimer300000:
- donpcevent "Zombieo::OnEnable";
+ areawarp "job_prist",8,34,39,109,"prontera",234,318;
end;
OnTimer300500:
- donpcevent "Zombie_Generator::OnReset";
- end;
-
-OnTimer301000:
- donpcevent "Zombieo::OnDisable";
- donpcevent "prst1_2::OnDisable";
+ donpcevent "Zombie_Generator#prst::OnDisable";
end;
OnTimer301500:
- donpcevent "Zombie_Generator::OnDisable";
+ donpcevent "Zombie_Generator#prst::OnDisable";
donpcevent "Peter S. Alberto#2::OnDisable";
donpcevent "Peter S. Alberto::OnEnable";
end;
@@ -1341,10 +1324,17 @@ OnTimer302000:
end;
}
-job_prist,24,44,0 script Zombie Info 139,1,1,{
+- script Z_C#prst -1,{
+ end;
+OnMyMobDead:
+ set getvariableofnpc(.MyMobs,"Zombie_Generator#prst"),getvariableofnpc(.MyMobs,"Zombie_Generator#prst") - 1;
+ end;
+}
+
+job_prist,24,44,0 script Zombie Info -1,1,1,{
OnTouch:
- if (Class == Job_Baby_Priest || Class == Job_Priest) {
+ if (BaseJob == Job_Priest) {
mes "[Father Peter]";
mes "When the Priest applicant enters, 5 minutes will be given to complete this trial. Proceed slowly and help your Acolyte.";
next;
@@ -1358,7 +1348,7 @@ OnTouch:
mes "5 minutes. Best of luck~";
close;
}
- if (Class == Job_Baby_Acolyte || Class == Job_Acolyte) {
+ else if (BaseJob == Job_Acolyte){
mes "[Father Peter]";
mes "I will give you exactly 5 minutes! You must proceed slowly and eliminate the Zombies.";
next;
@@ -1369,249 +1359,121 @@ OnTouch:
end;
}
-job_prist,24,74,0 script Zombieo 139,14,40,{
-
-OnTouch:
- warp "prontera",234,318;
- end;
-
+job_prist,24,52,0 script Zombie1_1 -1,14,1,{
OnInit:
- hideonnpc "Zombieo";
+ disablenpc "Zombie1_1";
end;
-OnEnable:
- hideoffnpc "Zombieo";
- end;
-
-OnDisable:
- hideonnpc "Zombieo";
- end;
-}
-
-job_prist,24,52,0 script Zombie1_1 139,14,1,{
-
OnTouch:
- if (Class == Job_Baby_Acolyte || Class == Job_Acolyte) {
- donpcevent "Zombie_Generator::OnM1";
+ if (BaseJob == Job_Acolyte) {
+ donpcevent "Zombie_Generator#prst::Onm1";
donpcevent "Zombie1_1::OnDisable";
}
end;
-OnInit:
- hideonnpc "Zombie1_1";
- end;
-
OnEnable:
- hideoffnpc "Zombie1_1";
- hideoffnpc "Zombie1_2";
- hideoffnpc "Zombie1_3";
+ enablenpc "Zombie1_1";
end;
OnDisable:
- hideonnpc "Zombie1_1";
- hideonnpc "Zombie1_2";
- hideonnpc "Zombie1_3";
- end;
-}
-
-job_prist,18,52,0 script Zombie1_2 139,1,1,{
- end;
-
-OnInit:
- hideonnpc "Zombie1_2";
+ disablenpc "Zombie1_1";
end;
}
-job_prist,30,52,0 script Zombie1_3 139,1,1,{
- end;
-
+job_prist,21,62,0 script Zombie2_1 -1,17,1,{
OnInit:
- hideonnpc "Zombie1_3";
+ disablenpc "Zombie2_1";
end;
-}
-
-job_prist,21,62,0 script Zombie2_1 139,17,1,{
OnTouch:
- if (Class == Job_Baby_Acolyte || Class == Job_Acolyte) {
- donpcevent "Zombie_Generator::OnM2";
+ if (BaseJob == Job_Acolyte) {
+ donpcevent "Zombie_Generator#prst::Onm2";
donpcevent "Zombie2_1::OnDisable";
}
end;
-OnInit:
- hideonnpc "Zombie2_1";
- end;
-
OnEnable:
- hideoffnpc "Zombie2_1";
- hideoffnpc "Zombie2_2";
+ enablenpc "Zombie2_1";
end;
OnDisable:
- hideonnpc "Zombie2_1";
- hideonnpc "Zombie2_2";
+ disablenpc "Zombie2_1";
end;
}
-job_prist,27,62,0 script Zombie2_2 139,1,1,{
- end;
-
+job_prist,24,72,0 script Zombie3_1 -1,14,1,{
OnInit:
- hideonnpc "Zombie2_2";
+ disablenpc "Zombie3_1";
end;
-}
-
-job_prist,24,72,0 script Zombie3_1 139,14,1,{
OnTouch:
- if (Class == Job_Baby_Acolyte || Class == Job_Acolyte) {
- donpcevent "Zombie_Generator::OnM3";
+ if (BaseJob == Job_Acolyte) {
+ donpcevent "Zombie_Generator#prst::Onm3";
donpcevent "Zombie3_1::OnDisable";
}
end;
-OnInit:
- hideonnpc "Zombie3_1";
- end;
-
OnEnable:
- hideoffnpc "Zombie3_1";
- hideoffnpc "Zombie3_2";
- hideoffnpc "Zombie3_3";
+ enablenpc "Zombie3_1";
end;
OnDisable:
- hideonnpc "Zombie3_1";
- hideonnpc "Zombie3_2";
- hideonnpc "Zombie3_3";
- end;
-}
-
-job_prist,18,72,0 script Zombie3_2 139,1,1,{
- end;
-
-OnInit:
- hideonnpc "Zombie3_2";
+ disablenpc "Zombie3_1";
end;
}
-job_prist,30,72,0 script Zombie3_3 139,1,1,{
- end;
-
+job_prist,21,82,0 script Zombie4_1 -1,17,1,{
OnInit:
- hideonnpc "Zombie3_3";
+ disablenpc "Zombie4_1";
end;
-}
-
-job_prist,21,82,0 script Zombie4_1 139,17,1,{
-
OnTouch:
- if (Class == Job_Baby_Acolyte || Class == Job_Acolyte) {
- donpcevent "Zombie_Generator::OnM4";
+ if (BaseJob == Job_Acolyte) {
+ donpcevent "Zombie_Generator#prst::Onm4";
donpcevent "Zombie4_1::OnDisable";
}
end;
-OnInit:
- hideonnpc "Zombie4_1";
- end;
-
OnEnable:
- hideoffnpc "Zombie4_1";
- hideoffnpc "Zombie4_2";
+ enablenpc "Zombie4_1";
end;
OnDisable:
- hideonnpc "Zombie4_1";
- hideonnpc "Zombie4_2";
- end;
+ disablenpc "Zombie4_1";
}
-job_prist,27,82,0 script Zombie4_2 139,1,1,{
- end;
-
+job_prist,24,92,0 script Zombie5_1 -1,14,1,{
OnInit:
- hideonnpc "Zombie4_2";
+ disablenpc "Zombie5_1";
end;
-}
-
-job_prist,24,92,0 script Zombie5_1 139,14,1,{
OnTouch:
- if (Class == Job_Baby_Acolyte || Class == Job_Acolyte) {
- donpcevent "Zombie_Generator::OnM5";
+ if (BaseJob == Job_Acolyte) {
+ donpcevent "Zombie_Generator#prst::Onm5";
donpcevent "Zombie5_1::OnDisable";
}
end;
-OnInit:
- hideonnpc "Zombie5_1";
- end;
-
OnEnable:
- hideoffnpc "Zombie5_1";
- hideoffnpc "Zombie5_2";
- hideoffnpc "Zombie5_3";
+ enablenpc "Zombie5_1";
end;
OnDisable:
- hideonnpc "Zombie5_1";
- hideonnpc "Zombie5_2";
- hideonnpc "Zombie5_3";
- end;
-}
-
-job_prist,18,92,0 script Zombie5_2 139,1,1,{
- end;
-
-OnInit:
- hideonnpc "Zombie5_2";
- end;
-}
-
-job_prist,30,92,0 script Zombie5_3 139,1,1,{
- end;
-
-OnInit:
- hideonnpc "Zombie5_3";
- end;
+ disablenpc "Zombie5_1";
}
-job_prist,24,109,0 script prst1_1 45,4,3,{
-
-OnTouch:
- if (Class == Job_Baby_Priest || Class == Job_Priest) {
- warp "job_prist",168,17;
- }
- end;
-}
-
-job_prist,24,109,0 script prst1_2 139,4,3,{
-
+job_prist,24,109,4 script prst1_1 45,3,3,{
OnTouch:
- if (Class == Job_Baby_Acolyte || Class == Job_Acolyte) {
+ set .@mobs,getvariableofnpc(.MyMobs,"Zombie_Generator#prst");
+ if (BaseJob == Job_Priest) warp "job_prist",168,17;
+ else if (BaseClass == Job_Acolyte && .@mobs < 1) {
warp "job_prist",168,17;
- donpcevent "Zombie_Generator::OnReset";
+ donpcevent "Zombie_Generator#prst::OnDisable";
donpcevent "Peter S. Alberto#2::OnDisable";
donpcevent "Peter S. Alberto::OnEnable";
- donpcevent "prst1_2::OnDisable";
- donpcevent "Zombie_Generator::OnDisable";
+ donpcevent "Zombie_Generator#prst::OnDisable";
}
end;
-
-OnInit:
- hideonnpc "prst1_2";
- end;
-
-OnEnable:
- hideoffnpc "prst1_2";
- end;
-
-OnDisable:
- hideonnpc "prst1_2";
- end;
}
job_prist,168,45,4 script Deviruchi#prst 1928,8,1,{
@@ -1925,7 +1787,7 @@ job_prist,1,2,1 script Mummy_Generator 110,1,1,{
end;
OnInit:
- hideonnpc "Mummy_Generator";
+ disablenpc "Mummy_Generator";
end;
OnEnable:
@@ -1950,7 +1812,7 @@ OnM3:
end;
OnDisable:
- hideonnpc "Mummy_Generator";
+ disablenpc "Mummy_Generator";
end;
OnReset:
@@ -1968,17 +1830,17 @@ OnTouch:
end;
OnInit:
- hideonnpc "Mummy1_1";
+ disablenpc "Mummy1_1";
end;
OnEnable:
- hideoffnpc "Mummy1_1";
- hideoffnpc "Mummy1_2";
+ enablenpc "Mummy1_1";
+ enablenpc "Mummy1_2";
end;
OnDisable:
- hideonnpc "Mummy1_1";
- hideonnpc "Mummy1_2";
+ disablenpc "Mummy1_1";
+ disablenpc "Mummy1_2";
end;
}
@@ -1986,7 +1848,7 @@ job_prist,105,55,0 script Mummy1_2 139,1,1,{
end;
OnInit:
- hideonnpc "Mummy1_2";
+ disablenpc "Mummy1_2";
end;
}
@@ -2000,17 +1862,17 @@ OnTouch:
end;
OnInit:
- hideonnpc "Mummy2_1";
+ disablenpc "Mummy2_1";
end;
OnEnable:
- hideoffnpc "Mummy2_1";
- hideoffnpc "Mummy2_2";
+ enablenpc "Mummy2_1";
+ enablenpc "Mummy2_2";
end;
OnDisable:
- hideonnpc "Mummy2_1";
- hideonnpc "Mummy2_2";
+ disablenpc "Mummy2_1";
+ disablenpc "Mummy2_2";
end;
}
@@ -2018,7 +1880,7 @@ job_prist,105,70,0 script Mummy2_2 139,1,1,{
end;
OnInit:
- hideonnpc "Mummy2_2";
+ disablenpc "Mummy2_2";
end;
}
@@ -2032,17 +1894,17 @@ OnTouch:
end;
OnInit:
- hideonnpc "Mummy3_1";
+ disablenpc "Mummy3_1";
end;
OnEnable:
- hideoffnpc "Mummy3_1";
- hideoffnpc "Mummy3_2";
+ enablenpc "Mummy3_1";
+ enablenpc "Mummy3_2";
end;
OnDisable:
- hideonnpc "Mummy3_1";
- hideonnpc "Mummy3_2";
+ disablenpc "Mummy3_1";
+ disablenpc "Mummy3_2";
end;
}
@@ -2050,7 +1912,7 @@ job_prist,105,85,0 script Mummy3_2 139,1,1,{
end;
OnInit:
- hideonnpc "Mummy3_2";
+ disablenpc "Mummy3_2";
end;
}
diff --git a/npc/jobs/2-1/wizard.txt b/npc/jobs/2-1/wizard.txt
index b5fef11e8..72987977f 100644
--- a/npc/jobs/2-1/wizard.txt
+++ b/npc/jobs/2-1/wizard.txt
@@ -629,6 +629,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{
if (select("Lightning Bolt:Fire Bolt:Cold Bolt:Sight") == 1) {
set @wizard_t, @wizard_t + 10;
}
+ next;
}
if (.@wizard_m2 == 2) {
mes "[Raulel]";
@@ -691,6 +692,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{
if (select("Drake:Megalodon:Deviace:Khalitzburg") == 3) {
set @wizard_t, @wizard_t + 10;
}
+ next;
}
else {
mes "[Raulel]";
@@ -753,6 +755,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{
if (select("Marduk Card:Magnolia Card:Willow Card:Maya Card") == 2) {
set @wizard_t, @wizard_t + 10;
}
+ next;
}
mes "[Raulel]";
mes "Hmmm...Good job, you finished answering all the questions, go buy yourself some potions or something, thats IF you have the Zeny. Hahahahahahahah~";
@@ -797,7 +800,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{
mes "[Raulel]";
mes "If you miss one single question, then just give up. You wouldn't have any talent in being a Wizard! ~Hahahahaha";
next;
- if (select("Because of you, I want to live as a normal Mage now.:I would like to continue with the tests.")) {
+ if (select("Because of you, I want to live as a normal Mage now.:I would like to continue with the tests.") == 1) {
mes "[Raulel]";
mes "Hahahaha~ Surprising, comming from you, that's a very wise choice...*cough* *cough*";
mes "If i were you, i would never, ever dream of becoming a Wizard again. Gre...Greaa...*sneeze* Greater Magic wasn't meant for humans to use.";
@@ -885,6 +888,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{
if (select("Lightning Bolt:Fire Bolt:Cold Bolt:Sight") == 1) {
set @wizard_t, @wizard_t + 10;
}
+ next;
}
if (.@wizard_m2 == 2) {
mes "[Raulel]";
@@ -947,6 +951,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{
if (select("Drake:Megalodon:Deviace:Khalitzburg") == 3) {
set @wizard_t, @wizard_t + 10;
}
+ next;
}
else {
mes "[Raulel]";
@@ -1009,6 +1014,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{
if (select("Marduk Card:Magnolia Card:Willow Card:Maya Card") == 2) {
set @wizard_t, @wizard_t + 10;
}
+ next;
}
mes "[Raulel]";
mes "Good job, you finished answered all the questions... Go buy yourself some potions or something if you have the Zeny. Haha...";
@@ -1309,60 +1315,61 @@ job_wiz,50,165,4 script Arena Assistant 700,{
close;
}
-job_wiz,50,165,2 script Waiting Room#wzrd 111,{
- end;
-
+job_wiz,50,165,4 script Waiting Room#wiz 700,{
OnInit:
waitingroom "Waiting Room",20,"Waiting Room#wiz::OnStartArena",1;
enablewaitingroomevent;
end;
OnStartArena:
+ killmonsterall "job_wiz";
warpwaitingpc "job_wiz",114,169;
donpcevent "Room of Water::OnEnable";
+ disablenpc "Waiting Room#wiz";
disablewaitingroomevent;
end;
-OnEnable:
+OnStart:
enablewaitingroomevent;
end;
}
+// Water Room (Test 2 part 1)
+//==========================================================
job_wiz,1,1,1 script Room of Water 66,{
- end;
-
OnInit:
- hideonnpc "Room of Water";
+ disablenpc "Room of Water";
end;
OnEnable:
- hideoffnpc "Room of Water";
+ enablenpc "Room of Water";
+ if (!checkre(0)) {
+ set .MyMobs,8;
+ monster "job_wiz",129,170,"Obeaune",1044,1,"Room of Water::OnMyMobDead";
+ }
+ else
+ set .MyMobs,7;
monster "job_wiz",109,174,"Phen",1158,1,"Room of Water::OnMyMobDead";
- monster "job_wiz",118,174,"Clam",1074,1,"Room of Water::OnMyMobDead";
+ monster "job_wiz",118,174,"Shellfish",1074,1,"Room of Water::OnMyMobDead";
monster "job_wiz",109,165,"Vadon",1066,1,"Room of Water::OnMyMobDead";
monster "job_wiz",118,165,"Cornutus",1067,1,"Room of Water::OnMyMobDead";
monster "job_wiz",101,157,"Marina",1141,1,"Room of Water::OnMyMobDead";
monster "job_wiz",126,157,"Marin",1242,1,"Room of Water::OnMyMobDead";
monster "job_wiz",98,170,"Magnolia",1138,1,"Room of Water::OnMyMobDead";
- if(!checkre(0)){
- monster "job_wiz",129,170,"Obeaune",1044,1,"Room of Water::OnMyMobDead";
- }
initnpctimer;
end;
-OnReset:
- killmonster "job_wiz","Room of Water::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Room of Water";
+ killmonsterall "job_wiz";
+ disablenpc "Room of Water";
end;
OnMyMobDead:
- if (mobcount ("job_wiz","Room of Water::OnMyMobDead") < 1) {
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
set WIZ_Q2,WIZ_Q2+1;
- mapannounce "job_wiz","" + strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
- donpcevent "Room of Water#DK::OnEnable";
+ mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map;
+ donpcevent "Room of Water#Door::OnEnable";
stopnpctimer;
}
end;
@@ -1405,11 +1412,11 @@ OnTimer173000:
OnTimer183000:
mapannounce "job_wiz","Time is up.",bc_map;
- donpcevent "Room of Water::OnReset";
+ donpcevent "Room of Water::OnDisable";
end;
OnTimer184000:
- donpcevent "Room of Water#Failed::OnEnable";
+ enablenpc "Room of Water#Failed";
end;
OnTimer185000:
@@ -1417,45 +1424,41 @@ OnTimer185000:
end;
OnTimer186000:
- donpcevent "Room of Water#Failed::OnDisable";
+ disablenpc "Room of Water#Failed";
donpcevent "Room of Water::OnDisable";
- donpcevent "Waiting Room::OnEnable";
+ donpcevent "Waiting Room#wiz::OnStart";
end;
}
-job_wiz,1,2,1 script Room of Water#DK 66,{
- end;
-
+job_wiz,1,2,1 script Room of Water#Door 66,{
OnInit:
- hideonnpc "Room of Water#DK";
+ disablenpc "Room of Water#Door";
end;
OnEnable:
- hideoffnpc "Room of Water#DK";
- donpcevent "Room of Water::OnReset";
+ enablenpc "Room of Water#Door";
donpcevent "Room of Water::OnDisable";
- monster "job_wiz",114,169,"Marine Sphere",1142,1,"Room of Water#DK::OnMyMobDead";
- monster "job_wiz",112,169,"Hydra",1068,1,"Room of Water#DK::OnMyMobDead";
- monster "job_wiz",116,169,"Hydra",1068,1,"Room of Water#DK::OnMyMobDead";
- monster "job_wiz",114,171,"Hydra",1068,1,"Room of Water#DK::OnMyMobDead";
- monster "job_wiz",114,167,"Hydra",1068,1,"Room of Water#DK::OnMyMobDead";
+ set .MyMobs,5;
+ monster "job_wiz",114,169,"Marine Sphere",1142,1,"Room of Water#Door::OnMyMobDead";
+ monster "job_wiz",112,169,"Hydra",1068,1,"Room of Water#Door::OnMyMobDead";
+ monster "job_wiz",116,169,"Hydra",1068,1,"Room of Water#Door::OnMyMobDead";
+ monster "job_wiz",114,171,"Hydra",1068,1,"Room of Water#Door::OnMyMobDead";
+ monster "job_wiz",114,167,"Hydra",1068,1,"Room of Water#Door::OnMyMobDead";
initnpctimer;
end;
-OnReset:
- killmonster "job_wiz","Room of Water#DK::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Room of Water#DK";
+ killmonsterall "job_wiz";
+ disablenpc "Room of Water#Door";
end;
OnMyMobDead:
- if (mobcount ("job_wiz","Room of Water#DK::OnMyMobDead") < 1) {
- mapannounce "job_wiz","" + strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
+ mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map;
+ percentheal 100,100;
warp "job_wiz",116,97;
- donpcevent "Room of Water#DK::OnReset";
- donpcevent "Room of Water#DK::OnDisable";
+ donpcevent "Room of Water#Door::OnDisable";
donpcevent "Room of Earth::OnEnable";
stopnpctimer;
}
@@ -1475,11 +1478,11 @@ OnTimer50000:
OnTimer60000:
mapannounce "job_wiz","Time is up.",bc_map;
- donpcevent "Room of Water#DK::OnReset";
+ donpcevent "Room of Water#Door::OnDisable";
end;
OnTimer61000:
- donpcevent "Room of Water#Failed::OnEnable";
+ enablenpc "Room of Water#Failed";
end;
OnTimer62000:
@@ -1487,50 +1490,43 @@ OnTimer62000:
end;
OnTimer63000:
- donpcevent "Room of Water#Failed::OnDisable";
- donpcevent "Room of Water#DK::OnDisable";
- donpcevent "Waiting Room::OnEnable";
+ disablenpc "Room of Water#Failed";
+ donpcevent "Room of Water#Door::OnDisable";
+ donpcevent "Waiting Room#wiz::OnStart";
end;
}
-job_wiz,114,169,0 script Room of Water#Failed 139,16,16,{
-
-OnTouch:
- mapannounce "job_wiz","" + strcharinfo(0) + " has not succeeded.",bc_map;
- warp "geffen",120,110;
- end;
-
+job_wiz,114,169,0 script Room of Water#Failed -1,16,16,{
OnInit:
- hideonnpc "Room of Water#Failed";
- end;
-
-OnEnable:
- hideoffnpc "Room of Water#Failed";
+ disablenpc "Room of Water#Failed";
end;
-OnDisable:
- hideonnpc "Room of Water#Failed";
+OnTouch:
+ mapannounce "job_wiz",strcharinfo(0)+" has not succeeded.",bc_map;
+ warp "geffen",120,110;
end;
}
-job_wiz,1,3,1 script Room of Earth 66,1,1,{
- end;
-
+// Earth Room (Test 2 part 2)
+//==========================================================
+job_wiz,1,3,1 script Room of Earth 66,{
OnInit:
- hideonnpc "Room of Earth";
+ disablenpc "Room of Earth";
end;
OnEnable:
- hideoffnpc "Room of Earth";
- percentheal 100,100;
- monster "job_wiz",111,102,"Yoyo",1057,1,"Room of Earth::OnMyMobDead";
- monster "job_wiz",120,102,"Deniro",1105,1,"Room of Earth::OnMyMobDead";
- monster "job_wiz",111,102,"Caramel",1103,1,"Room of Earth::OnMyMobDead";
- if (!checkre(0)){
+ enablenpc "Room of Earth";
+ if (!checkre(0)) {
+ set .MyMobs,10;
monster "job_wiz",120,102,"Hode",1127,1,"Room of Earth::OnMyMobDead";
monster "job_wiz",111,93,"Savage",1166,1,"Room of Earth::OnMyMobDead";
monster "job_wiz",127,86,"Mantis",1139,1,"Room of Earth::OnMyMobDead";
}
+ else
+ set .MyMobs,7;
+ monster "job_wiz",111,102,"Yoyo",1057,1,"Room of Earth::OnMyMobDead";
+ monster "job_wiz",120,102,"Deniro",1105,1,"Room of Earth::OnMyMobDead";
+ monster "job_wiz",111,102,"Caramel",1103,1,"Room of Earth::OnMyMobDead";
monster "job_wiz",120,93,"Giearth",1121,1,"Room of Earth::OnMyMobDead";
monster "job_wiz",107,98,"Bigfoot",1060,1,"Room of Earth::OnMyMobDead";
monster "job_wiz",124,98,"Orc Warrior",1023,1,"Room of Earth::OnMyMobDead";
@@ -1538,18 +1534,16 @@ OnEnable:
initnpctimer;
end;
-OnReset:
- killmonster "job_wiz","Room of Earth::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Room of Earth";
+ killmonsterall "job_wiz";
+ disablenpc "Room of Earth";
end;
OnMyMobDead:
- if (mobcount ("job_wiz","Room of Earth::OnMyMobDead") < 1) {
- mapannounce "job_wiz","" + strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
- donpcevent "Room of Earth#DK::OnEnable";
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
+ mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
+ donpcevent "Room of Earth#Door::OnEnable";
stopnpctimer;
}
end;
@@ -1592,11 +1586,11 @@ OnTimer173000:
OnTimer183000:
mapannounce "job_wiz","Time is up.",bc_map;
- donpcevent "Room of Earth::OnReset";
+ donpcevent "Room of Earth::OnDisable";
end;
OnTimer184000:
- donpcevent "Room of Earth#Failed::OnEnable";
+ enablenpc "Room of Earth#Failed";
end;
OnTimer185000:
@@ -1604,50 +1598,47 @@ OnTimer185000:
end;
OnTimer186000:
- donpcevent "Room of Earth#Failed::OnDisable";
+ disablenpc "Room of Earth#Failed";
donpcevent "Room of Earth::OnDisable";
- donpcevent "Waiting Room::OnEnable";
+ donpcevent "Waiting Room#wiz::OnStart";
end;
}
-job_wiz,1,4,1 script Room of Earth#DK 66,{
- end;
-
+job_wiz,1,4,1 script Room of Earth#Door 66,{
OnInit:
- hideonnpc "Room of Earth#DK";
+ disablenpc "Room of Earth#Door";
end;
OnEnable:
- hideoffnpc "Room of Earth#DK";
- donpcevent "Room of Earth::OnReset";
+ enablenpc "Room of Earth#Door";
donpcevent "Room of Earth::OnDisable";
- if (!checkre(0)){
- monster "job_wiz",116,97,"Flora",1118,1,"Room of Earth#DK::OnMyMobDead";
+ if (!checkre(0)) {
+ set .MyMobs,7;
+ monster "job_wiz",116,97,"Flora",1118,1,"Room of Earth#Door::OnMyMobDead";
}
- monster "job_wiz",114,95,"Mandragora",1020,1,"Room of Earth#DK::OnMyMobDead";
- monster "job_wiz",118,95,"Mandragora",1020,1,"Room of Earth#DK::OnMyMobDead";
- monster "job_wiz",114,99,"Mandragora",1020,1,"Room of Earth#DK::OnMyMobDead";
- monster "job_wiz",118,99,"Mandragora",1020,1,"Room of Earth#DK::OnMyMobDead";
- monster "job_wiz",116,94,"Mandragora",1020,1,"Room of Earth#DK::OnMyMobDead";
- monster "job_wiz",116,100,"Mandragora",1020,1,"Room of Earth#DK::OnMyMobDead";
+ else
+ set .MyMobs,6;
+ monster "job_wiz",114,95,"Mandragora",1020,1,"Room of Earth#Door::OnMyMobDead";
+ monster "job_wiz",118,95,"Mandragora",1020,1,"Room of Earth#Door::OnMyMobDead";
+ monster "job_wiz",114,99,"Mandragora",1020,1,"Room of Earth#Door::OnMyMobDead";
+ monster "job_wiz",118,99,"Mandragora",1020,1,"Room of Earth#Door::OnMyMobDead";
+ monster "job_wiz",116,94,"Mandragora",1020,1,"Room of Earth#Door::OnMyMobDead";
+ monster "job_wiz",116,100,"Mandragora",1020,1,"Room of Earth#Door::OnMyMobDead";
initnpctimer;
end;
-OnReset:
- killmonster "job_wiz","Room of Earth#DK::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Room of Earth#DK";
+ killmonsterall "job_wiz";
+ disablenpc "Room of Earth#Door";
end;
OnMyMobDead:
- if (mobcount ("job_wiz","Room of Earth#DK::OnMyMobDead") < 1) {
- mapannounce "job_wiz","" + strcharinfo(0) + " has succeeded in eliminating the monster.",bc_map;
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
+ mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monster.",bc_map;
percentheal 100,100;
warp "job_wiz",46,99;
- donpcevent "Room of Earth#DK::OnReset";
- donpcevent "Room of Earth#DK::OnDisable";
+ donpcevent "Room of Earth#Door::OnDisable";
donpcevent "Room of Fire::OnEnable";
stopnpctimer;
}
@@ -1667,7 +1658,7 @@ OnTimer50000:
OnTimer60000:
mapannounce "job_wiz","End time.",bc_map;
- donpcevent "Room of Earth#DK::OnReset";
+ donpcevent "Room of Earth#Door::OnDisable";
end;
OnTimer61000:
@@ -1679,67 +1670,58 @@ OnTimer62000:
end;
OnTimer63000:
- donpcevent "Room of Earth#Failed::OnDisable";
- donpcevent "Room of Earth#DK::OnDisable";
- donpcevent "Waiting Room::OnEnable";
+ disablenpc "Room of Earth#Failed";
+ donpcevent "Room of Earth#Door::OnDisable";
+ donpcevent "Waiting Room#wiz::OnStart";
end;
}
-job_wiz,116,97,0 script Room of Earth#Failed 139,16,16,{
-
-OnTouch:
- mapannounce "job_wiz","" + strcharinfo(0) + " has not succeeded.",bc_map;
- warp "geffen",120,110;
- end;
-
+job_wiz,116,97,0 script Room of Earth#Failed -1,16,16,{
OnInit:
- hideonnpc "Room of Earth#Failed";
+ disablenpc "Room of Earth#Failed";
end;
-OnEnable:
- hideoffnpc "Room of Earth#Failed";
- end;
-
-OnDisable:
- hideonnpc "Room of Earth#Failed";
+OnTouch:
+ mapannounce "job_wiz",strcharinfo(0) + " has not succeeded.",bc_map;
+ warp "geffen",120,110;
end;
}
+// Fire Room (Test 2 part 3)
+//==========================================================
job_wiz,1,5,1 script Room of Fire 66,{
- end;
-
OnInit:
- hideonnpc "Room of Fire";
+ disablenpc "Room of Fire";
end;
OnEnable:
- hideoffnpc "Room of Fire";
- percentheal 100,100;
- if (!checkre(0)){
+ enablenpc "Room of Fire";
+ if (!checkre(0)) {
+ set .MyMobs,8;
monster "job_wiz",58,110,"Zerom",1178,1,"Room of Fire::OnMyMobDead";
monster "job_wiz",54,89,"Desert Wolf",1106,1,"Room of Fire::OnMyMobDead";
}
+ else
+ set .MyMobs,6;
monster "job_wiz",33,110,"Goblin",1123,1,"Room of Fire::OnMyMobDead";
monster "job_wiz",40,103,"Scorpion",1001,1,"Room of Fire::OnMyMobDead";
monster "job_wiz",51,103,"Frilldora",1119,1,"Room of Fire::OnMyMobDead";
- monster "job_wiz",40,92,"Peco Peco",1019,1,"Room of Fire::OnMyMobDead";
+ monster "job_wiz",40,92,"PecoPeco",1019,1,"Room of Fire::OnMyMobDead";
monster "job_wiz",51,92,"Elder Willow",1033,1,"Room of Fire::OnMyMobDead";
monster "job_wiz",37,89,"Metaller",1058,1,"Room of Fire::OnMyMobDead";
initnpctimer;
end;
-OnReset:
- killmonster "job_wiz","Room of Fire::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Room of Fire";
+ killmonsterall "job_wiz";
+ disablenpc "Room of Fire";
end;
OnMyMobDead:
- if (mobcount ("job_wiz","Room of Fire::OnMyMobDead") < 1) {
- mapannounce "job_wiz","" + strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
- donpcevent "Room of Fire#Door Keeper::OnEnable";
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
+ mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
+ donpcevent "Room of Fire#Door::OnEnable";
stopnpctimer;
}
end;
@@ -1782,7 +1764,7 @@ OnTimer173000:
OnTimer183000:
mapannounce "job_wiz","Time is up.",bc_map;
- donpcevent "Room of Fire::OnReset";
+ donpcevent "Room of Fire::OnDisable";
end;
OnTimer184000:
@@ -1794,47 +1776,46 @@ OnTimer185000:
end;
OnTimer186000:
- donpcevent "Room of Fire#Failed::OnDisable";
+ disablenpc "Room of Fire#Failed";
donpcevent "Room of Fire::OnDisable";
- donpcevent "Waiting Room::OnEnable";
+ donpcevent "Waiting Room#wiz::OnStart";
end;
}
-job_wiz,1,6,1 script Room of Fire#Door Keeper 66,{
- end;
-
+job_wiz,1,6,1 script Room of Fire#Door 66,{
OnInit:
- hideonnpc "Room of Fire#Door Keeper";
+ disablenpc "Room of Fire#Door";
end;
OnEnable:
- hideoffnpc "Room of Fire#Door Keeper";
- donpcevent "Room of Fire::OnReset";
+ enablenpc "Room of Fire#Door";
donpcevent "Room of Fire::OnDisable";
- if (checkre(0)){
- monster "job_wiz",44,99,"Greatest General",1277,1,"Room of Fire#Door Keeper::OnMyMobDead";
+ set .MyMobs,3;
+ monster "job_wiz",44,99,"Greatest General",1277,1,"Room of Fire#Door::OnMyMobDead";
+ if (checkre(0)) {
+ monster "job_wiz",43,99,"Greatest General",1277,1,"Room of Fire#Door::OnMyMobDead";
+ monster "job_wiz",45,99,"Greatest General",1277,1,"Room of Fire#Door::OnMyMobDead";
+ }
+ else {
+ monster "job_wiz",43,99,"Horong",1129,1,"Room of Fire#Door::OnMyMobDead";
+ monster "job_wiz",45,99,"Horong",1129,1,"Room of Fire#Door::OnMyMobDead";
}
- monster "job_wiz",43,99,"Horong",1129,1,"Room of Fire#Door Keeper::OnMyMobDead";
- monster "job_wiz",45,99,"Horong",1129,1,"Room of Fire#Door Keeper::OnMyMobDead";
initnpctimer;
end;
-OnReset:
- killmonster "job_wiz","Room of Fire#Door Keeper::OnMyMobDead";
- end;
-
OnDisable:
- hideonnpc "Room of Fire#Door Keeper";
+ killmonsterall "job_wiz";
+ disablenpc "Room of Fire#Door";
end;
OnMyMobDead:
- if (mobcount ("job_wiz","Room of Fire#Door Keeper::OnMyMobDead") < 1) {
+ set .MyMobs,.MyMobs-1;
+ if (.MyMobs < 1) {
mapannounce "job_wiz","Congratulations, " + strcharinfo(0) + ". You have passed the job change test.",bc_map;
set WIZ_Q,7;
changequest 9017,9018;
- donpcevent "Room of Fire#Door Keeper::OnReset";
- donpcevent "Room of Fire#Door Keeper::OnDisable";
- donpcevent "Test Helper::OnEnable";
+ donpcevent "Room of Fire#Door::OnDisable";
+ donpcevent "Test Helper#wiz::OnEnable";
stopnpctimer;
}
end;
@@ -1861,11 +1842,11 @@ OnTimer110000:
OnTimer120000:
mapannounce "job_wiz","Time is up.",bc_map;
- donpcevent "Room of Fire#Door Keeper::OnReset";
+ donpcevent "Room of Fire#Door::OnDisable";
end;
OnTimer121000:
- donpcevent "Room of Fire#Failed::OnEnable";
+ enablenpc "Room of Fire#Failed";
end;
OnTimer122000:
@@ -1873,57 +1854,26 @@ OnTimer122000:
end;
OnTimer123000:
- donpcevent "Room of Fire#Failed::OnDisable";
- donpcevent "Room of Fire#Door Keeper::OnDisable";
- donpcevent "Waiting Room::OnEnable";
- end;
+ disablenpc "Room of Fire#Failed";
+ donpcevent "Room of Fire#Door::OnDisable";
+ donpcevent "Waiting Room#wiz::OnStart";
}
-job_wiz,46,99,0 script Room of Fire#Failed 139,16,16,{
- end;
-
+job_wiz,46,99,0 script Room of Fire#Failed -1,16,16,{
OnInit:
- hideonnpc "Room of Fire#Failed";
+ disablenpc "Room of Fire#Failed";
end;
OnTouch:
warp "geffen",120,110;
end;
-
-OnEnable:
- hideoffnpc "Room of Fire#Failed";
- end;
-
-OnDisable:
- hideonnpc "Room of Fire#Failed";
- end;
-}
-
-job_wiz,46,99,0 script Succeed 139,16,16,{
- end;
-
-OnInit:
- hideonnpc "Succeed";
- end;
-
-OnTouch:
- warp "gef_tower",110,30;
- end;
-
-OnEnable:
- hideoffnpc "Succeed";
- end;
-
-OnDisable:
- hideonnpc "Succeed";
- end;
}
-job_wiz,1,7,1 script Test Helper 66,1,1,{
+job_wiz,1,7,1 script Test Helper#wiz 66,{
end;
OnInit:
- hideonnpc "Test Helper";
+ disablenpc "Test Helper#wiz";
end;
OnEnable:
@@ -1931,7 +1881,7 @@ OnEnable:
end;
OnDisable:
- hideonnpc "Test Helper";
+ disablenpc "Test Helper#wiz";
end;
OnTimer2000:
@@ -1943,11 +1893,7 @@ OnTimer4000:
end;
OnTimer5000:
- donpcevent "Succeed::OnEnable";
- end;
-
-OnTimer6000:
- donpcevent "Succeed::OnDisable";
+ areawarp "job_wiz",33,82,57,113,"gef_tower",110,30;
end;
OnTimer7000:
@@ -1955,8 +1901,8 @@ OnTimer7000:
end;
OnTimer9000:
- donpcevent "Test Helper::OnDisable";
- donpcevent "Waiting Room::OnEnable";
+ donpcevent "Test Helper#wiz::OnDisable";
+ donpcevent "Waiting Room#wiz::OnStart";
stopnpctimer;
end;
}