|
@@ -1,11 +1,11 @@
|
|
|
//===== rAthena Script =======================================
|
|
|
-//= Megingjard seal unlocking NPCs.
|
|
|
+//= God Item Quest - Megingjard Seal
|
|
|
//===== By: ==================================================
|
|
|
//= SinSloth
|
|
|
//===== Current Version: =====================================
|
|
|
-//= 2.1
|
|
|
+//= 2.2
|
|
|
//===== Compatible With: =====================================
|
|
|
-//= rAthena
|
|
|
+//= rAthena SVN
|
|
|
//===== Description: =========================================
|
|
|
//= Quest for breaking the seal of Megingjard.
|
|
|
//===== Additional Comments: =================================
|
|
@@ -21,9 +21,14 @@
|
|
|
//= 1.9 Fixed some input checks and variable types. [brianluau]
|
|
|
//= 2.0 Updated RE/Pre-RE EXP. [Euphy]
|
|
|
//= 2.1 Fixed minor bug with the Librarian Jekan
|
|
|
+//= 2.2 Renewal script update. [Euphy]
|
|
|
//============================================================
|
|
|
|
|
|
prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
+ if (checkweight(1301,3) == 0) {
|
|
|
+ mes "- You are carrying too many items! -";
|
|
|
+ close;
|
|
|
+ }
|
|
|
cutin "god_rebeireb",2;
|
|
|
if ((countitem(7080) > 3) && (countitem(7081) > 4) && (countitem(7082) > 3) && (countitem(7084) > 2) && (countitem(7085) > 2)) {
|
|
|
mes "[Rebarev Doug]";
|
|
@@ -54,7 +59,7 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- if ($God1 < 50) {
|
|
|
+ if ($God1 < $@god_check1) {
|
|
|
mes "[Rebarev Doug]";
|
|
|
mes "We are Crusaders that have";
|
|
|
mes "been training in preparation";
|
|
@@ -140,9 +145,9 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- else if($God1 > 49 && $God2 < 100) {
|
|
|
- if(BaseLevel > 59) {
|
|
|
- if(god_eremes == 0) {
|
|
|
+ else if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (BaseLevel > 59) {
|
|
|
+ if (god_eremes == 0) {
|
|
|
mes "[Rebarev Doug]";
|
|
|
mes "...";
|
|
|
next;
|
|
@@ -264,8 +269,8 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes > 0 && god_eremes < 4) {
|
|
|
- if(rand(1,10) > 6 && god_eremes == 2) {
|
|
|
+ else if (god_eremes > 0 && god_eremes < 4) {
|
|
|
+ if (rand(1,10) > 6 && god_eremes == 2) {
|
|
|
mes "[Rebarev Doug]";
|
|
|
mes "I wonder how my old";
|
|
|
mes "comrades are doing now.";
|
|
@@ -361,7 +366,7 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes > 3 && god_eremes < 18) {
|
|
|
+ else if (god_eremes > 3 && god_eremes < 18) {
|
|
|
mes "[Rebarev Doug]";
|
|
|
mes "Huh...?";
|
|
|
mes "The librarian";
|
|
@@ -382,8 +387,8 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
mes "Oh...";
|
|
|
mes "It might be helpful to know that we were the ^660000Crusader Third Company, Third Platoon, First Squad^000000.";
|
|
|
}
|
|
|
- else if(god_eremes > 17 && god_eremes < 20) {
|
|
|
- if(god_megin_1 > 0 || god_megin_2 > 0 || god_megin_3 > 0 || god_megin_4 > 0 || god_megin_5 > 0 || god_megin_6 > 0) {
|
|
|
+ else if (god_eremes > 17 && god_eremes < 20) {
|
|
|
+ if (god_megin_1 > 0 || god_megin_2 > 0 || god_megin_3 > 0 || god_megin_4 > 0 || god_megin_5 > 0 || god_megin_6 > 0) {
|
|
|
mes "[Rebarev Doug]";
|
|
|
mes "Oh...";
|
|
|
mes "So did you meet them?";
|
|
@@ -421,7 +426,7 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
mes "are doing for me.";
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes > 19 && god_eremes < 23) {
|
|
|
+ else if (god_eremes > 19 && god_eremes < 23) {
|
|
|
mes "[Rebarev Doug]";
|
|
|
mes "Welcome back~";
|
|
|
mes "It's been a while since I've last seen you. Have you met the rest";
|
|
@@ -469,7 +474,7 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes > 22 && god_eremes < 25) {
|
|
|
+ else if (god_eremes > 22 && god_eremes < 25) {
|
|
|
mes "^3355FFYou confront";
|
|
|
mes "Rebarev Doug with the";
|
|
|
mes "information you learned";
|
|
@@ -499,7 +504,7 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
mes "If at least 100 people report the same crime, then maybe he'll hold";
|
|
|
mes "a trial. But do you really want to reveal this to the public?";
|
|
|
}
|
|
|
- else if(god_eremes > 23 && god_eremes < 26) {
|
|
|
+ else if (god_eremes > 23 && god_eremes < 26) {
|
|
|
mes "[Rebarev Doug]";
|
|
|
mes "I didn't think";
|
|
|
mes "you'd actually do it.";
|
|
@@ -534,8 +539,8 @@ prt_castle,44,151,0 script Rebarev Doug 56,{
|
|
|
}
|
|
|
|
|
|
prt_castle,48,164,0 script Crusader#God 734,{
|
|
|
- if($God1 > 49 && $God2 < 100) {
|
|
|
- if(god_eremes > 22 && god_eremes < 25) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (god_eremes > 22 && god_eremes < 25) {
|
|
|
mes "[Max Von Shedough]";
|
|
|
mes "Welcome, friend!";
|
|
|
mes "Here in the Prontera Castle, we Crusaders are busily preparing for the Holy War that is to come.";
|
|
@@ -558,24 +563,24 @@ prt_castle,48,164,0 script Crusader#God 734,{
|
|
|
mes "[Max Von Shedough]";
|
|
|
mes "However, as of now, the petition you've just given me is considered classified information. Please keep this a military secret.";
|
|
|
set $God2,$God2+1;
|
|
|
- if($God2 == 50) {
|
|
|
+ if ($God2 == $@god_check1) {
|
|
|
announce "The 2nd seal of [Megingjard] has appeared.",bc_all;
|
|
|
}
|
|
|
- else if($God1 > 99 && $God2 > 99 && $God3 > 99 && $God4 > 99) {
|
|
|
- announce "Four seals have been released at the same time with the seal of [Megingjard].",bc_all;
|
|
|
- }
|
|
|
- else if($God2 > 99) {
|
|
|
- announce "The 2nd seal of [Megingjard] has been released.",bc_all;
|
|
|
+ else if ($God2 == $@god_check2) {
|
|
|
+ if ($God1 == $@god_check2 && $God2 == $@god_check2 && $God3 == $@god_check2 && $God4 == $@god_check2)
|
|
|
+ announce "Four seals have been released at the same time with the seal of [Megingjard].",bc_all;
|
|
|
+ else
|
|
|
+ announce "The 2nd seal of [Megingjard] has been released.",bc_all;
|
|
|
}
|
|
|
- if(god_eremes == 23) {
|
|
|
+ if (god_eremes == 23) {
|
|
|
set god_eremes,25;
|
|
|
}
|
|
|
- else if(god_eremes == 24) {
|
|
|
+ else if (god_eremes == 24) {
|
|
|
set god_eremes,26;
|
|
|
}
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 26) {
|
|
|
+ else if (god_eremes > 26) {
|
|
|
mes "[Max Von Shedough]";
|
|
|
mes "Unfortunately, I'm not sure if it's possible to hold a trial against Rebarev Doug.";
|
|
|
next;
|
|
@@ -613,13 +618,13 @@ prt_castle,48,164,0 script Crusader#God 734,{
|
|
|
}
|
|
|
|
|
|
prt_in,172,109,0 script A File#megin1 111,{
|
|
|
- if(god_eremes == 12) {
|
|
|
+ if (god_eremes == 12) {
|
|
|
mes "^3355FFYou have found";
|
|
|
mes "^660000The 3rd Platoon Records^3355FF!^000000";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 6 && god_eremes < 12) {
|
|
|
- if(rand(1,10) > 6 && god_eremes > 6) {
|
|
|
+ else if (god_eremes > 6 && god_eremes < 12) {
|
|
|
+ if (rand(1,10) > 6 && god_eremes > 6) {
|
|
|
mes "^3355FFYou see a shelf filled with many files. You begin searching through them, one by one.^000000";
|
|
|
set god_eremes,god_eremes+1;
|
|
|
close;
|
|
@@ -629,18 +634,13 @@ prt_in,172,109,0 script A File#megin1 111,{
|
|
|
close2;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes < 7) {
|
|
|
+ else if (god_eremes < 7) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
- if(Sex) {
|
|
|
- mes "I'm sorry sir,";
|
|
|
- }
|
|
|
- else {
|
|
|
- mes "I'm sorry ma'am,";
|
|
|
- }
|
|
|
+ mes "I'm sorry "+((Sex)?"sir":"ma'am")+",";
|
|
|
mes "but special authorization is required to browse that section. Otherwise, it's off limits.";
|
|
|
close;
|
|
|
}
|
|
|
- else {
|
|
|
+ else {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "W-wait...!";
|
|
|
mes "That section";
|
|
@@ -650,11 +650,11 @@ prt_in,172,109,0 script A File#megin1 111,{
|
|
|
}
|
|
|
|
|
|
prt_in,170,109,0 script A File#megin2 111,{
|
|
|
- if(god_eremes == 12) {
|
|
|
+ if (god_eremes == 12) {
|
|
|
mes "You have found ^0000FFThe 3rd Platoon Records^000000!";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 6 && god_eremes < 12) {
|
|
|
+ else if (god_eremes > 6 && god_eremes < 12) {
|
|
|
if (rand(1,10) > 6 && god_eremes > 6) {
|
|
|
mes "^3355FFYou see a shelf filled with many files. You begin searching through them, one by one.^000000";
|
|
|
set god_eremes,god_eremes+1;
|
|
@@ -665,7 +665,7 @@ prt_in,170,109,0 script A File#megin2 111,{
|
|
|
close;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes < 7) {
|
|
|
+ else if (god_eremes < 7) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "W-wait...!";
|
|
|
mes "That section";
|
|
@@ -682,12 +682,12 @@ prt_in,170,109,0 script A File#megin2 111,{
|
|
|
}
|
|
|
|
|
|
prt_in,168,109,0 script A File#megin3 111,{
|
|
|
- if(god_eremes == 12) {
|
|
|
+ if (god_eremes == 12) {
|
|
|
mes "You have found";
|
|
|
mes "^0000FFThe 3rd Platoon Records^000000!";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 6 && god_eremes < 12) {
|
|
|
+ else if (god_eremes > 6 && god_eremes < 12) {
|
|
|
if (rand(1,10) > 6 && god_eremes > 6) {
|
|
|
mes "^3355FFYou see a shelf filled with many files. You begin searching through them, one by one.^000000";
|
|
|
set god_eremes,god_eremes+1;
|
|
@@ -698,7 +698,7 @@ prt_in,168,109,0 script A File#megin3 111,{
|
|
|
close;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes < 7) {
|
|
|
+ else if (god_eremes < 7) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "W-wait...!";
|
|
|
mes "That section";
|
|
@@ -715,11 +715,11 @@ prt_in,168,109,0 script A File#megin3 111,{
|
|
|
}
|
|
|
|
|
|
prt_in,169,109,0 script A File#megin4 111,{
|
|
|
- if(god_eremes == 12) {
|
|
|
+ if (god_eremes == 12) {
|
|
|
mes "You have found ^0000FFThe 3rd Platoon Records^000000!";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 6 && god_eremes < 12) {
|
|
|
+ else if (god_eremes > 6 && god_eremes < 12) {
|
|
|
if (rand(1,10) > 6 && god_eremes > 6) {
|
|
|
mes "^3355FFYou see a shelf filled with many files. You begin searching through them, one by one.^000000";
|
|
|
set god_eremes,god_eremes+1;
|
|
@@ -730,7 +730,7 @@ prt_in,169,109,0 script A File#megin4 111,{
|
|
|
close;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes < 7) {
|
|
|
+ else if (god_eremes < 7) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "W-wait...!";
|
|
|
mes "That section";
|
|
@@ -747,12 +747,12 @@ prt_in,169,109,0 script A File#megin4 111,{
|
|
|
}
|
|
|
|
|
|
prt_in,166,109,0 script A File#megin5 111,{
|
|
|
- if(god_eremes == 12) {
|
|
|
+ if (god_eremes == 12) {
|
|
|
mes "You have found";
|
|
|
mes "^0000FFThe 3rd Platoon Records^000000!";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 6 && god_eremes < 12) {
|
|
|
+ else if (god_eremes > 6 && god_eremes < 12) {
|
|
|
if (rand(1,10) > 6 && god_eremes > 6) {
|
|
|
mes "^3355FFYou see a shelf filled with many files. You begin searching through them, one by one.^000000";
|
|
|
set god_eremes,god_eremes+1;
|
|
@@ -763,7 +763,7 @@ prt_in,166,109,0 script A File#megin5 111,{
|
|
|
close;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes < 7) {
|
|
|
+ else if (god_eremes < 7) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "W-wait...!";
|
|
|
mes "That section";
|
|
@@ -780,8 +780,8 @@ prt_in,166,109,0 script A File#megin5 111,{
|
|
|
}
|
|
|
|
|
|
prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
- if($God1 > 49 && $God2 < 100) {
|
|
|
- if(god_eremes > 2 && god_eremes < 7) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (god_eremes > 2 && god_eremes < 7) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Ah, please do";
|
|
|
mes "not touch the files";
|
|
@@ -813,7 +813,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "under dim light";
|
|
|
mes "for so long, my eyes have";
|
|
|
mes "gone bad. They should get me ^0000FFa new light^000000, otherwise I'll go blind sooner or later...";
|
|
|
- if(god_eremes == 5 && ( countitem(2203) > 0 || countitem(1041) > 0 ) ) {
|
|
|
+ if (god_eremes == 5 && (countitem(2203) > 0 || countitem(1041) > 0)) {
|
|
|
next;
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Hey, that's some pretty useful stuff that you've got with you. Do you mind letting me borrow it for a while? It'll help me in finding those files...";
|
|
@@ -829,14 +829,14 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "Oh, you are so kind!";
|
|
|
mes "Y-you really do want";
|
|
|
mes "to help me, don't you?";
|
|
|
- if(countitem(2203) && countitem(1041)) {
|
|
|
- delitem 1041,countitem(1041); //Lantern
|
|
|
- delitem 2203,1; //Spectacles
|
|
|
+ if (countitem(2203) && countitem(1041)) {
|
|
|
+ delitem 1041,countitem(1041); //Lantern
|
|
|
+ delitem 2203,1; //Spectacles
|
|
|
}
|
|
|
- else if(countitem(2203)) {
|
|
|
+ else if (countitem(2203)) {
|
|
|
delitem 2203,1;
|
|
|
}
|
|
|
- else if(countitem(1041)) {
|
|
|
+ else if (countitem(1041)) {
|
|
|
delitem 1041,countitem(1041);
|
|
|
}
|
|
|
set god_eremes,6;
|
|
@@ -854,7 +854,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
close;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes > 5) {
|
|
|
+ else if (god_eremes > 5) {
|
|
|
next;
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Thank you...";
|
|
@@ -865,7 +865,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
}
|
|
|
break;
|
|
|
case 2:
|
|
|
- if(god_eremes == 6) {
|
|
|
+ if (god_eremes == 6) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Read some documents?";
|
|
|
mes "Well, you've come here";
|
|
@@ -898,7 +898,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
close;
|
|
|
}
|
|
|
case 3:
|
|
|
- if(god_eremes == 4) {
|
|
|
+ if (god_eremes == 4) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "I'd gladly accept your";
|
|
|
mes "help if it weren't for the fact that I cannot allow classified information to be released to the public.";
|
|
@@ -914,7 +914,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "Working as a government official is easy except for the times when the beaucrats make you do stuff like this.";
|
|
|
set god_eremes,5;
|
|
|
}
|
|
|
- else if(god_eremes > 4) {
|
|
|
+ else if (god_eremes > 4) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "I think I'm going to go";
|
|
|
mes "insane looking for this file...!";
|
|
@@ -958,7 +958,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes == 2) {
|
|
|
+ else if (god_eremes == 2) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Ah, please do not touch the files in this section. Usually, it's public domain but it seems that a classified file managed to get misplaced there.";
|
|
|
next;
|
|
@@ -1003,8 +1003,8 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
close;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes > 6 && god_eremes < 12) {
|
|
|
- if(rand(1,10) > 4) {
|
|
|
+ else if (god_eremes > 6 && god_eremes < 12) {
|
|
|
+ if (rand(1,10) > 4) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Hmm? So did you find it? I've been searching for that file for a long time, but I haven't been able to find it.";
|
|
|
next;
|
|
@@ -1019,7 +1019,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "I'll go ahead and check the left side, so would you look for it in the middle or the right side?";
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes == 12) {
|
|
|
+ else if (god_eremes == 12) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Ah! There it is!";
|
|
|
mes "Thank you so much!";
|
|
@@ -1060,8 +1060,8 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
set god_eremes,13;
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes == 13) {
|
|
|
- if(countitem(7111) > 1 && countitem(7151) && countitem(1024) > 2 && countitem(916) > 2 && countitem(717) > 19) {
|
|
|
+ else if (god_eremes == 13) {
|
|
|
+ if (countitem(7111) > 1 && countitem(7151) && countitem(1024) > 2 && countitem(916) > 2 && countitem(717) > 19) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Oh, you came back.";
|
|
|
mes "I didn't expect you to return here so quickly. Whatever's inside must be really important for you to know.";
|
|
@@ -1104,8 +1104,8 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
close;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_eremes > 13 && god_eremes < 16) {
|
|
|
- if(rand(1,10) > 4) {
|
|
|
+ else if (god_eremes > 13 && god_eremes < 16) {
|
|
|
+ if (rand(1,10) > 4) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Let me go over and review the document before I make a copy...";
|
|
|
}
|
|
@@ -1116,7 +1116,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
}
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes == 16) {
|
|
|
+ else if (god_eremes == 16) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "There you go. As I thought, the document didn't seem to contain any crucially important data.";
|
|
|
next;
|
|
@@ -1125,7 +1125,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
set god_eremes,17;
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 16) {
|
|
|
+ else if (god_eremes > 16) {
|
|
|
mes "[Librarian Jekan]";
|
|
|
mes "Welcome, my friend!";
|
|
|
mes "So, what do you need today?";
|
|
@@ -1210,7 +1210,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- else if(compare(.@input$,"3rd_platoon") == 1) {
|
|
|
+ else if (compare(.@input$,"3rd_platoon") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Each Company consists";
|
|
|
mes "of 4 Platoons. Please";
|
|
@@ -1218,13 +1218,13 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
next;
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"1st_squad") == 1) {
|
|
|
+ else if (compare(.@input$,"1st_squad") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "The 1st Squad : Crusaders.";
|
|
|
mes "Each platoon consists of 4 squads. Please specify Company and Platoon for information on a specific squad.^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"record") == 1) {
|
|
|
+ else if (compare(.@input$,"record") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "- No result has been found.-";
|
|
|
close2;
|
|
@@ -1302,28 +1302,28 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- else if(compare(.@input$,"3rd_platoon") == 1) {
|
|
|
+ else if (compare(.@input$,"3rd_platoon") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "The 3rd Platoon : ";
|
|
|
mes "- No result has been found.-";
|
|
|
mes "- Suggested to enter a more specific keyword.-";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"1st_squad") == 1) {
|
|
|
+ else if (compare(.@input$,"1st_squad") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "The 3rd Company : ";
|
|
|
mes "- No result has been found.-";
|
|
|
mes "- Suggested to enter a more specific keyword.-";
|
|
|
close2;
|
|
|
}
|
|
|
- else if((compare(.@input$,"record") == 1) && (god_eremes > 17)) {
|
|
|
+ else if ((compare(.@input$,"record") == 1) && (god_eremes > 17)) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "- No result has been found.-";
|
|
|
mes "- Suggested to enter a specific name of the force for a better research.-";
|
|
|
next;
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"rebarev_doug") == 1) {
|
|
|
+ else if (compare(.@input$,"rebarev_doug") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Former leader of";
|
|
|
mes "3rd Company, 3rd Platoon,";
|
|
@@ -1335,12 +1335,12 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "^996633Prontera Castle, Prontera^663300.^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"egnigem") == 1) {
|
|
|
+ else if (compare(.@input$,"egnigem") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "^FF0000Prohibited Search Term!^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"zan.huadoku") == 1) {
|
|
|
+ else if (compare(.@input$,"zan.huadoku") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Former member of";
|
|
|
mes "3rd Company, 3rd Platoon";
|
|
@@ -1352,7 +1352,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "^996633Blacksmith Guild, Geffen^663300.^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"cuaque_donon") == 1) {
|
|
|
+ else if (compare(.@input$,"cuaque_donon") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Former member of";
|
|
|
mes "3rd Company, 3rd Platoon";
|
|
@@ -1364,7 +1364,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "^996633Inn, Morroc^663300.^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"jack_o") == 1) {
|
|
|
+ else if (compare(.@input$,"jack_o") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Former member of";
|
|
|
mes "3rd Company, 3rd Platoon";
|
|
@@ -1375,7 +1375,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "^996633Alberta Port^663300.^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"emma_searth") == 1) {
|
|
|
+ else if (compare(.@input$,"emma_searth") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Former member of";
|
|
|
mes "3rd Company, 3rd Platoon";
|
|
@@ -1387,7 +1387,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "^996633Al De Baran^663300.^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"royal_myst") == 1) {
|
|
|
+ else if (compare(.@input$,"royal_myst") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Former member of";
|
|
|
mes "3rd Company, 3rd Platoon";
|
|
@@ -1398,7 +1398,7 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
mes "^996633Casino, Comodo^663300.^000000";
|
|
|
close2;
|
|
|
}
|
|
|
- else if(compare(.@input$,"the_nineball") == 1) {
|
|
|
+ else if (compare(.@input$,"the_nineball") == 1) {
|
|
|
mes "^663300[Keyword: ^996633"+.@input$+"^663300]";
|
|
|
mes "Former member of";
|
|
|
mes "3rd Company, 3rd Platoon";
|
|
@@ -1538,8 +1538,8 @@ prt_in,172,106,0 script Librarian#megin 833,{
|
|
|
}
|
|
|
|
|
|
geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
- if($God1 > 49 && $God2 < 100) {
|
|
|
- if(god_eremes > 17 && god_megin_1 < 2) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (god_eremes > 17 && god_megin_1 < 2) {
|
|
|
mes "[Zan.Huadoku]";
|
|
|
mes "^333333*Phew...*^000000";
|
|
|
mes "This work is really getting to me. Going on a mission with my war buddies sounds a lot better than this.";
|
|
@@ -1554,7 +1554,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
next;
|
|
|
switch(select("Ask him about the 1st Squad.:Ask him how he's been doing.:Ask him about the 1st Squad's last mission.")) {
|
|
|
case 1:
|
|
|
- if(god_eremes == 18) {
|
|
|
+ if (god_eremes == 18) {
|
|
|
mes "[Zan.Huadoku]";
|
|
|
mes "Yeah, I was a member of the 1st Squad in the 3rd Platoon a long time ago. How did you know that?";
|
|
|
next;
|
|
@@ -1564,7 +1564,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
mes "^3355FFYou tell Zan about Rebarev Doug, and about how he is now an instructor for Crusader Boot Camp. He seems to be absorbed in his thoughts of the past.^000000";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 18) {
|
|
|
+ else if (god_eremes > 18) {
|
|
|
mes "[Zan.Huadoku]";
|
|
|
mes "Yeah, I was a member of the 1st Squad in the 3rd Platoon a long time ago. How did you know that?";
|
|
|
next;
|
|
@@ -1598,7 +1598,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
next;
|
|
|
mes "[Zan.Huadoku]";
|
|
|
mes "^3355FFZan looks very confused and his eyes begin to glaze with a dazed look. You try speaking to him again, but he doesn't respond at all.^000000";
|
|
|
- if(!god_megin_1) {
|
|
|
+ if (!god_megin_1) {
|
|
|
set god_megin_1,1;
|
|
|
}
|
|
|
close;
|
|
@@ -1618,7 +1618,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
mes "A lot of people have been asking me weird questions about me recently. I feel like I'm getting spied on, but maybe I'm just getting paranoid.";
|
|
|
close;
|
|
|
case 3:
|
|
|
- if(god_eremes == 18) {
|
|
|
+ if (god_eremes == 18) {
|
|
|
mes "[Zan.Huadoku]";
|
|
|
mes "Yeah, on our";
|
|
|
mes "final mission...";
|
|
@@ -1633,7 +1633,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
mes "^3355FFZan seems to be having a very difficult time recalling that specific memory of his past.^000000";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 18 && god_megin_1 > 0) {
|
|
|
+ else if (god_eremes > 18 && god_megin_1 > 0) {
|
|
|
mes "[Zan.Huadoku]";
|
|
|
mes "The last mission...";
|
|
|
next;
|
|
@@ -1669,7 +1669,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
mes "I can't think about anything further than that. I can't even remember what we found. But I'm sure it was damned important.";
|
|
|
next;
|
|
|
mes "^3355FFZan stood still in silence, with a pained look on his face.^000000";
|
|
|
- if(god_megin_1 == 1) {
|
|
|
+ if (god_megin_1 == 1) {
|
|
|
set god_megin_1,2;
|
|
|
}
|
|
|
close;
|
|
@@ -1688,7 +1688,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- else if(god_megin_1 > 1 && god_megin_1 < 3) {
|
|
|
+ else if (god_megin_1 > 1 && god_megin_1 < 3) {
|
|
|
mes "...";
|
|
|
next;
|
|
|
mes "...";
|
|
@@ -1712,7 +1712,7 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
set god_megin_1,3;
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_megin_1 > 2) {
|
|
|
+ else if (god_megin_1 > 2) {
|
|
|
mes "^3355FFGrabbing his head,";
|
|
|
mes "tearing his hair and writhing in Agony, Zan kept repeating the same words over and over again...^000000";
|
|
|
next;
|
|
@@ -1792,8 +1792,8 @@ geffen_in,109,161,3 script Crusader#God1 751,{
|
|
|
}
|
|
|
|
|
|
morocc_in,146,179,0 script Employee#megin1 66,{
|
|
|
- if($God1 > 49 && $God2 < 100) {
|
|
|
- if(god_eremes > 17 && god_megin_2 < 1) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (god_eremes > 17 && god_megin_2 < 1) {
|
|
|
mes "^3355FFThe Inn Employee";
|
|
|
mes "eyes you suspiciously.^000000";
|
|
|
next;
|
|
@@ -1816,7 +1816,7 @@ morocc_in,146,179,0 script Employee#megin1 66,{
|
|
|
mes "here, maybe?";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 18) {
|
|
|
+ else if (god_eremes > 18) {
|
|
|
next;
|
|
|
mes "^3355FFOnce you said that name, she immediately drew closer to you";
|
|
|
mes "and began speaking in a low, threatening tone.^000000";
|
|
@@ -1830,7 +1830,7 @@ morocc_in,146,179,0 script Employee#megin1 66,{
|
|
|
next;
|
|
|
switch(select("Rebarev Doug sent me!:Wait, is he in hiding?:Just... curious.")) {
|
|
|
case 1:
|
|
|
- if(rand(1,10) > 3) {
|
|
|
+ if (rand(1,10) > 3) {
|
|
|
mes "[Ms. Scary Inn Employee]";
|
|
|
mes "Rebarev Doug...?!";
|
|
|
mes "That old coot must be afraid";
|
|
@@ -1867,7 +1867,7 @@ morocc_in,146,179,0 script Employee#megin1 66,{
|
|
|
close;
|
|
|
}
|
|
|
case 2:
|
|
|
- if(rand(1,10) > 4) {
|
|
|
+ if (rand(1,10) > 4) {
|
|
|
mes "[Ms. Scary Inn Employee]";
|
|
|
mes "Right.";
|
|
|
mes "If you're here";
|
|
@@ -1958,7 +1958,7 @@ morocc_in,146,179,0 script Employee#megin1 66,{
|
|
|
close2;
|
|
|
}
|
|
|
}
|
|
|
- else if(god_megin_2 > 0) {
|
|
|
+ else if (god_megin_2 > 0) {
|
|
|
mes "[Inn Employee]";
|
|
|
mes "Welcome to the Inn.";
|
|
|
mes "When you move to the entrance, you can also enter a PvP zone though a PvP doorman.";
|
|
@@ -1997,8 +1997,8 @@ morocc_in,146,179,0 script Employee#megin1 66,{
|
|
|
}
|
|
|
|
|
|
in_rogue,243,61,0 script Suspicious Man#megin 748,{
|
|
|
- if($God1 > 49 && $God2 < 100) {
|
|
|
- if(god_eremes == 18) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (god_eremes == 18) {
|
|
|
mes "[Cuaque Donon]";
|
|
|
mes "Wh-who are you?!";
|
|
|
mes "How the hell did";
|
|
@@ -2007,8 +2007,8 @@ in_rogue,243,61,0 script Suspicious Man#megin 748,{
|
|
|
mes "Geeeet awwwway!";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 18) {
|
|
|
- if(god_megin_2 > 0 && god_megin_2 < 4) {
|
|
|
+ else if (god_eremes > 18) {
|
|
|
+ if (god_megin_2 > 0 && god_megin_2 < 4) {
|
|
|
mes "[Cuaque Donon]";
|
|
|
mes "Wh-who are you?!";
|
|
|
mes "How the hell did";
|
|
@@ -2022,31 +2022,31 @@ in_rogue,243,61,0 script Suspicious Man#megin 748,{
|
|
|
if (countitem(740) > 0) {
|
|
|
set .@toy$,"Puppet";
|
|
|
}
|
|
|
- else if(countitem(741) > 0) {
|
|
|
+ else if (countitem(741) > 0) {
|
|
|
set .@toy$,"Poring Doll";
|
|
|
}
|
|
|
- else if(countitem(742) > 0) {
|
|
|
+ else if (countitem(742) > 0) {
|
|
|
set .@toy$,"Chonchon Doll";
|
|
|
}
|
|
|
- else if(countitem(743) > 0) {
|
|
|
+ else if (countitem(743) > 0) {
|
|
|
set .@toy$,"Spore Doll";
|
|
|
}
|
|
|
else if (countitem(744) > 0) {
|
|
|
set .@toy$,"Baphomet Doll";
|
|
|
}
|
|
|
- else if(countitem(751) > 0) {
|
|
|
+ else if (countitem(751) > 0) {
|
|
|
set .@toy$,"Osiris Doll";
|
|
|
}
|
|
|
- else if(countitem(752) > 0) {
|
|
|
+ else if (countitem(752) > 0) {
|
|
|
set .@toy$,"Rocker Doll";
|
|
|
}
|
|
|
- else if(countitem(753) > 0) {
|
|
|
+ else if (countitem(753) > 0) {
|
|
|
set .@toy$,"Yoyo Doll";
|
|
|
}
|
|
|
- else if(countitem(754) > 0) {
|
|
|
+ else if (countitem(754) > 0) {
|
|
|
set .@toy$,"Racoon Doll";
|
|
|
}
|
|
|
- else if(countitem(7206) > 0) {
|
|
|
+ else if (countitem(7206) > 0) {
|
|
|
set .@toy$,"Black Cat Doll";
|
|
|
}
|
|
|
else {
|
|
@@ -2266,8 +2266,8 @@ in_rogue,243,61,0 script Suspicious Man#megin 748,{
|
|
|
}
|
|
|
|
|
|
alberta,196,146,0 script Crusader#megin2 751,{
|
|
|
- if ($God1 > 49 && $God2 < 100) {
|
|
|
- if(god_eremes == 18) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (god_eremes == 18) {
|
|
|
mes "[Jack O]";
|
|
|
mes "^333333*Yawn...*^000000";
|
|
|
mes "It's quiet and boring, as per usual. Let's see if there's any Swordmen I can recruit today.";
|
|
@@ -2457,14 +2457,18 @@ alberta,196,146,0 script Crusader#megin2 751,{
|
|
|
}
|
|
|
|
|
|
aldebaran,66,213,0 script Lady#megin 69,{
|
|
|
- if ($God1 > 49 && $God2 < 100) {
|
|
|
- if(god_eremes == 18) {
|
|
|
+ if (checkweight(1301,3) == 0) {
|
|
|
+ mes "- You are carrying too many items!";
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
+ if (god_eremes == 18) {
|
|
|
mes "[Emma Searth]";
|
|
|
mes "^333333*Sigh...*^000000 I haven't gotten any response from them. I don't know";
|
|
|
mes "if I can wait much longer to join the Kafra Corporation.";
|
|
|
close;
|
|
|
}
|
|
|
- else if(god_eremes > 18 && god_eremes < 26) {
|
|
|
+ else if (god_eremes > 18 && god_eremes < 26) {
|
|
|
if (god_megin_4 < 2) {
|
|
|
mes "[Emma Searth]";
|
|
|
mes "^333333*Sigh...*^000000 I haven't gotten any response from them. I don't know";
|
|
@@ -2614,7 +2618,7 @@ aldebaran,66,213,0 script Lady#megin 69,{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- else if(god_megin_4 > 1) {
|
|
|
+ else if (god_megin_4 > 1) {
|
|
|
mes "[Emma Searth]";
|
|
|
mes "^0000FFJack O, The Nineball, Zan.Huadoku, Cuaque Donon, Egnigem.^000000 Oh, I really miss those guys...";
|
|
|
close;
|
|
@@ -2702,7 +2706,7 @@ aldebaran,66,213,0 script Lady#megin 69,{
|
|
|
}
|
|
|
|
|
|
cmd_in02,190,94,3 script Man#megin 828,{
|
|
|
- if ($God1 > 49 && $God2 < 100) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
if (god_eremes == 18) {
|
|
|
mes "[Royal Myst]";
|
|
|
mes "Wha...?";
|
|
@@ -2755,7 +2759,7 @@ cmd_in02,190,94,3 script Man#megin 828,{
|
|
|
mes "which one do I bet on...?";
|
|
|
next;
|
|
|
}
|
|
|
- else if(god_megin_6 > 0) {
|
|
|
+ else if (god_megin_6 > 0) {
|
|
|
mes "[Royal Myst]";
|
|
|
mes "Hmm?";
|
|
|
mes "What's up?";
|
|
@@ -2906,7 +2910,7 @@ cmd_in02,190,94,3 script Man#megin 828,{
|
|
|
}
|
|
|
|
|
|
jawaii_in,44,110,0 script Security Officer#megin 734,{
|
|
|
- if ($God1 > 49 && $God2 < 100) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
if (god_eremes == 18) {
|
|
|
mes "[The Nineball]";
|
|
|
mes "Welcome to Jawaii,";
|
|
@@ -2964,7 +2968,7 @@ jawaii_in,44,110,0 script Security Officer#megin 734,{
|
|
|
}
|
|
|
|
|
|
niflheim,109,254,0 script Egnigem 796,{
|
|
|
- if ($God1 > 49 && $God2 < 100) {
|
|
|
+ if ($God1 >= $@god_check1 && $God2 < $@god_check2) {
|
|
|
if (god_eremes > 19 && god_eremes < 25) {
|
|
|
if (god_eremes > 22) {
|
|
|
mes "[Egnigem]";
|