summaryrefslogtreecommitdiff
path: root/npc/quests/seals/mjolnir_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/mjolnir_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/mjolnir_seal.txt')
-rw-r--r--npc/quests/seals/mjolnir_seal.txt302
1 files changed, 149 insertions, 153 deletions
diff --git a/npc/quests/seals/mjolnir_seal.txt b/npc/quests/seals/mjolnir_seal.txt
index 5c796c3b8..d2e7ba1ca 100644
--- a/npc/quests/seals/mjolnir_seal.txt
+++ b/npc/quests/seals/mjolnir_seal.txt
@@ -1,12 +1,10 @@
-//===== rAthena Script =======================================
-//= Mjolnir seal unlocking NPCs.
-//===== By: ==================================================
+//===== Hercules Script ======================================
+//= God Item Quest - Mjolnir Seal
+//===== By: ==================================================
//= SinSloth
-//===== Current Version: =====================================
-//= 1.8a
-//===== Compatible With: =====================================
-//= rAthena
-//===== Description: =========================================
+//===== Current Version: =====================================
+//= 1.9
+//===== Description: =========================================
//= Quest for breaking the seal of Mjolnir.
//===== Additional Comments: =================================
//= 1.0 First version. Thanks to SinSloth for scripting it. [MasterOfMuppets]
@@ -21,10 +19,15 @@
//= 1.7 Fixed a copy/paste error in Nordri. [L0ne_W0lf]
//= 1.8 Fixed item check for Oridecon. [L0ne_W0lf]
//= 1.8a Added 'disable_items' command. [Euphy]
+//= 1.9 Renewal script update. [Euphy]
//============================================================
prontera,124,297,3 script Tialfi 706,{
- if ($God3 < 50) {
+ if (checkweight(1301,3) == 0) {
+ mes "- You are carrying too many items! -";
+ close;
+ }
+ if ($God3 < $@god_check1) {
cutin "god_tialpi01",2;
mes "[Tialfi]";
mes "Hmmm...";
@@ -36,12 +39,12 @@ prontera,124,297,3 script Tialfi 706,{
mes "going on!";
}
else {
- if(god_mjo_0 == 11) {
+ if (god_mjo_0 == 11) {
cutin "god_tialpi01",2;
mes "[Tialfi]";
mes "I'm waiting for the day when I'll finally get to see Thor's thunder for myself. I believe that one of these days, my dream will become reality.";
}
- else if(god_mjo_1 == 2 && god_mjo_2 == 2 && god_mjo_3 == 2 && god_mjo_4 == 2) {
+ else if (god_mjo_1 == 2 && god_mjo_2 == 2 && god_mjo_3 == 2 && god_mjo_4 == 2) {
if (god_mjo_0 == 10) {
if ((countitem(756) > 49) && (countitem(757) > 49)) {
set .@gift,0;
@@ -63,7 +66,7 @@ prontera,124,297,3 script Tialfi 706,{
else if (BaseJob == Job_Assassin){
set .@gift,6;
}
- else if(BaseJob == Job_Crusader){
+ else if (BaseJob == Job_Crusader){
set .@gift,7;
}
else if (BaseJob == Job_Monk){
@@ -81,7 +84,7 @@ prontera,124,297,3 script Tialfi 706,{
else if (BaseJob == Job_Bard){
set .@gift,12;
}
- else if(BaseJob == Job_Hunter){
+ else if (BaseJob == Job_Hunter){
set .@gift,13;
}
else {
@@ -123,46 +126,46 @@ prontera,124,297,3 script Tialfi 706,{
mes "It must be around--Ah!";
mes "Here we are~";
next;
- delitem 756,50; //Oridecon_Stone
- delitem 757,50; //Elunium_Stone
+ delitem 756,50; //Oridecon_Stone
+ delitem 757,50; //Elunium_Stone
set god_mjo_0,11;
if (.@gift == 1) {
getitem 1471,1; // Hell_Fire
}
- else if(.@gift == 2) {
+ else if (.@gift == 2) {
getitem 1526,1; // Slash
}
- else if(.@gift == 3) {
+ else if (.@gift == 3) {
getitem 1231,1; // Bazerald
}
- else if(.@gift == 4) {
+ else if (.@gift == 4) {
getitem 1367,1; // Slaughter
}
- else if(.@gift == 5) {
+ else if (.@gift == 5) {
getitem 1722,1; // Balistar
}
- else if(.@gift == 6) {
+ else if (.@gift == 6) {
getitem 1230,1; // House_Auger
}
- else if(.@gift == 7) {
+ else if (.@gift == 7) {
getitem 1141,1; // Immaterial_Sword
}
- else if(.@gift == 8) {
+ else if (.@gift == 8) {
getitem 1813,1; // Kaiser_Knuckle
}
- else if(.@gift == 9) {
+ else if (.@gift == 9) {
getitem 1557,1; // Book_Of_The_Apocalypse
}
- else if(.@gift == 10) {
+ else if (.@gift == 10) {
getitem 1235,1; // Azoth
}
- else if(.@gift == 11) {
+ else if (.@gift == 11) {
getitem 1227,1; // Weeder_Knife
}
- else if(.@gift == 12) {
+ else if (.@gift == 12) {
getitem 1913,1; // Electronic_Guitar
}
- else if(.@gift == 13) {
+ else if (.@gift == 13) {
getitem 1963,1; // Rapture_Rose
}
else {
@@ -190,7 +193,7 @@ prontera,124,297,3 script Tialfi 706,{
}
}
else {
- if ($God4 > 99) {
+ if ($God4 >= $@god_check2) {
mes "[Tialfi]";
mes "I sense a strange energy growing more powerful somewhere on this continent...";
next;
@@ -203,14 +206,13 @@ prontera,124,297,3 script Tialfi 706,{
}
else {
set $God4,$God4 +1;
- if($God4 == 50) {
+ if ($God4 == $@god_check1)
announce "The 4th seal of [Mjolnir] has appeared.",bc_all;
- }
- else if($God4 == 100 && $God2 == 100 && $God3 == 100 && $God1 == 100) {
- announce "Four seals have been released at the same time with the seal of [Mjolnir].",bc_all;
- }
- else if($God4 == 100) {
- announce "The 4th seal of [Mjolnir] has been released.",bc_all;
+ else if ($God4 == $@god_check2) {
+ if ($God4 == $@god_check2 && $God2 == $@god_check2 && $God3 == $@god_check2 && $God1 == $@god_check2)
+ announce "Four seals have been released at the same time with the seal of [Mjolnir].",bc_all;
+ else
+ announce "The 4th seal of [Mjolnir] has been released.",bc_all;
}
set god_mjo_0,10;
mes "[Tialfi]";
@@ -237,7 +239,7 @@ prontera,124,297,3 script Tialfi 706,{
}
}
}
- else if(god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
+ else if (god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
mes "[Tialfi]";
mes "Hmm...";
mes "The Dwarven Blacksmiths";
@@ -260,7 +262,7 @@ prontera,124,297,3 script Tialfi 706,{
mes "You should be okay now.";
mes "By this time, they've probably forgotten the insult. But make sure you speak to my sister for advice first.";
}
- else if(god_mjo_0 == 2 || god_mjo_0 == 1) {
+ else if (god_mjo_0 == 2 || god_mjo_0 == 1) {
cutin "god_tialpi01",2;
mes "[Tialfi]";
mes "Sorry for the trouble.";
@@ -268,8 +270,8 @@ prontera,124,297,3 script Tialfi 706,{
mes "in finding the Dwarves!";
mes "Just... Don't insult them!";
}
- else if(god_mjo_0 == 0) {
- if($God4 > 99) {
+ else if (god_mjo_0 == 0) {
+ if ($God4 >= $@god_check2) {
cutin "god_tialpi01",2;
mes "[Tialfi]";
mes "I sense a strange energy growing more powerful somewhere on this continent...";
@@ -282,7 +284,7 @@ prontera,124,297,3 script Tialfi 706,{
mes "I think we'd better wait and see what's happening. Someone will deliver the news to us. Though, I am unsure of whether or not it will be good news or bad...";
close;
}
- else if(BaseLevel < 70) {
+ else if (BaseLevel < 70) {
cutin "god_tialpi02",2;
mes "[Tialfi]";
mes "One of my ancestors supposedly was a servant of Thor. Still, I find it difficult to believe.";
@@ -366,7 +368,7 @@ prontera,124,297,3 script Tialfi 706,{
}
prt_fild01,196,47,3 script Roskva 703,{
- if(god_mjo_0 == 1) {
+ if (god_mjo_0 == 1) {
mes "[Roskva]";
mes "You should know that Dwarven Blacksmiths are extremely offended if you do not speak to them with the utmost respect.";
next;
@@ -385,7 +387,7 @@ prt_fild01,196,47,3 script Roskva 703,{
mes "If you happen to speak to them in the wrong order, please go talk to my brother Tialfi again.";
close;
}
- else if(god_mjo_0 == 2) {
+ else if (god_mjo_0 == 2) {
mes "[Roskva]";
mes "You should know that Dwarven Blacksmiths are extremely offended if you do not speak to them with the utmost respect.";
next;
@@ -419,18 +421,18 @@ prt_fild01,196,47,3 script Roskva 703,{
}
mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
- if ($God3 < 50) {
+ if ($God3 < $@god_check1) {
mes "[Austri]";
mes "Something is happening somewhere on this continent. You might not believe me, but I keep getting visions of the Fenrir-Wolf.";
close;
}
else {
- if($God4 > 99) {
+ if ($God4 >= $@god_check2) {
mes "[Austri]";
mes "Something is happening somewhere on this continent. You might not believe me, but I keep getting visions of the Fenrir-Wolf.";
close;
}
- else if(god_mjo_0 == 11) {
+ else if (god_mjo_0 == 11) {
mes "[Austri]";
mes "When my people finally retrieve the memories of their past, we will be able to grant the power of the gods to humans.";
next;
@@ -439,19 +441,19 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
mes "time is coming...";
close;
}
- else if(god_mjo_0 == 10) {
+ else if (god_mjo_0 == 10) {
mes "[Austri]";
mes "Hm? I sense that you were asked to do a favor for that human. If I were you, I'd finish that task as soon as I could. Somehow, that human's fate, as well as that of the Dwarves, are intertwined...";
close;
}
- else if(god_mjo_0 == 1) {
+ else if (god_mjo_0 == 1) {
if (god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
mes "[Austri]";
mes "What is it?! I refuse to speak to human as rude and contemptible";
mes "as you! Now, get out of my sight!";
close;
}
- else if(god_mjo_1 == 2) {
+ else if (god_mjo_1 == 2) {
mes "[Austri]";
mes "What...?";
mes "I have nothing";
@@ -479,7 +481,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
close;
}
}
- else if(god_mjo_1 == 1) {
+ else if (god_mjo_1 == 1) {
mes "[Austri]";
mes "What has made";
mes "you come to me?";
@@ -509,7 +511,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 1) {
+ else if (.@talk_to == 1) {
mes "[Austri]";
mes "Mjolnir...?";
mes "Thor's legendary weapon?";
@@ -529,7 +531,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 2) {
+ else if (.@talk_to == 2) {
mes "[Austri]";
mes "One day, Loki came to our village and showed off his treasures. He boasted that we couldn't possibly create something to surpass their quality.";
next;
@@ -545,7 +547,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 3) {
+ else if (.@talk_to == 3) {
mes "[Austri]";
mes "Of the three treasures my ancestors created, Mjolnir was the last and greatest.";
next;
@@ -563,7 +565,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 4) {
+ else if (.@talk_to == 4) {
mes "[Austri]";
mes "Despite this minor flaw, Mjolnir is still considered the greatest of legendary weapons.";
next;
@@ -581,7 +583,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 5) {
+ else if (.@talk_to == 5) {
mes "[Austri]";
mes "The reason this mountain is called Mount Mjolnir is because it was actually created by the hammer.";
next;
@@ -601,7 +603,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 6) {
+ else if (.@talk_to == 6) {
mes "[Austri]";
mes "Hmm... But perhaps an ambitious dwarf can forge something similar to Mjolnir so that it can actually be used by humans. It would have less power, but it'd be perfectly crafted.";
next;
@@ -617,7 +619,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 7) {
+ else if (.@talk_to == 7) {
mes "[Austri]";
mes "Well, I happened to speak much longer than I intended. But I hope you learned what you wished to";
mes "know about Mjolnir.";
@@ -638,7 +640,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
break;
}
}
- else if(.@talk_to == 8) {
+ else if (.@talk_to == 8) {
set god_mjo_1,2;
mes "[Austri]";
mes "Alright then...";
@@ -670,7 +672,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
}
}
}
- else if(god_mjo_1 == 0) {
+ else if (god_mjo_1 == 0) {
mes "[Austri]";
mes "What has made";
mes "you come to me?";
@@ -704,21 +706,21 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
close;
}
}
- else if(god_mjo_0 == 2) {
- if(god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
+ else if (god_mjo_0 == 2) {
+ if (god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
mes "[Austri]";
mes "What is it?! I refuse to speak to human as rude and contemptible";
mes "as you! Now, get out of my sight!";
close;
}
- else if(god_mjo_4 == 2) {
+ else if (god_mjo_4 == 2) {
mes "[Austri]";
mes "What is it...?";
mes "I have nothing";
mes "to say to you.";
close;
}
- else if(god_mjo_1 == 0 || god_mjo_1 == 1 || god_mjo_2 == 0 || god_mjo_2 == 1 || god_mjo_3 == 0 || god_mjo_3 == 1) {
+ else if (god_mjo_1 == 0 || god_mjo_1 == 1 || god_mjo_2 == 0 || god_mjo_2 == 1 || god_mjo_3 == 0 || god_mjo_3 == 1) {
mes "[Austri]";
mes "What made you come to me?";
next;
@@ -735,7 +737,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
close;
}
}
- else if(god_mjo_4 == 1) {
+ else if (god_mjo_4 == 1) {
mes "[Austri]";
mes "What has made";
mes "you come to me?";
@@ -928,7 +930,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
}
}
}
- else if(god_mjo_4 == 0) {
+ else if (god_mjo_4 == 0) {
mes "[Austri]";
mes "What made you come to me?";
next;
@@ -961,7 +963,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
close;
}
}
- else if(god_mjo_0 == 0) {
+ else if (god_mjo_0 == 0) {
mes "[Austri]";
mes "Ah...";
mes "It feels like today's going to be a great day.";
@@ -979,7 +981,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 826,{
}
mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
- if ($God3 < 50) {
+ if ($God3 < $@god_check1) {
mes "[Sudri]";
mes "I want to compete";
mes "and fight with stronger and stronger opponents!";
@@ -989,7 +991,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
close;
}
else {
- if ($God4 > 99) {
+ if ($God4 >= $@god_check2) {
mes "[Sudri]";
mes "Wait, this is";
mes "not the right time";
@@ -999,7 +1001,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Something that has been hidden is about to be born out of the sweat of determination and tears of sacrifice. We must wait until then.";
close;
}
- else if(god_mjo_0 == 11) {
+ else if (god_mjo_0 == 11) {
mes "[Sudri]";
mes "I want to compete with a stronger one!";
mes "I will be stronger and stronger,";
@@ -1008,12 +1010,12 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Muhahahaha...!";
close;
}
- else if(god_mjo_10 == 10) {
+ else if (god_mjo_10 == 10) {
mes "[Sudri]";
mes "I must admit that you're a really strong human. Let us fight again when we have a chance. The next time, you may not be so lucky!";
close;
}
- else if(god_mjo_0 == 1) {
+ else if (god_mjo_0 == 1) {
if (god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
mes "[Sudri]";
mes "Go back to where you belong before I beat you to death!";
@@ -1022,13 +1024,13 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "All you can gain here are a few herbs.";
close;
}
- else if(god_mjo_2 == 2) {
+ else if (god_mjo_2 == 2) {
mes "[Sudri]";
mes "That was a great fight!";
mes "Mwahahaha! I'm satisfied with the results. I may have lost, but we fought honorably with everything we had.";
close;
}
- else if(god_mjo_1 == 0 || god_mjo_1 == 1 || god_mjo_3 != 0 || god_mjo_4 != 0) {
+ else if (god_mjo_1 == 0 || god_mjo_1 == 1 || god_mjo_3 != 0 || god_mjo_4 != 0) {
mes "[Sudri]";
mes "So...";
mes "What brings";
@@ -1054,7 +1056,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
close;
}
}
- else if(god_mjo_2 == 1) {
+ else if (god_mjo_2 == 1) {
set .@n_vit,200;
set .@p_vit,100;
while(1) {
@@ -1088,15 +1090,15 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "" + strcharinfo(0) + "";
mes "attacks Sudri's head!";
}
- else if(.@p_atk == 2) {
+ else if (.@p_atk == 2) {
mes "" + strcharinfo(0) + "";
mes "strikes Sudri's chest!";
}
- else if(.@p_atk == 3) {
+ else if (.@p_atk == 3) {
mes "" + strcharinfo(0) + "";
mes "aims for Sudri's legs!";
}
- else if(.@p_atk == 4) {
+ else if (.@p_atk == 4) {
mes "" + strcharinfo(0) + "";
mes "requests a break!";
}
@@ -1114,7 +1116,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " misses!";
}
- else if(.@n_def == 2) {
+ else if (.@n_def == 2) {
mes "--------------------";
mes "Sudri blocks your";
mes "attack by crossing";
@@ -1122,7 +1124,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + "'s attack is blocked!";
}
- else if(.@n_def == 3) {
+ else if (.@n_def == 3) {
mes "--------------------";
mes "Sudri dodges your";
mes "attack with a graceful";
@@ -1131,14 +1133,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "" + strcharinfo(0) + " misses!";
}
}
- else if(.@p_atk == 4) {
+ else if (.@p_atk == 4) {
specialeffect2 EF_HEAL;
set .@p_vit,.@p_vit + 10;
mes "--------------------";
mes "" + strcharinfo(0) + "";
mes "has gained 10 HP!";
}
- else if(.@p_atk == 1) {
+ else if (.@p_atk == 1) {
specialeffect EF_HIT5;
set .@n_vit,.@n_vit - .@damage;
mes "--------------------";
@@ -1147,7 +1149,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "Sudri has lost " + .@damage + " HP!";
}
- else if(.@p_atk == 2) {
+ else if (.@p_atk == 2) {
specialeffect EF_HIT2;
set .@n_vit,.@n_vit - .@damage;
mes "--------------------";
@@ -1157,7 +1159,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Sudri has";
mes "lost " + .@damage + " HP!";
}
- else if(.@p_atk == 3) {
+ else if (.@p_atk == 3) {
specialeffect EF_HIT4;
set .@n_vit,.@n_vit - .@damage;
mes "--------------------";
@@ -1167,7 +1169,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Sudri has";
mes "lost " + .@damage + " HP!";
}
- else if(.@p_atk == 0) {
+ else if (.@p_atk == 0) {
specialeffect2 EF_HIT5;
set .@p_vit,.@p_vit - 10;
mes "--------------------";
@@ -1220,7 +1222,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
if (.@n_atk == 1) {
mes "Sudri aims for the head!";
}
- else if(.@n_atk == 2) {
+ else if (.@n_atk == 2) {
mes "Sudri strikes the chest!";
}
else {
@@ -1237,7 +1239,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "Sudri has failed to attack.";
}
- else if(.@p_def == 2) {
+ else if (.@p_def == 2) {
mes "--------------------";
mes "" + strcharinfo(0) + "";
mes "barely blocked";
@@ -1245,7 +1247,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "Sudri has failed to attack.";
}
- else if(.@p_def == 3) {
+ else if (.@p_def == 3) {
mes "--------------------";
mes "" + strcharinfo(0) + " jumped,";
mes "dodged Sudri's attack at ease.";
@@ -1253,7 +1255,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Sudri has failed to attack.";
}
}
- else if(.@p_def == 4) {
+ else if (.@p_def == 4) {
set .@count,rand(1,4);
mes "--------------------";
mes "" + strcharinfo(0) + "";
@@ -1282,7 +1284,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "" + strcharinfo(0) + " has lost 30 HP!";
}
}
- else if(.@n_atk == 1) {
+ else if (.@n_atk == 1) {
specialeffect2 EF_HIT5;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1292,7 +1294,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
}
- else if(.@n_atk == 2) {
+ else if (.@n_atk == 2) {
specialeffect2 EF_HIT2;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1302,7 +1304,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
}
- else if(.@n_atk == 3) {
+ else if (.@n_atk == 3) {
specialeffect2 EF_HIT4;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1312,7 +1314,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
}
- else if(.@n_atk == 0) {
+ else if (.@n_atk == 0) {
specialeffect2 EF_HIT5;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1346,7 +1348,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Go out, train some and get stronger before you even think about coming back!";
close;
}
- else if(.@n_vit < p_vit) {
+ else if (.@n_vit < p_vit) {
set god_mjo_2,2;
mes "[Sudri]";
mes "You're stronger than me. I never thought I'd meet a human as strong as you.";
@@ -1361,7 +1363,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
close;
}
}
- else if(god_mjo_2 == 0) {
+ else if (god_mjo_2 == 0) {
mes "[Sudri]";
mes "So...";
mes "What brings";
@@ -1422,14 +1424,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
close;
}
}
- else if(god_mjo_0 == 2) {
+ else if (god_mjo_0 == 2) {
if (god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
mes "[Sudri]";
mes "[Sudri]";
mes "Get out of here before I beat you to death! All you can gain over here is a few herbs, anyway!";
close;
}
- else if(god_mjo_3 == 2) {
+ else if (god_mjo_3 == 2) {
mes "[Sudri]";
mes "That was a great fight!";
mes "Hahahahahahahahahaah!";
@@ -1459,7 +1461,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
close;
}
}
- else if(god_mjo_3 == 1) {
+ else if (god_mjo_3 == 1) {
mes "[Sudri]";
mes "Cool, let's fight!";
next;
@@ -1496,15 +1498,15 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "" + strcharinfo(0) + "";
mes "attacks Sudri's head!";
}
- else if(.@p_atk == 2) {
+ else if (.@p_atk == 2) {
mes "" + strcharinfo(0) + "";
mes "strikes Sudri's chest!";
}
- else if(.@p_atk == 3) {
+ else if (.@p_atk == 3) {
mes "" + strcharinfo(0) + "";
mes "aims for Sudri's legs!";
}
- else if(.@p_atk == 4) {
+ else if (.@p_atk == 4) {
mes "" + strcharinfo(0) + "";
mes "requests a break!";
}
@@ -1522,7 +1524,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " misses!";
}
- else if(.@n_def == 2) {
+ else if (.@n_def == 2) {
mes "--------------------";
mes "Sudri blocks your";
mes "attack by crossing";
@@ -1530,7 +1532,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + "'s attack is blocked!";
}
- else if(.@n_def == 3) {
+ else if (.@n_def == 3) {
mes "--------------------";
mes "Sudri dodges your";
mes "attack with a graceful";
@@ -1539,14 +1541,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "" + strcharinfo(0) + " misses!";
}
}
- else if(.@p_atk == 4) {
+ else if (.@p_atk == 4) {
specialeffect2 EF_HEAL;
set .@p_vit,.@p_vit + 10;
mes "--------------------";
mes "" + strcharinfo(0) + "";
mes "has gained 10 HP!";
}
- else if(.@p_atk == 1) {
+ else if (.@p_atk == 1) {
specialeffect EF_HIT5;
set .@n_vit,.@n_vit - .@damage;
mes "--------------------";
@@ -1555,7 +1557,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "Sudri has lost " + .@damage + " HP!";
}
- else if(.@p_atk == 2) {
+ else if (.@p_atk == 2) {
specialeffect EF_HIT2;
set .@n_vit,.@n_vit - .@damage;
mes "--------------------";
@@ -1565,7 +1567,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Sudri has";
mes "lost " + .@damage + " HP!";
}
- else if(.@p_atk == 3) {
+ else if (.@p_atk == 3) {
specialeffect EF_HIT4;
set .@n_vit,.@n_vit - .@damage;
mes "--------------------";
@@ -1575,7 +1577,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Sudri has";
mes "lost " + .@damage + " HP!";
}
- else if(.@p_atk == 0) {
+ else if (.@p_atk == 0) {
specialeffect2 EF_HIT5;
set .@p_vit,.@p_vit - 10;
mes "--------------------";
@@ -1628,7 +1630,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
if (.@n_atk == 1) {
mes "Sudri aims for the head!";
}
- else if(.@n_atk == 2) {
+ else if (.@n_atk == 2) {
mes "Sudri strikes the chest!";
}
else {
@@ -1644,7 +1646,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "Sudri has failed to attack.";
}
- else if(.@p_def == 2) {
+ else if (.@p_def == 2) {
mes "--------------------";
mes "" + strcharinfo(0) + "";
mes "barely blocked";
@@ -1652,7 +1654,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "Sudri has failed to attack.";
}
- else if(.@p_def == 3) {
+ else if (.@p_def == 3) {
mes "--------------------";
mes "" + strcharinfo(0) + " jumped,";
mes "dodged Sudri's attack at ease.";
@@ -1660,7 +1662,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Sudri has failed to attack.";
}
}
- else if(.@p_def == 4) {
+ else if (.@p_def == 4) {
set .@count,rand(1,4);
mes "--------------------";
mes "" + strcharinfo(0) + "";
@@ -1689,7 +1691,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "" + strcharinfo(0) + " has lost 30 HP!";
}
}
- else if(.@n_atk == 1) {
+ else if (.@n_atk == 1) {
specialeffect2 EF_HIT5;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1699,7 +1701,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
}
- else if(.@n_atk == 2) {
+ else if (.@n_atk == 2) {
specialeffect2 EF_HIT2;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1709,7 +1711,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
}
- else if(.@n_atk == 3) {
+ else if (.@n_atk == 3) {
specialeffect2 EF_HIT4;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1719,7 +1721,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "--------------------";
mes "" + strcharinfo(0) + " has lost " + .@damage + " HP!";
}
- else if(.@n_atk == 0) {
+ else if (.@n_atk == 0) {
specialeffect2 EF_HIT5;
set .@p_vit,.@p_vit - .@damage;
mes "--------------------";
@@ -1753,7 +1755,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
mes "Go out, train some and get stronger before you even think about coming back!";
close;
}
- else if(.@n_vit < .@p_vit) {
+ else if (.@n_vit < .@p_vit) {
set god_mjo_3,2;
mes "[Sudri]";
mes "You're stronger than me. I never thought I'd meet a human as strong as you.";
@@ -1768,7 +1770,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
close;
}
}
- else if(god_mjo_3 == 0) {
+ else if (god_mjo_3 == 0) {
mes "[Sudri]";
mes "What made you come to me?";
next;
@@ -1829,7 +1831,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
close;
}
}
- else if(god_mjo_0 == 0) {
+ else if (god_mjo_0 == 0) {
mes "[Sudri]";
mes "In a one on one fight, you put everything on the line to show your might to your opponent.";
next;
@@ -1846,7 +1848,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 826,{
}
mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
- if($God3 < 50) {
+ if ($God3 < $@god_check1) {
mes "[Vestri]";
mes "If you want something, you should earn it through your own efforts.";
next;
@@ -1859,7 +1861,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
close;
}
else {
- if($God4 > 99) {
+ if ($God4 >= $@god_check2) {
mes "[Vestri]";
mes "I don't feel";
mes "like doing anything";
@@ -1872,7 +1874,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "Yeah, I think I need a break! Don't you think I need a break, human?";
close;
}
- else if(god_mjo_0 == 11) {
+ else if (god_mjo_0 == 11) {
mes "[Vestri]";
mes "There's nothing like taking a relaxing break after putting your heart into your work.";
next;
@@ -1882,7 +1884,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "of life's simple pleasures?";
close;
}
- else if(god_mjo_0 == 10) {
+ else if (god_mjo_0 == 10) {
mes "[Vestri]";
mes "If you want something, you should earn it through your own efforts.";
next;
@@ -1894,13 +1896,13 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "Kids these days...";
close;
}
- else if(god_mjo_0 == 1) {
- if(god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
+ else if (god_mjo_0 == 1) {
+ if (god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
mes "[Vestri]";
mes "I really hope I meet a decent human being next time. So far, I haven't met one useful human.";
close;
}
- else if(god_mjo_3 == 2) {
+ else if (god_mjo_3 == 2) {
mes "[Vestri]";
mes "Perfect preparation does not always result in success. There's a point when you've got to just go out and do it.";
next;
@@ -1912,7 +1914,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "plan to accomplish in life.";
close;
}
- else if(god_mjo_1 == 0 || god_mjo_1 == 1 || god_mjo_2 == 0 || god_mjo_2 == 1 || god_mjo_4 != 0) {
+ else if (god_mjo_1 == 0 || god_mjo_1 == 1 || god_mjo_2 == 0 || god_mjo_2 == 1 || god_mjo_4 != 0) {
mes "[Vestri]";
mes "What do you want?";
next;
@@ -1934,7 +1936,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
close;
}
}
- else if(god_mjo_3 == 1) {
+ else if (god_mjo_3 == 1) {
disable_items;
mes "[Vestri]";
mes "Great...!";
@@ -1943,11 +1945,9 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";
set .@menu$,"";
- for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
- {
- if( getequipisequiped(.@i) )
+ for(set .@i,1; .@i <= 10; set .@i,.@i+1) {
+ if (getequipisequiped(.@i))
set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";
-
set .@menu$, .@menu$ + ":";
}
set .@part,select(.@menu$);
@@ -2011,8 +2011,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "If you understand,";
mes "then let's get on with it!";
next;
- if( select("Sure, let's do it!:N-no, I changed my mind!") == 2 )
- {
+ if(select("Sure, let's do it!:N-no, I changed my mind!") == 2) {
mes "[Vestri]";
mes "Bah...!";
mes "How do you survive";
@@ -2076,7 +2075,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "Take care.";
close;
}
- else if(god_mjo_3 == 0) {
+ else if (god_mjo_3 == 0) {
mes "[Vestri]";
mes "What do you want?";
next;
@@ -2114,13 +2113,13 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
close;
}
}
- else if(god_mjo_0 == 2) {
+ else if (god_mjo_0 == 2) {
if (god_mjo_1 == 3 || god_mjo_2 == 3 || god_mjo_3 == 3 || god_mjo_4 == 3) {
mes "[Vestri]";
mes "I really hope I meet a decent human being next time. So far, I haven't met one useful human.";
close;
}
- else if(god_mjo_2 == 2) {
+ else if (god_mjo_2 == 2) {
mes "[Vestri]";
mes "Perfect preparation does not always result in success. There's a point when you've got to just go out and do it.";
next;
@@ -2155,7 +2154,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
close;
}
}
- else if(god_mjo_2 == 1) {
+ else if (god_mjo_2 == 1) {
disable_items;
mes "[Vestri]";
mes "Great...!";
@@ -2164,11 +2163,9 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";
set .@menu$,"";
- for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
- {
- if( getequipisequiped(.@i) )
+ for(set .@i,1; .@i <= 10; set .@i,.@i+1) {
+ if (getequipisequiped(.@i))
set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";
-
set .@menu$, .@menu$ + ":";
}
set .@part,select(.@menu$);
@@ -2227,8 +2224,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "If you understand,";
mes "then let's get on with it!";
next;
- if( select("Sure, let's do it!:...no, I am out.") == 2 )
- {
+ if(select("Sure, let's do it!:...no, I am out.") == 2) {
mes "[Vestri]";
mes "Bah...!";
mes "How do you survive";
@@ -2291,7 +2287,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
mes "Take care.";
close;
}
- else if(god_mjo_2 == 0) {
+ else if (god_mjo_2 == 0) {
mes "[Vestri]";
mes "What do you want?";
next;
@@ -2329,7 +2325,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
close;
}
}
- else if(god_mjo_0 == 0) {
+ else if (god_mjo_0 == 0) {
mes "[Vestri]";
mes "It's always a pleasure to engage myself in hard work, especially smithing.";
next;
@@ -2347,7 +2343,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 826,{
}
mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
- if ($God3 < 50) {
+ if ($God3 < $@god_check1) {
mes "[Nordri]";
mes "What...?";
mes "I don't have any";
@@ -2358,7 +2354,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
close;
}
else {
- if ($God4 > 99) {
+ if ($God4 >= $@god_check2) {
mes "[Nordri]";
mes "What's happening?";
mes "I sense change in the winds, but what that change may be, I cannot tell.";
@@ -2458,7 +2454,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
break;
}
}
- else if(.@talk_to == 1) {
+ else if (.@talk_to == 1) {
mes "[Nordri]";
mes "Yes, only a Blaze could have effortlessly consumed meat, bones and plates by burning. Of course!";
mes "I remember now!";
@@ -2478,7 +2474,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
break;
}
}
- else if(.@talk_to == 2) {
+ else if (.@talk_to == 2) {
mes "[Nordri]";
mes "Yes, right! Tialfi was racing 'thoughts!' Nothing can move faster than the speed of thought, so it's no wonder Tialfi would always lose.";
next;
@@ -2497,7 +2493,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
break;
}
}
- else if(.@talk_to == 3) {
+ else if (.@talk_to == 3) {
mes "[Nordri]";
mes "Yes, Thor was wrestling with 'Old Age!' No matter how strong anybody is, you can't fight against aging.";
next;
@@ -2544,7 +2540,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
close;
}
}
- else if(god_mjo_4 == 0) {
+ else if (god_mjo_4 == 0) {
mes "[Nordri]";
mes "What business";
mes "do you have with";
@@ -2573,7 +2569,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
close2;
}
}
- else if(god_mjo_0 == 2) {
+ else if (god_mjo_0 == 2) {
if ((god_mjo_1 == 3) || (god_mjo_2 == 3) || (god_mjo_3 == 3) || (god_mjo_4 == 3)){
mes "[Nordri]";
mes "Eh heh heh~";
@@ -2611,7 +2607,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
close;
}
}
- else if(god_mjo_1 == 1) {
+ else if (god_mjo_1 == 1) {
if (countitem(501) > 0) {
delitem 501,1; //Red_Potion
@@ -2676,7 +2672,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 826,{
break;
}
}
- else if(.@talk_to == 3) {
+ else if (.@talk_to == 3) {
mes "[Nordri]";
mes "Yes! Gods refer to the";
mes "moon as the 'false sun.'";