summaryrefslogtreecommitdiff
path: root/npc/quests/seals/megingard_seal.txt
diff options
context:
space:
mode:
authorMichieru <michieru@0-mail.com>2013-10-24 12:10:43 +0200
committerMichieru <michieru@0-mail.com>2013-10-24 12:10:43 +0200
commite3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch)
tree20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/quests/seals/megingard_seal.txt
parent491892212d338903179909b89a5bfc2385e52261 (diff)
downloadhercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip
Update to last rAthena npc.
Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/quests/seals/megingard_seal.txt')
-rw-r--r--npc/quests/seals/megingard_seal.txt324
1 files changed, 195 insertions, 129 deletions
diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt
index 4f210710b..933afb4b0 100644
--- a/npc/quests/seals/megingard_seal.txt
+++ b/npc/quests/seals/megingard_seal.txt
@@ -1,10 +1,10 @@
//===== Hercules Script ======================================
-//= Megingjard seal unlocking NPCs.
-//===== By: ==================================================
+//= God Item Quest - Megingjard Seal
+//===== By: ==================================================
//= SinSloth
-//===== Current Version: =====================================
-//= 1.9
-//===== Description: =========================================
+//===== Current Version: =====================================
+//= 2.2
+//===== Description: =========================================
//= Quest for breaking the seal of Megingjard.
//===== Additional Comments: =================================
//= 1.0 First version. Thanks to SinSloth for scripting it. [MasterOfMuppets]
@@ -17,9 +17,16 @@
//= 1.7 Replaced effect numerics with constants. [Samuray22]
//= 1.8 Corrected how exp reward is applied. [L0ne_W0lf]
//= 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]";
@@ -50,7 +57,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";
@@ -136,9 +143,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;
@@ -260,8 +267,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.";
@@ -357,7 +364,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";
@@ -378,8 +385,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?";
@@ -417,7 +424,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";
@@ -465,7 +472,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";
@@ -495,7 +502,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.";
@@ -530,8 +537,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.";
@@ -554,24 +561,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;
@@ -609,13 +616,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;
@@ -625,18 +632,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";
@@ -646,11 +648,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;
@@ -661,7 +663,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";
@@ -678,12 +680,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;
@@ -694,7 +696,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";
@@ -711,11 +713,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;
@@ -726,7 +728,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";
@@ -743,12 +745,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;
@@ -759,7 +761,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";
@@ -776,8 +778,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";
@@ -800,8 +802,8 @@ prt_in,172,106,0 script Librarian#megin 833,{
mes "[Librarian Jekan]";
mes "Darn it...!";
mes "I can't read anything when the light is this dim! It's bad enough my eyes have gone bad...";
- next;
while(1) {
+ next;
switch(select("You have bad eyes?:I want to read some documents.:Let me help you find those files...:What kind of files are you looking for?")) {
case 1:
mes "[Librarian Jekan]";
@@ -809,7 +811,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...";
@@ -825,14 +827,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;
@@ -850,7 +852,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...";
@@ -861,7 +863,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";
@@ -894,7 +896,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.";
@@ -910,7 +912,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...!";
@@ -954,7 +956,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;
@@ -999,8 +1001,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;
@@ -1015,7 +1017,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!";
@@ -1056,8 +1058,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.";
@@ -1100,8 +1102,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...";
}
@@ -1112,7 +1114,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;
@@ -1121,7 +1123,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?";
@@ -1206,7 +1208,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";
@@ -1214,13 +1216,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;
@@ -1298,28 +1300,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,";
@@ -1331,12 +1333,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";
@@ -1348,7 +1350,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";
@@ -1360,7 +1362,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";
@@ -1371,7 +1373,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";
@@ -1383,7 +1385,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";
@@ -1394,7 +1396,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";
@@ -1534,8 +1536,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.";
@@ -1550,7 +1552,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;
@@ -1560,7 +1562,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;
@@ -1594,7 +1596,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;
@@ -1614,7 +1616,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...";
@@ -1629,7 +1631,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;
@@ -1665,7 +1667,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;
@@ -1684,7 +1686,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 "...";
@@ -1708,7 +1710,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;
@@ -1788,8 +1790,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;
@@ -1812,7 +1814,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";
@@ -1826,7 +1828,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";
@@ -1863,7 +1865,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";
@@ -1954,7 +1956,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.";
@@ -1993,8 +1995,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";
@@ -2003,8 +2005,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";
@@ -2018,31 +2020,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 {
@@ -2262,8 +2264,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.";
@@ -2453,14 +2455,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";
@@ -2610,7 +2616,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;
@@ -2646,7 +2652,27 @@ aldebaran,66,213,0 script Lady#megin 69,{
mes "I really appreciate you coming here to talk to me about the old days. I, I want you to have this.";
set god_eremes,28;
getitem 603,1; // Old_Blue_Box
- getexp 122036,0;
+ if (checkre(3)) {
+ if (BaseLevel < 56) getexp 2700,0;
+ else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0;
+ else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 5605,0;
+ else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 8223,0;
+ else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 21227,0;
+ else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 39073,0;
+ else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 45102,0;
+ else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 54615,0;
+ else getexp 122035,0;
+ } else {
+ if (BaseLevel < 56) getexp 27000,0;
+ else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 30000,0;
+ else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 56052,0;
+ else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 82233,0;
+ else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 212271,0;
+ else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 390738,0;
+ else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 451020,0;
+ else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 546156,0;
+ else getexp 1220358,0;
+ }
close;
}
else if (god_eremes == 28) {
@@ -2678,7 +2704,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...?";
@@ -2731,7 +2757,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?";
@@ -2882,7 +2908,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,";
@@ -2940,7 +2966,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]";
@@ -3165,7 +3191,27 @@ niflheim,109,254,0 script Egnigem 796,{
specialeffect EF_LOCKON;
specialeffect2 EF_HOLYCROSS;
set god_eremes,27;
- getexp 122036,0;
+ if (checkre(3)) {
+ if (BaseLevel < 56) getexp 2700,0;
+ else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0;
+ else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 5605,0;
+ else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 8223,0;
+ else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 21227,0;
+ else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 39073,0;
+ else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 45102,0;
+ else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 54615,0;
+ else getexp 122035,0;
+ } else {
+ if (BaseLevel < 56) getexp 27000,0;
+ else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 30000,0;
+ else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 56052,0;
+ else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 82233,0;
+ else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 212271,0;
+ else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 390738,0;
+ else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 451020,0;
+ else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 546156,0;
+ else getexp 1220358,0;
+ }
close;
}
else if (god_eremes == 26) {
@@ -3203,7 +3249,27 @@ niflheim,109,254,0 script Egnigem 796,{
specialeffect EF_LOCKON;
specialeffect2 EF_HOLYCROSS;
set god_eremes,27;
- getexp 122036,0;
+ if (checkre(3)) {
+ if (BaseLevel < 56) getexp 2700,0;
+ else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0;
+ else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 5605,0;
+ else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 8223,0;
+ else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 21227,0;
+ else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 39073,0;
+ else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 45102,0;
+ else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 54615,0;
+ else getexp 122035,0;
+ } else {
+ if (BaseLevel < 56) getexp 27000,0;
+ else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 30000,0;
+ else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 56052,0;
+ else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 82233,0;
+ else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 212271,0;
+ else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 390738,0;
+ else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 451020,0;
+ else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 546156,0;
+ else getexp 1220358,0;
+ }
close;
}
else if (god_eremes < 20) {