summaryrefslogtreecommitdiff
path: root/npc/quests/seals/megingard_seal.txt
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2013-10-24 09:27:15 -0700
committershennetsind <shennetsind@users.noreply.github.com>2013-10-24 09:27:15 -0700
commit418dd821c91ae19723a7b7b531e64b9c4565d555 (patch)
treeb361a1823a08e654e5969dcdea97da05f4f7cd90 /npc/quests/seals/megingard_seal.txt
parent835d55b07858202198564bc6c2ff0888a7f78d31 (diff)
parente3afdc2af4c5e50c79237ee092e25f39b7428e47 (diff)
downloadhercules-418dd821c91ae19723a7b7b531e64b9c4565d555.tar.gz
hercules-418dd821c91ae19723a7b7b531e64b9c4565d555.tar.bz2
hercules-418dd821c91ae19723a7b7b531e64b9c4565d555.tar.xz
hercules-418dd821c91ae19723a7b7b531e64b9c4565d555.zip
Merge pull request #201 from Michieru/master
Super-Mega Thanks to Michieru! NPC Changelog (might be incomplete, did my best) - npc/battleground/bg_common.txt -- 1.4 Added GM management function. [Euphy] - npc/battleground/flavius/flavius01.txt -- 1.4 Label standardization. [Euphy] -- 1.5 Added GM management function. [Euphy] - npc/battleground/flavius/flavius02.txt -- 1.5 Label standardization. [Euphy] -- 1.6 Added GM management function. [Euphy] - npc/battleground/tierra/tierra01.txt -- 1.4 Label standardization. [Euphy] -- 1.5 Added GM management function. [Euphy] - npc/battleground/tierra/tierra02.txt -- 1.3 Label standardization. [Euphy] -- 1.4 Added GM management function. [Euphy] - npc/cities/ayothaya.txt -- 1.9 Updated Renewal warp coordinates. - npc/cities/izlude.txt -- 1.9a A part of Kylick's dialogue is Pre-Renewal only. [Euphy] - npc/cities/yuno.txt -- 1.5 Added Renewal coordinates for Payon and Izlude. [Euphy] - npc/events/bossnia.txt -- 1.2 Moved spawns and warps (by Masao) to this file. [Euphy] - npc/events/easter_2010.txt -- 1.0 First version. [Euphy] - npc/events/gdevent_aru.txt -- 1.2 Added GM management function. [Euphy] - npc/events/gdevent_sch.txt -- 1.2 Added GM management function. [Euphy] - npc/events/god_se_festival.txt -- 1.1 Added GM management function. [Euphy] - npc/jobs/2-2/rogue.txt -- impossible get a Gladius [3]. (bugreport:481) [Samuray22] - npc/jobs/2-2e/SoulLinker.txt -- 1.6 Updated to match the latest official script. [Euphy] - npc/kafras/kafras.txt -- 1.1a Fixed Pre-RE Call and some leftovers. [Lemongrass] -- 1.1b Enabled saving in Izlude duplicates (RE). [Euphy] - npc/merchants/alchemist.txt -- 1.8 Moved Craft Book Merchant to Renewal path. [Euphy] - npc/mobs/citycleaners.txt -- 1.2 Split spawns into Pre-RE/RE and Town files. [Euphy] - npc/mobs/towns.txt -- 1.0 First version. - npc/other/Global_Functions.txt -- 2.17 Renamed 'F_RandMes' to 'F_Rand'. [Euphy] -- 2.18 Removed useless 'getJobName' function. [Euphy] - npc/other/acolyte_warp.txt -- 1.0 First version. [Euphy] - npc/other/arena/arena_aco.txt -- 1.3 Label standardization. [Euphy] -- 1.4 Script updates, and removed two level restrictions. [Euphy] -- 1.5 Added GM management function. [Euphy] - npc/other/arena/arena_lvl50.txt -- 1.2 Label standardization. [Euphy] -- 1.3 Script updates. [Euphy] - npc/other/arena/arena_lvl60.txt -- 1.3 Label standardization. [Euphy] -- 1.4 Script updates. [Euphy] - npc/other/arena/arena_lvl70.txt -- 1.2 Label standardization. [Euphy] -- 1.3 Script updates. [Euphy] - npc/other/arena/arena_lvl80.txt -- 1.2 Label standardization. [Euphy] -- 1.3 Script updates, and removed a level restriction. [Euphy] - npc/other/arena/arena_party.txt -- 1.4 Label standardization and bug fixes. [Euphy] -- 1.5 Script updates, and removed a level restriction. [Euphy] - npc/other/arena/arena_room.txt -- 1.2 Label standardization, disabled GM NPCs. [Euphy] -- 1.2a Added Renewal level checksk. [Euphy] -- 1.3 Script updates. [Euphy] -- 1.4 Added GM management function. [Euphy] - npc/other/hugel_bingo.txt -- 1.9 Some optimization/standardization. [Euphy] - npc/other/marriage.txt -- 1.3 Changed permanent global variables to temporary ones. [Euphy] -- 1.4 Added GM management function. [Euphy] - npc/other/pvp.txt -- 2.4 Fixed incorrect use of 'close' and some cleaning. [Joseph] -- 2.5 Renewal/Pre-Renewal split. [Euphy] - npc/other/turbo_track.txt -- 1.1 Updated RE/Pre-RE EXP. [Euphy] -- 1.2 Added Renewal features. [Euphy] - npc/pre-re/cities/yuno.txt -- 1.0 First version. - npc/pre-re/kafras/kafras.txt -- 1.0 First version. - npc/pre-re/merchants/ammo_boxes.txt -- 1.0 First version, Pre-Renewal duplicates. - npc/pre-re/merchants/ammo_dealer.txt -- 1.0 First version, Pre-Renewal duplicates. - npc/pre-re/merchants/shops.txt -- 1.1 Moved Izlude shops to pre-re/re paths. [Streusel] - npc/pre-re/mobs/citycleaners.txt -- 1.0 First version, Pre-Renewal spawns. - npc/pre-re/other/bulletin_boards.txt -- 1.0 Moved Izlude NPCs to Pre-RE/RE paths. - npc/pre-re/other/msg_boards.txt -- 1.0 Moved Izlude NPCs to Pre-RE path. - npc/pre-re/other/pvp.txt -- 1.0 First version, Pre-Renewal. - npc/pre-re/other/resetskill.txt -- 1.0 First version. [L0ne_W0lf] - npc/pre-re/other/turbo_track.txt -- 1.0 Split Peco Peco Manager NPC. - npc/pre-re/quests/first_class/tu_archer.txt -- 1.0 First version. [Euphy] - npc/pre-re/quests/monstertamers.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. - npc/pre-re/quests/quests_13_1.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. [Euphy] - npc/pre-re/quests/quests_nameless.txt -- 1.0 Moved Dorian to pre-re/re paths. - npc/pre-re/quests/quests_veins.txt -- 1.0 First version. - npc/pre-re/warps/other/arena.txt -- 1.0 First version, Pre-Renewal warps. - npc/quests/dandelion_request.txt -- 1.3 Added GM management function. [Euphy] - npc/quests/eye_of_hellion.txt -- 2.0 Updated EXP rewards. -- 2.1 Updated RE/Pre-RE EXP. [Euphy] - npc/quests/first_class/tu_archer.txt -- 1.1 optimized [Lupus] -- 1.2 fixed Weight check - npc/quests/first_class/tu_magician01.txt -- 1.4 Updated to match the official script. [Euphy] - npc/quests/first_class/tu_merchant.txt -- 1.1 Fixed bugs, optimized [Lupus] -- 1.2 fixed Weight check - npc/quests/first_class/tu_sword.txt -- 1.5 Added Renewal Izlude coordinates. -- 1.6 Added Pre-Renewal support. [Euphy] - npc/quests/first_class/tu_thief01.txt -- 1.5 Added Pre-Renewal support. [Euphy] - npc/quests/mage_solution.txt -- 1.0 Split from Pre-Renewal Mage job quest. [Zopokx] - npc/quests/okolnir.txt -- 1.1 Some bug fixes. [Toshiro90/Euphy] - npc/quests/partyrelay.txt -- 1.2 Updated RE/Pre-RE EXP. [Euphy] - npc/quests/quests_13_1.txt -- 3.1 Updated RE/Pre-RE EXP. [Euphy] -- 3.2 Updated ep13_start and dialog to match official script. [Joseph] -- 3.3 Updated to match the latest official script. [Euphy] -- 3.3a Added Izlude RE coordinates. [Euphy] -- 3.4 Added GM management function and NPC. [Euphy] - npc/quests/quests_alberta.txt -- 2.6 Updated RE/Pre-RE EXP. [Euphy] - npc/quests/quests_amatsu.txt -- 1.5 Added questlog support. [Euphy] - npc/quests/quests_geffen.txt -- 1.5 Added Number Match Game. [Euphy] - npc/quests/quests_juperos.txt -- 1.8 Updated RE/Pre-RE EXP. [Euphy] -- 1.9 Added GM management NPC. [Euphy] - npc/quests/quests_niflheim.txt -- Updated to Aegis 10.3 Standed, added Message Delivery Quest. -- 1.6 Added questlog support. [Euphy] - npc/quests/quests_veins.txt -- Added Veins Thor Volcano Base Quest NPC. [L0ne_W0lf] - npc/quests/seals/god_global.txt -- 1.2 Renewal script update. [Euphy] - npc/quests/seals/god_weapon_creation.txt -- 1.3 Renewal script update. [Euphy] - npc/quests/seals/seal_status.txt -- 1.0 Translated from the official. [L0ne_W0lf] -- 1.1 Now checks proper char vars. [L0ne_W0lf] -- 1.2 Cleaning. [Euphy] -- 1.3 Renewal script update. [Euphy] - npc/quests/seals/sleipnir_seal.txt -- 1.4 Renewal script update. [Euphy] - npc/quests/skills/novice_skills.txt -- 1.8 Added Baby support. [Zopokx] - npc/quests/skills/rogue_skills.txt -- 1.8 Some cleaning. [Euphy] - npc/quests/skills/sage_skills.txt -- 1.5 Optimized. [Euphy] - npc/re/airports/izlude.txt -- 1.0 Updated to match the new Izlude Map. [Masao] -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/cities/dicastes.txt -- 1.3 Updated to match official script. [SkittleNugget] - npc/re/cities/izlude.txt -- 1.1 Updated to match the official script. [Euphy] -- 1.2 Added Channel Warper and Izlude duplicates. [Euphy] - npc/re/cities/jawaii.txt -- 1.1 Moved "Honeymoon Helper" NPC. -- 1.2 Added Izlude duplicates. [Euphy] - npc/re/cities/malangdo.txt -- 1.2 Moved "Odgnalam" coordinates. -- 1.3 Fixed dialogues. -- 1.4 Dialogue edits, source iRO. -- 1.5 Added Izlude duplicates. - npc/re/cities/malaya.txt -- 0.1 Alberta sailors only. [Euphy] -- 0.2 Adapted from Masao's conversion. -- 1.0 Added remaining NPCs. - npc/re/cities/yuno.txt -- 1.0 First version. - npc/re/guides/guides_alberta.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_aldebaran.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_amatsu.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_ayothaya.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_brasilis.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_comodo.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_dewata.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_dicastes.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_einbroch.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_geffen.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_gonryun.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_hugel.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_izlude.txt -- 1.2 Added Renewal Izlude viewpoint coordinates. -- 1.3 Navigation system update. [Euphy] -- 1.4 Added Izlude duplicates. [Euphy] - npc/re/guides/guides_juno.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_lighthalzen.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_louyang.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_lutie.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_malaya.txt -- 1.0 First version. [Euphy] -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_mora.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_morroc.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_moscovia.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_niflheim.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_payon.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_prontera.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_rachel.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_umbala.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_veins.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/navigation.txt -- 1.0 First version. - npc/re/guild/invest_main.txt -- 1.1 Added GM management function. [Euphy] - npc/re/jobs/3-1/guillotine_cross.txt -- 1.4 Added missing labels. [Joseph] -- 1.5 Added GM management function. [Euphy] - npc/re/jobs/3-2/royal_guard.txt -- 1.2 Added GM management function. [Euphy] - npc/re/jobs/3-2/sura.txt -- 1.3 Added GM management function. [Euphy] - npc/re/jobs/novice/novice.txt -- 1.0 First version, hand scripted from iRO. [Kisuka] -- 1.5 Replaced with the official kRO scripts. [Euphy] - npc/re/jobs/repair.txt -- 1.0 First version. -- 1.1 Added GM management function. [Euphy] - npc/re/kafras/kafras.txt -- 1.2 Added Port Malaya Kafras. [Euphy] -- 1.3 Added Eden Group Kafra. [Euphy] -- 1.3a Moved Rune Knight Kafra from job file. [Euphy] -- 1.4 Added Izlude duplicates. [Euphy] - npc/re/merchants/3rd_trader.txt -- 1.3 Added Malangdo/Mora Points NPC. [Euphy] -- 1.4 Updated to match the official scripts. [Euphy] -- 1.5 Added Izlude duplicates. [Euphy] - npc/re/merchants/advanced_refiner.txt -- 1.0 Added Malangdo Refiner "Holink". [Euphy] - npc/re/merchants/alchemist.txt -- 1.0 Split Geneticist shop from main file. [Euphy] - npc/re/merchants/ammo_boxes.txt -- 1.0 First version, Renewal duplicates. -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/merchants/ammo_dealer.txt -- 1.0 First version, Renewal duplicates. -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/merchants/card_separation.txt -- 1.1 Added "Richard" NPC. [Euphy] - npc/re/merchants/enchan_mora.txt -- 1.2 Bug fixes (bugreport:7930) [DeadlySilence] - npc/re/merchants/enchan_upg.txt -- 1.0 First version. -- 1.1 Standardizing, grammar and bug fixes. [Euphy] - npc/re/merchants/flute.txt -- 1.2a Fixed some conditions. [Euphy] - npc/re/merchants/renters.txt -- 2.2 Updated to match the official scripts. [Euphy] - npc/re/merchants/shops.txt -- 1.7 Added Izlude duplicates. [Euphy] - npc/re/mobs/citycleaners.txt -- 1.0 First version, Renewal spawns. - npc/re/mobs/dungeons/ecl_tdun.txt -- 1.0 First version. [Euphy] - npc/re/mobs/dungeons/mal_dun.txt -- 1.2 Added Pouring spawn, source iRO. [Euphy] - npc/re/mobs/fields/eclage.txt -- 1.0 First version. [Euphy] - npc/re/mobs/towns.txt -- 1.0 First version, Renewal spawns. - npc/re/other/bulletin_boards.txt -- 1.0 Moved Izlude NPCs to Pre-RE/RE paths. - npc/re/other/item_merge.txt -- 1.0 First version, currently useless/disabled. - npc/re/other/mail.txt -- 1.0 First version, Renewal duplicates. - npc/re/other/mercenary_rent.txt -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/other/pvp.txt -- 1.0 First version, Renewal. - npc/re/other/resetskill.txt -- 1.0 First version, Renewal script. -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/other/stone_change.txt -- 1.0 First version. - npc/re/other/turbo_track.txt -- 1.0 Split Mount Manager NPC. - npc/re/quests/eden/71-85.txt -- 1.3 Updated to match the official scripts. [Euphy] - npc/re/quests/eden/eden_iro.txt -- 1.0 First version. -- 1.1 Edited and added more NPCs, lots of placeholders. [Euphy] - npc/re/quests/eden/eden_quests.txt -- 1.5 Added GM management function. [Euphy] - npc/re/quests/first_class/tu_archer.txt -- 1.0 First version. [Euphy] - npc/re/quests/homun_s.txt -- Genetic quest to mutate a level 99 evolved Homunculus -- 1.0 First Version, entirely custom. [Masao] - npc/re/quests/magic_books.txt -- 1.1 Optimized. [Euphy] -- 1.1a Updated NPC name to "Master Velofos". [Euphy] - npc/re/quests/monstertamers.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. - npc/re/quests/mrsmile.txt -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_13_1.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. [Euphy] -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_izlude.txt -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_lighthalzen.txt -- 1.2 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_malangdo.txt -- 1.4a Dialogue edits, source iRO. -- 1.5 Added Cat Gamers. -- 1.6 Added GM management function. - npc/re/quests/quests_malaya.txt -- 0.4 Added "Cautious Village" and subsequent quests [DeadlySilence] -- 0.5 Added "Bakonawa Extermination" quest. [Euphy] -- 1.0 Added "Nurse in Port Malaya" and "Pintados Festival" quests. [Euphy] -- 1.1 Added GM management function and NPC. [Euphy] - npc/re/quests/quests_mora.txt -- 1.1 Added GM management function and NPCs. [Euphy] - npc/re/quests/quests_morocc.txt -- 1.1 Added new warpers for Satan Morroc maps. [Euphy] - npc/re/quests/quests_nameless.txt -- 1.0 Moved Dorian to pre-re/re paths. - npc/re/warps/cities/eclage.txt -- 1.0a Disabled quest warp. [Euphy] - npc/re/warps/cities/izlude.txt -- 1.7 Updated to match the official scripts. [Euphy] -- 1.8 Added Izlude & Prontera Field 8 duplicates. [Euphy] - npc/re/warps/cities/malaya.txt -- 1.1 Updated to match official scripts. [Masao] -- 1.2 Added official Jeepney warp scripts. [Euphy] - npc/re/warps/fields/prontera_fild.txt -- 1.3a Moved Izlude warp to other file. [Euphy] -- 1.4 Commented moc_fild20 warps replaced with new NPCs. [Euphy] -- 1.5 Added Prontera Field 8 duplicates. [Euphy] - npc/re/warps/other/arena.txt -- 1.0 First version, Renewal warps. - npc/re/warps/other/jobquests.txt -- 2.3 Added exit warps (job_exit) for 2nd class quests. [Euphy] - npc/warps/fields/glastheim.txt -- 1.5 Fixed random warp coordinates. [Euphy] - npc/warps/other/arena.txt -- 1.3 Split Izlude warps into Pre-Renewal/Renewal paths. [Euphy] -- 1.4 Added GM management function. [Euphy]
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) {