diff options
author | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
---|---|---|
committer | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
commit | e3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch) | |
tree | 20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/quests/seals | |
parent | 491892212d338903179909b89a5bfc2385e52261 (diff) | |
download | hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2 hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip |
Update to last rAthena npc.
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/quests/seals')
-rw-r--r-- | npc/quests/seals/brisingamen_seal.txt | 218 | ||||
-rw-r--r-- | npc/quests/seals/god_global.txt | 160 | ||||
-rw-r--r-- | npc/quests/seals/god_weapon_creation.txt | 88 | ||||
-rw-r--r-- | npc/quests/seals/megingard_seal.txt | 324 | ||||
-rw-r--r-- | npc/quests/seals/mjolnir_seal.txt | 302 | ||||
-rw-r--r-- | npc/quests/seals/seal_status.txt | 50 | ||||
-rw-r--r-- | npc/quests/seals/sleipnir_seal.txt | 541 |
7 files changed, 847 insertions, 836 deletions
diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index 45e80aaf0..afdaee690 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -1,10 +1,10 @@ //===== Hercules Script ====================================== -//= Brisingamen seal unlocking NPCs. -//===== By: ================================================== +//= God Item Quest - Brisingamen Seal +//===== By: ================================================== //= SinSloth -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.7 +//===== Description: ========================================= //= Quest for breaking the seal of Brisingamen. //===== Additional Comments: ================================= //= 1.0 First version. Thanks to SinSloth for scripting it. [MasterOfMuppets] @@ -15,12 +15,14 @@ //= 1.3a Changed some " + name +" to strcharinfo(0) [Samuray22] //= 1.4 Replaced effect numerics with constants. [Samuray22] //= 1.5 Corrected serverwide announcement. [L0ne_W0lf] +//= 1.6 Updated RE/Pre-RE EXP. [Euphy] +//= 1.7 Renewal script update. [Euphy] //============================================================ prt_fild08,175,374,3 script Bard#brising 51,{ cutin "god_nelluad01",2; - if (($God2 > 49) && ($God3 < 100)){ - if (god_brising > 49){ + if ($God2 >= $@god_check1 && $God3 < $@god_check2) { + if (god_brising > 49) { mes "[Nelliorde]"; mes "Oh, I guess all is going well for you. So how has everything else been?"; next; @@ -244,7 +246,7 @@ prt_fild08,175,374,3 script Bard#brising 51,{ break; } } - else if((god_brising > 0) && (god_brising < 50)){ + else if ((god_brising > 0) && (god_brising < 50)){ mes "[Nelliorde]"; mes "So, have you"; mes "met Mr. Kaili?"; @@ -843,7 +845,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 749,{ mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000"; close; } - if ($God3 == 100) { + if ($God3 == $@god_check2) { mes "[Studying Scholar]"; mes "Hmmm..."; mes "The highest quality Red Potion ever..."; @@ -852,7 +854,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 749,{ mes "If only I could figure a way to balance the consistency of the ground Red Herbs mixed with the water. That part is most crucial..."; close; } - if ($God2 > 49) { + if ($God2 >= $@god_check1) { if (god_brising == 50) { mes "[Enrico Kaili]"; mes "Ah, " + strcharinfo(0) + ","; @@ -874,40 +876,36 @@ yuno_in04,47,113,1 script Studying Scholar#1 749,{ mes "[Enrico Kaili]"; mes "Oh! I'm so excited! I don't know what to do first! Should I report to His Majesty or publish my findings or..."; next; - switch(select("^333333*Ahem!*^000000 My reward!")) { - case 1: - mes "[Enrico Kaili]"; - mes "Oh, right."; - mes "Thank you for all the trouble you have endured for my sake. You are truly one of the best researchers I've ever met."; - next; - mes "[Enrico Kaili]"; - mes "Then as promised..."; - mes "I will give you something from my precious collection! Now, let me see what we have here..."; - next; - mes "[Enrico Kaili]"; - mes "Please..."; - mes "Take this"; - set god_brising,50; - getitem 616,1; // Old_Card_Album - getexp 60000,0; - next; - mes "[Enrico Kaili]"; - mes "Please accept this as my way of thanking you for assisting in my"; - mes "research. If the opportunity arises, I would like to ask you for your help once again. Now please, take care."; - if ($God3 < 100) set $God3,$God3 +1; - if ($God3 == 50) { - announce "The 3rd Seal of [Brisingamen] has appeared.",bc_all; - } - else if ($God3 == 100) { - if ($God1 == 100 && $God2 == 100 && $God3 == 100 && $God4 == 100) { - announce "Four seals have been released at the same time with the seal of [Brisingamen].",bc_all; - } - else { - announce "The 3rd seal of [Brisingamen] has been released.",bc_all; - } - } - } - close; + select("^333333*Ahem!*^000000 My reward!"); + mes "[Enrico Kaili]"; + mes "Oh, right."; + mes "Thank you for all the trouble you have endured for my sake. You are truly one of the best researchers I've ever met."; + next; + mes "[Enrico Kaili]"; + mes "Then as promised..."; + mes "I will give you something from my precious collection! Now, let me see what we have here..."; + next; + mes "[Enrico Kaili]"; + mes "Please..."; + mes "Take this."; + set god_brising,50; + getitem 616,1; // Old_Card_Album + getexp (checkre(3))?60000:600000,0; + next; + mes "[Enrico Kaili]"; + mes "Please accept this as my way of thanking you for assisting in my"; + mes "research. If the opportunity arises, I would like to ask you for your help once again. Now please, take care."; + if ($God3 < $@god_check2) + set $God3,$God3 +1; + if ($God3 == $@god_check1) + announce "The 3rd Seal of [Brisingamen] has appeared.",bc_all; + else if ($God3 == $@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 [Brisingamen].",bc_all; + else + announce "The 3rd seal of [Brisingamen] has been released.",bc_all; + } + close; } else if (god_brising == 48) { mes "[Enrico Kaili]"; @@ -1259,7 +1257,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 749,{ mes "If she'll let you look at her records, you can probably find out where he lives. Now why don't you talk to that lady towards the left part of this room?"; close; } - else if(god_brising == 2) { + else if (god_brising == 2) { mes "[Enrico Kaili]"; mes "So, have you"; mes "considered my proposal?"; @@ -1397,7 +1395,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 749,{ } prt_church,113,103,1 script Praying Man 798,{ - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "[Praying Man]"; mes "Let everyone live a life"; mes "of happiness. Let there be"; @@ -1409,7 +1407,7 @@ prt_church,113,103,1 script Praying Man 798,{ mes "month's paycheck on..."; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "[Praying Man]"; mes "Now is the time to reflect upon the past to prepare for the future."; next; @@ -1541,9 +1539,8 @@ prt_church,113,103,1 script Praying Man 798,{ mes "to Lowen."; close; } - else if(god_brising == 5) { - set @brising_try,rand(1,4); - if(@brising_try == 1) { + else if (god_brising == 5) { + if (rand(1,4) == 1) { mes "[Hermite Charles]"; mes "You're still here."; mes "Does that mean you"; @@ -2084,13 +2081,13 @@ prt_church,113,103,1 script Praying Man 798,{ } prt_castle,80,52,0 script Personnel Record#book1 111,{ - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "[Librarian]"; mes "What are you doing?"; mes "Don't touch anything!"; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "[Librarian]"; mes "What are you doing?"; mes "Don't touch anything!"; @@ -2267,13 +2264,13 @@ prt_castle,80,52,0 script Personnel Record#book1 111,{ //-----------librarian---------------------------------------------------------- prt_castle,84,51,5 script Librarian#2 105,{ - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "[Librarian]"; mes "What are you doing here?"; mes "Don't touch anything!"; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "[Librarian]"; mes "What are you doing here?"; mes "Don't touch anything!"; @@ -2441,7 +2438,7 @@ prt_castle,84,51,5 script Librarian#2 105,{ } prontera,260,354,4 script Woman#Rosa Ellenen 101,{ - if ($God2 < 50){ + if ($God2 < $@god_check1){ mes "[Woman]"; mes "Hm?"; mes "What brings"; @@ -2451,7 +2448,7 @@ prontera,260,354,4 script Woman#Rosa Ellenen 101,{ mes "take a walk."; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "[Woman]"; mes "Hm?"; mes "What brings"; @@ -2461,7 +2458,7 @@ prontera,260,354,4 script Woman#Rosa Ellenen 101,{ mes "take a walk."; close; } - if(god_brising > 33) { + if (god_brising > 33) { mes "[Rosa Ellenen]"; mes "Are you the one"; mes "who visited me before?"; @@ -2567,7 +2564,7 @@ prontera,260,354,4 script Woman#Rosa Ellenen 101,{ } prontera,262,353,0 script Gravestone 111,{ - if($God2 > 49) { + if ($God2 > $@god_check1) { if (god_brising > 33) { mes "Lowen Ellenen"; mes " "; @@ -2583,7 +2580,7 @@ prontera,262,353,0 script Gravestone 111,{ close; } } - else { + else { mes "^3355FFIt's just an"; mes "ordinary gravestone.^000000"; next; @@ -2594,12 +2591,12 @@ prontera,262,353,0 script Gravestone 111,{ } gef_dun01,89,192,0 script #lowentrace 111,3,3,{ - if($God2 < 50) { + if ($God2 < $@god_check1) { mes "^3355FFIt's just an old,"; mes "dry piece of wood.^000000"; close; } - if($God3 > 99) { + if ($God3 >= $@god_check2) { mes "^3355FFIt's just an old,"; mes "dry piece of wood.^000000"; close; @@ -2611,7 +2608,7 @@ gef_dun01,89,192,0 script #lowentrace 111,3,3,{ switch(select("Yes:No")) { case 1: input @lowenstring$; - if(@lowenstring$ == "Lowen") { + if (@lowenstring$ == "Lowen") { if (god_brising == 30) { mes "[Lowen Ellenen]"; mes "^6E7B8B...Y-you're..."; @@ -2710,21 +2707,19 @@ gef_dun01,89,192,0 script #lowentrace 111,3,3,{ } OnTouch: - if((god_brising > 9) && (god_brising < 34)) { + if ((god_brising > 9) && (god_brising < 34)) { emotion e_gasp; } end; } gef_dun01,203,48,0 script #lowentrace1 111,3,3,{ - - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "^3355FFIt's just an old,"; mes "dry piece of wood.^000000"; close; } - - if( $God3 > 99) { + if ($God3 >= $@god_check2) { mes "^3355FFIt's just an old,"; mes "dry piece of wood.^000000"; close; @@ -2736,8 +2731,8 @@ gef_dun01,203,48,0 script #lowentrace1 111,3,3,{ switch(select("Yes:No")) { case 1: input @lowenstring$; - if(@lowenstring$ == "Lowen") { - if(god_brising == 31) { + if (@lowenstring$ == "Lowen") { + if (god_brising == 31) { mes "[Lowen Ellenen]"; mes "^6E7B8BYou came back!"; mes "You'll be with me"; @@ -2758,7 +2753,7 @@ gef_dun01,203,48,0 script #lowentrace1 111,3,3,{ mes "care of yourself...^000000"; close; } - } else if(god_brising == 30) { + } else if (god_brising == 30) { mes "[Lowen Ellenen]"; mes "^6E7B8BAh yes. This is it."; mes "You look very curious about me, yet I am amazed that you can hear my voice. Please let me tell you an old story.^000000"; @@ -2844,7 +2839,7 @@ gef_dun01,203,48,0 script #lowentrace1 111,3,3,{ } OnTouch: - if((god_brising > 9) && (god_brising < 34)) { + if ((god_brising > 9) && (god_brising < 34)) { emotion e_gasp; } end; @@ -3132,7 +3127,7 @@ OnSummon: OnMobDeath: set .brisinmobdead,.brisinmobdead -1; - if(.brisinmobdead > 0) end; + if (.brisinmobdead > 0) end; set god_brising,31; hideoffnpc "Valkyrie#1"; end; @@ -3153,29 +3148,12 @@ OnReset: end; } -que_god02,173,58,4 script #doppelganger1 739,{ - end; -} - -que_god02,175,55,4 script #doppelganger2 739,{ - end; -} - -que_god02,175,54,1 script #lowen 745,{ - end; -} - -que_god02,178,49,1 script #knight1 751,{ - end; -} - -que_god02,168,53,7 script #knight2 734,{ - end; -} - -que_god02,167,58,4 script #knight3 752,{ - end; -} +que_god02,173,58,4 script #doppelganger1 739,{ end; } +que_god02,175,55,4 script #doppelganger2 739,{ end; } +que_god02,175,54,1 script #lowen 745,{ end; } +que_god02,178,49,1 script #knight1 751,{ end; } +que_god02,168,53,7 script #knight2 734,{ end; } +que_god02,167,58,4 script #knight3 752,{ end; } que_god02,174,49,0 script #lowenone 139,0,0,{ @@ -3531,13 +3509,13 @@ que_god02,178,127,3 script Valkyrie#1 811,{ } xmas,38,105,0 script #brisindwarf1 111,3,3,{ - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "^3355FFA lot of snow"; mes "is heavily piled"; mes "here on the ground.^000000"; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "^3355FFA lot of snow"; mes "is heavily piled"; mes "here on the ground.^000000"; @@ -3698,7 +3676,7 @@ xmas,38,105,0 script #brisindwarf1 111,3,3,{ } OnTouch: - if(god_brising > 39) { + if (god_brising > 39) { emotion e_gasp,1; } end; @@ -3998,12 +3976,12 @@ OnInit: } prt_fild02,185,269,0 script #brisindwarf2 111,3,3,{ - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "^3355FFIt's just an"; mes "ordinary rock.^000000"; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "^3355FFIt's just an"; mes "ordinary rock.^000000"; close; @@ -4165,7 +4143,7 @@ prt_fild02,185,269,0 script #brisindwarf2 111,3,3,{ } OnTouch: - if(god_brising > 41) { + if (god_brising > 41) { emotion e_gasp,1; } end; @@ -4190,7 +4168,7 @@ prt_fild02,185,270,3 script Dvalin#1 826,{ hideonnpc "Dvalin#1"; end; } - else if(god_brising == 42) { + else if (god_brising == 42) { mes "[Dvalin]"; mes "Wah, it's not Alfrik?"; mes "Who are you to wake Dvalin?"; @@ -4275,7 +4253,7 @@ prt_fild02,185,270,3 script Dvalin#1 826,{ end; } } - else if(god_brising == 43) { + else if (god_brising == 43) { mes "[Dvalin]"; mes "Why do you keep calling me? I did everything I can do for you. I even gave you the key to the question."; next; @@ -4295,11 +4273,11 @@ OnInit: } mjolnir_09,85,129,0 script #brisindwarf3 111,3,3,{ - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "^3355FFThe sight of this bubbling stream refreshes you just by looking at it.^000000"; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "^3355FFThe sight of this bubbling stream refreshes you just by looking at it.^000000"; close; } @@ -4359,14 +4337,14 @@ mjolnir_09,85,129,0 script #brisindwarf3 111,3,3,{ } OnTouch: - if(god_brising > 42) { + if (god_brising > 42) { emotion e_gasp,1; } end; } mjolnir_09,87,129,3 script Berling#1 826,{ - if(god_brising > 44) { + if (god_brising > 44) { mes "[Berling]"; mes "You're the one that's awakened us? Hahaha, perhaps that's a sign we may see Freya again! Hahahaha!"; next; @@ -4376,7 +4354,7 @@ mjolnir_09,87,129,3 script Berling#1 826,{ hideonnpc "OnBerling#1"; end; } - else if(god_brising == 43) { + else if (god_brising == 43) { mes "[Berling]"; mes "What the...?"; mes "It's a human?!"; @@ -4481,7 +4459,7 @@ mjolnir_09,87,129,3 script Berling#1 826,{ end; } } - else if(god_brising == 44) { + else if (god_brising == 44) { mes "[Berling]"; mes "Did you already forget the lyrics? Let me tell them to you again, so don't forget this time."; next; @@ -4510,12 +4488,12 @@ OnInit: } mjo_dun02,126,36,0 script #brisindwarf4 111,3,3,{ - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "[" + strcharinfo(0) + "]"; mes "Bah, no way out."; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "[" + strcharinfo(0) + "]"; mes "Bah, no way out."; close; @@ -4533,35 +4511,35 @@ mjo_dun02,126,36,0 script #brisindwarf4 111,3,3,{ mes "What was the first line...?"; next; input @dwarfsong1$; - if(@dwarfsong1$ == "No jewel in the world can compare.") set @point,@point +1; - mes "[" + strcharinfo(0) + "]"; + if (@dwarfsong1$ == "No jewel in the world can compare.") set @point,@point +1; + mes "[" + strcharinfo(0) + "]"; mes " " + @dwarfsong1$ + ""; mes "Then...ummm.."; mes "The second line?"; next; input @dwarfsong2$; - if(@dwarfsong2$ == "Our masterpiece made from love.") set @point,@point +1; + if (@dwarfsong2$ == "Our masterpiece made from love.") set @point,@point +1; mes "[" + strcharinfo(0) + "]"; mes " " + @dwarfsong2$ + ""; mes "Now, what was"; mes "the third line...?"; next; input @dwarfsong3$; - if(@dwarfsong3$ == "She wanted the dazzling necklace.") set @point,@point +1; + if (@dwarfsong3$ == "She wanted the dazzling necklace.") set @point,@point +1; mes "[" + strcharinfo(0) + "]"; mes " " + @dwarfsong3$ + ""; mes "Now, the fourth"; mes "line after that..."; next; input @dwarfsong4$; - if(@dwarfsong4$ == "We wanted the goddess of beauty.") set @point,@point +1; + if (@dwarfsong4$ == "We wanted the goddess of beauty.") set @point,@point +1; mes "[" + strcharinfo(0) + "]"; mes " " + @dwarfsong4$ + ""; mes "Alright, now"; mes "for the last line..."; next; input @dwarfsong5$; - if(@dwarfsong5$ == "Our happiest times were with her.") set @point,@point +1; + if (@dwarfsong5$ == "Our happiest times were with her.") set @point,@point +1; mes "[" + strcharinfo(0) + "]"; mes " " + @dwarfsong5$ + ""; mes "Alright, let's give it a try."; @@ -4599,12 +4577,12 @@ mjo_dun02,126,36,0 script #brisindwarf4 111,3,3,{ } OnTouch: - if ($God2 < 50) { + if ($God2 < $@god_check1) { mes "[" + strcharinfo(0) + "]"; mes "Beh, no way out."; close; } - if ($God3 > 99) { + if ($God3 >= $@god_check2) { mes "[" + strcharinfo(0) + "]"; mes "Beh, no way out."; close; @@ -4676,7 +4654,7 @@ mjo_dun02,126,34,1 script Grer#1 826,{ hideonnpc "Grer#1"; end; } - else if(god_brising == 46) { + else if (god_brising == 46) { mes "[Grer]"; mes "My name is Grer."; mes "I should have been"; diff --git a/npc/quests/seals/god_global.txt b/npc/quests/seals/god_global.txt index 817255060..94f6ae0f2 100644 --- a/npc/quests/seals/god_global.txt +++ b/npc/quests/seals/god_global.txt @@ -1,113 +1,44 @@ //===== Hercules Script ====================================== -//= Variable Management NPC for the god item quest -//===== By: ================================================== +//= God Item Quest - Variable Management +//===== By: ================================================== //= MasterOfMuppets -//===== Current Version: ===================================== -//= 1.1 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.2 +//===== Description: ========================================= //= Use this NPC if the seals quest variables get messed up. //===== Additional Comments: ================================= //= 1.0 First version. [MasterOfMuppets] //= 1.1 Updated several aspects of the script. [L0ne_W0lf] +//= 1.2 Renewal script update. [Euphy] +//= Added GM management function. //============================================================ sec_in02,15,170,0 script Golbal var 817,{ - //mes "[Check]"; - //mes "Please enter the password."; - //next; - //set .@check,68392411; - //dlgwrite 0 10000000 - //if (check == input){ - if (getgmlevel() > 98) { + callfunc "F_GM_NPC"; + mes "[Check]"; + mes "Please enter the password."; + next; + if (callfunc("F_GM_NPC",68392411,0) == 1) { mes "[Check]"; mes "Please choose a menu."; next; - switch(select("Now:No.1:No.2:No.3:No.4:Reset")) { + switch(select("Now:No.1:No.2:No.3:No.4:Reset:god_sl_1:god_eremes:god_brising:god_mjo_0:god_mjo_1:god_mjo_2:god_mjo_3:god_mjo_4")) { case 1: mes "^0000FF$God1^000000 = ^FF0000" + $God1 + "^000000."; mes "^0000FF$God2^000000 = ^FF0000" + $God2 + "^000000."; mes "^0000FF$God3^000000 = ^FF0000" + $God3 + "^000000."; mes "^0000FF$God4^000000 = ^FF0000" + $God4 + "^000000."; close; - case 2: - input .@input,0,100; - mes "[Check]"; - mes "Would you like to change to "+.@input+"?"; - next; - if (select("Yes:No") == 1) { - mes "[Check]"; - mes "The command "+.@input+" has been confirmed."; - next; - set $God1,.@input; - mes "$God1 "+.@input+""; - close; - } - else { - mes "[Check]"; - mes "The command has been canceled."; - close; - } - case 3: - input .@input,0,100; - mes "[Check]"; - mes "Would you like to change to "+.@input+"?"; - next; - if (select("Yes:No") == 1) { - mes "[Check]"; - mes "The command "+.@input+" has been confirmed."; - next; - set $God2,.@input; - mes "$God2 "+.@input+""; - close; - } - else { - mes "[Check]"; - mes "The command has been canceled."; - close; - } - case 4: - input .@input,0,100; - mes "[Check]"; - mes "Would you like to change to "+.@input+"?"; - next; - if (select("Yes:No") == 1) { - mes "[Check]"; - mes "The command "+.@input+" has been confirmed."; - next; - set $God3,.@input; - mes "$God3 "+.@input+""; - close; - } - else { - mes "[Check]"; - mes "The command has been canceled."; - close; - } - case 5: - input .@input,0,100; - mes "[Check]"; - mes "Would you like to change to "+.@input+"?"; - next; - if (select("Yes:No") == 1) { - mes "[Check]"; - mes "The command "+.@input+" has been confirmed."; - next; - set $God4,.@input; - mes "$God4 "+.@input+""; - close; - } - else { - mes "[Check]"; - mes "The command has been canceled."; - close; - } + case 2: callsub L_Number,"$God1"; break; + case 3: callsub L_Number,"$God2"; break; + case 4: callsub L_Number,"$God3"; break; + case 5: callsub L_Number,"$God4"; break; case 6: mes "[Check]"; mes "Are you really sure that you want to reset the entire list of God Globalvar?"; + mes "Please enter the password."; next; - if (select("Yes:No") == 1) { + if (callfunc("F_GM_NPC",68392411,0) == 1) { mes "[Check]"; mes "Now, the entire list of God Globalvar is being reset."; next; @@ -120,18 +51,61 @@ sec_in02,15,170,0 script Golbal var 817,{ mes "^0000FF$God3^000000 = ^FF0000" + $God3 + "^000000."; mes "^0000FF$God4^000000 = ^FF0000" + $God4 + "^000000."; close; - } - else { + } else { mes "[Check]"; mes "The command has been canceled."; close; } + case 7: callsub L_Var,"god_sl_1"; break; + case 8: callsub L_Var,"god_eremes"; break; + case 9: callsub L_Var,"god_brising"; break; + case 10: callsub L_Var,"god_mjo_0"; break; + case 11: callsub L_Var,"god_mjo_1"; break; + case 12: callsub L_Var,"god_mjo_2"; break; + case 13: callsub L_Var,"god_mjo_3"; break; + case 14: callsub L_Var,"god_mjo_4"; break; } + } else { + mes "[Check]"; + mes "Incorrect password."; + close; } - else { + +L_Number: + input .@input,0,$@god_check2; + mes "[Check]"; + mes "Would you like to change to "+.@input+"?"; + mes "Please enter the password."; + next; + if (callfunc("F_GM_NPC",68392411,0) == 1) { mes "[Check]"; - //mes "Incorrect password."; - mes "You cannot access this NPC."; + mes "The command "+.@input+" has been confirmed."; + next; + setd getarg(0),.@input; + mes getarg(0)+" "+.@input; + close; + } else { + mes "[Check]"; + mes "The command has been canceled."; close; } + +L_Var: + input .@input; + setd getarg(0),.@input; + next; + mes "[Check]"; + mes "Done."; + close; + +OnInit: + // Seals roll at 25/50 in Renewal and 50/100 in Pre-Renewal. + if (checkre(0)) { + set $@god_check1,25; + set $@god_check2,50; + } else { + set $@god_check1,50; + set $@god_check2,100; + } + end; } diff --git a/npc/quests/seals/god_weapon_creation.txt b/npc/quests/seals/god_weapon_creation.txt index e0e5845d5..340b9a7f5 100644 --- a/npc/quests/seals/god_weapon_creation.txt +++ b/npc/quests/seals/god_weapon_creation.txt @@ -1,21 +1,20 @@ //===== Hercules Script ====================================== -//= God items creation NPCs +//= God Item Quest - Item Creation //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.2 -//===== Compatible With: ===================================== -//= Hercules +//= 1.3 //===== Description: ========================================= -//= NPC that creates God Items +//= Craft god items after the four seals are broken. //===== Additional Comments: ================================= //= 1.0 First version. Thanks to SinSloth for scripting it. [MasterOfMuppets] //= 1.1 Updated several aspects of the script. [L0ne_W0lf] //= 1.2 Corrected several incorrect item IDs. [L0ne_W0lf] +//= 1.3 Renewal script update. [Euphy] +//= Added GM management function. //============================================================ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 826,{ - set .@GID,getcharid(2); mes "[Dwarf Grunburti]"; mes "A human?!"; mes "This land is full"; @@ -69,8 +68,9 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 826,{ mes "At least I was fortunate enough to find this cave. We Dwarves are most cozy living underground, after all."; close; case 3: - if (($God1 < 100) || ($God2 < 100) || ($God3 < 100) || ($God4 < 100)){ - if (($God1 > 49) && ($God2 > 49) && ($God3 > 49) && ($God4 > 49) && (strcharinfo(0) == getguildmaster(.@GID))) { + set .@GID,getcharid(2); + if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){ + if (($God1 >= $@god_check1) && ($God2 >= $@god_check1) && ($God3 >= $@god_check1) && ($God4 >= $@god_check1) && (strcharinfo(0) == getguildmaster(.@GID))) { mes "[Dwarf Grunburti]"; mes "Hmm..."; mes "I'll need some things to make a weapon for you. What exactly were you interested in having?"; @@ -340,7 +340,6 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 826,{ close; } } - gld_dun02,85,84,0 duplicate(GodDwarf) Grunburti#2 826 gld_dun03,92,105,0 duplicate(GodDwarf) Grunburti#3 826 gld_dun04,268,230,0 duplicate(GodDwarf) Grunburti#4 826 @@ -376,7 +375,7 @@ que_god01,215,128,0 duplicate(GodEntrance) #que_godnpc2 111 que_god01,213,128,0 duplicate(GodEntrance) #que_godnpc3 111 que_god01,154,112,4 script Grunburti#god 826,{ - if (($God1 < 100) || ($God2 < 100) || ($God3 < 100) || ($God4 < 100)){ + if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){ mes "[Dwarf Grunburti]"; mes "One of the godly"; mes "items has been created,"; @@ -463,7 +462,7 @@ que_god01,154,112,4 script Grunburti#god 826,{ mes "Never in my wildest"; mes "imaginings have I thought that I'd be crafting this masterpiece for a mere human. Give me a moment."; next; - if (($God1 < 100) || ($God2 < 100) || ($God3 < 100) || ($God4 < 100)){ + if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){ mes "[Dwarf Grunburti]"; mes "But..."; mes "The seals"; @@ -543,7 +542,7 @@ que_god01,154,112,4 script Grunburti#god 826,{ mes "I'd never believe that"; mes "something so powerful and dangerous as Megingjard would end up in the hands of a human..."; next; - if (($God1 < 100) || ($God2 < 100) || ($God3 < 100) || ($God4 < 100)){ + if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){ mes "[Dwarf Grunburti]"; mes "But..."; mes "The seals"; @@ -630,7 +629,7 @@ que_god01,154,112,4 script Grunburti#god 826,{ mes "used by a human."; mes "Give me a moment..."; next; - if (($God1 < 100) || ($God2 < 100) || ($God3 < 100) || ($God4 < 100)){ + if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){ mes "[Dwarf Grunburti]"; mes "But..."; mes "The seals"; @@ -718,7 +717,7 @@ que_god01,154,112,4 script Grunburti#god 826,{ mes "or you will regret it."; mes "Mark my words..."; next; - if (($God1 < 100) || ($God2 < 100) || ($God3 < 100) || ($God4 < 100)){ + if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){ mes "[Dwarf Grunburti]"; mes "But..."; mes "The seals"; @@ -787,39 +786,60 @@ OnTimer610000: end; OnTimer612000: - areawarp "que_god01",154,67,4,7,"prontera",156,324; - areawarp "que_god01",154,82,4,7,"prontera",156,324; - areawarp "que_god01",145,99,9,9,"prontera",156,324; - areawarp "que_god01",164,99,9,9,"prontera",156,324; - areawarp "que_god01",145,118,9,9,"prontera",156,324; - areawarp "que_god01",164,118,9,9,"prontera",156,324; + donpcevent "god_wep_warpmaster::OnEnable"; end; OnTimer615000: donpcevent "god_wep_warpmaster::OnDisable"; - donpcevent " #god_hopewarp1::Onreset"; + donpcevent "#god_hopewarp1::OnReset"; stopnpctimer; end; } -/* -que_god01,293,3,0 script Godly Item Quests Related#god 90,{ +que_god01,169,82,0 script god_wep_warpmaster -1,{ +OnEnable: + for(set .@i,1; .@i<=6; set .@i,.@i+1) + enablenpc "god_failwarp#"+.@i; + end; +OnDisable: + for(set .@i,1; .@i<=6; set .@i,.@i+1) + disablenpc "god_failwarp#"+.@i; + end; +} + +que_god01,154,67,0 script god_failwarp#1 -1,4,7,{ +OnInit: + disablenpc strnpcinfo(0); + end; +OnTouch: + warp "prontera",156,324; + end; +} +que_god01,154,82,0 duplicate(god_failwarp#1) god_failwarp#2 -1,4,7 +que_god01,145,99,0 duplicate(god_failwarp#1) god_failwarp#3 -1,9,9 +que_god01,164,99,0 duplicate(god_failwarp#1) god_failwarp#4 -1,9,9 +que_god01,145,118,0 duplicate(god_failwarp#1) god_failwarp#5 -1,9,9 +que_god01,164,118,0 duplicate(god_failwarp#1) god_failwarp#6 -1,9,9 + +// Original name: "Godly Item Quests Related#god" +que_god01,293,3,0 script Godly Item Quests#god 90,{ + callfunc "F_GM_NPC"; mes "[Use in case of emergency]"; mes "Please enter password."; mes "If you wish to cancel, please enter 0."; next; - input .@input,0,4001; - if (.@input < 0 || .@input > 4000) { + set .@i, callfunc("F_GM_NPC",1854,0,0,4000); + if (.@i == -2) { mes "[Use in case of emergency]"; mes "Password is incorrect."; close; - } - else if(.@input == 0) { + } else if (.@i == -1) { mes "[Use in case of emergency]"; mes "You have canceled your request."; close; - } - else if(.@input == 1854) { + } else if (.@i == 0) { + close; + } else { mes "[Use in case of emergency]"; mes "What services would you like to use?"; next; @@ -828,12 +848,7 @@ que_god01,293,3,0 script Godly Item Quests Related#god 90,{ mes "[Use in case of emergency]"; mes "Press the 'Next' button to turn off warps."; next; - areawarp "que_god01",154,67,4,7,"prontera",156,324; - areawarp "que_god01",154,82,4,7,"prontera",156,324; - areawarp "que_god01",145,99,9,9,"prontera",156,324; - areawarp "que_god01",164,99,9,9,"prontera",156,324; - areawarp "que_god01",145,118,9,9,"prontera",156,324; - areawarp "que_god01",164,118,9,9,"prontera",156,324; + donpcevent "god_wep_warpmaster::OnDisable"; mes "[Use in case of emergency]"; mes "You have successfully turned off warps."; close; @@ -849,11 +864,10 @@ que_god01,293,3,0 script Godly Item Quests Related#god 90,{ mes "[Use in case of emergency]"; mes "Please press the 'Next' button to reset the arena chat room in que_god01."; next; - donpcevent " #god_hopewarp1::Onreset"; + donpcevent "#god_hopewarp1::OnReset"; mes "[Use in case of emergency]"; mes "You have successfully reset the arena chat room (Laboratory Entrance 1/2)."; close; } } } -*/ 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) { 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.'"; diff --git a/npc/quests/seals/seal_status.txt b/npc/quests/seals/seal_status.txt new file mode 100644 index 000000000..c9e6515fb --- /dev/null +++ b/npc/quests/seals/seal_status.txt @@ -0,0 +1,50 @@ +//===== Hercules Script ====================================== +//= God Item Quest - Seal Status +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.3 +//===== Description: ========================================= +//= God Item Seal Status. +//===== Additional Comments: ================================= +//= 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] +//============================================================ + +prontera,113,294,3 script Sign Post#god 837,{ + mes "======== God Seal Status ========"; + setarray .@seal$[1], "Sleipnir","Megingjard","Brisingamen","Mjolnir"; + for(set .@i,1; .@i<=4; set .@i,.@i+1) { + set .@val, getd("$God"+.@i); + if (.@val == 0) + set .@status$,"Unseen"; + else if (.@val < $@god_check1) + set .@status$,"Active"; + else if (.@val < $@god_check2) + set .@status$,"Appeared"; + else + set .@status$,"Released"; + mes .@seal$[.@i]+" Seal: "+.@status$; + } + mes " "; + mes "======= Your Seal Status ========"; + if (god_sl_1 < 51) + mes "^ff0000Sleipnir Seal: Not Completed^000000"; + else + mes "^00ff00Sleipnir Seal: Completed^000000"; + if (god_eremes < 28) + mes "^ff0000Megingjard Seal: Not Completed^000000"; + else + mes "^00ff00Megingjard Seal: Completed^000000"; + if (god_brising < 50) + mes "^ff0000Brisingamen Seal: Not Completed^000000"; + else + mes "^00ff00Brisingamen Seal: Completed^000000"; + if (god_mjo_0 < 11) + mes "^ff0000Mjolnir Seal: Not Completed^000000"; + else + mes "^00ff00Mjolnir Seal: Completed^000000"; + close; +}
\ No newline at end of file diff --git a/npc/quests/seals/sleipnir_seal.txt b/npc/quests/seals/sleipnir_seal.txt index 6fd6da4a5..4b4e70f8b 100644 --- a/npc/quests/seals/sleipnir_seal.txt +++ b/npc/quests/seals/sleipnir_seal.txt @@ -1,18 +1,17 @@ -//===== rAthena Script ======================================= -//= Sleipnir seal unlocking NPCs. -//===== By: ================================================== +//===== Hercules Script ====================================== +//= God Item Quest - Sleipnir Seal +//===== By: ================================================== //= MasterOfMuppets -//===== Current Version: ===================================== -//= 1.3 -//===== Compatible With: ===================================== -//= rAthena -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.4 +//===== Description: ========================================= //= Quest for breaking the seal of Sleipnir. //===== Additional Comments: ================================= //= 1.0 First version. [MasterOfMuppets] //= 1.1 Updated several aspects of the script. [L0ne_W0lf] //= 1.2 Minor Touchups to quest. [L0ne_W0lf] //= 1.3 Fixed a typo with a variable. [L0ne_W0lf] +//= 1.4 Renewal script update. [Euphy] //============================================================ yuno,164,200,4 script Noyee#G 101,{ @@ -31,7 +30,7 @@ yuno,164,200,4 script Noyee#G 101,{ close; } else { - if ($God1 > 99) { + if ($God1 >= $@god_check2) { mes "[Noyee]"; mes "Did you know that there's a difference between the armor you can buy from NPC shops and the kinds you obtain from hunting monsters?"; next; @@ -73,10 +72,10 @@ que_god01,98,98,4 script Manager#G 69,{ mes "Wait...!"; mes "I can't even remember the last"; mes "time I went out with a guy! At this rate, I might retire before I can find a boyfriend. Noooo, I'm still in my prime~!"; - Emotion ET_PROFUSELY_SWAT; + emotion e_swt2; close; } - if ($God1 < 100) { + if ($God1 < $@god_check2) { if (god_sl_1 == 0) { mes "[Cukure]"; mes "I can't believe how busy I am at work nowadays. I don't even have time to see any of my friends or go shopping."; @@ -196,305 +195,239 @@ que_god01,98,98,4 script Manager#G 69,{ mes "[Cukure]"; mes "Ah, there it is."; mes "It might not be much, but I hope you accept it as a token of my gratitude. Good luck on your travels!"; - if ($God1 < 100)set $God1,$God1+1; - if ($God1 == 50) { + if ($God1 < $@god_check2) + set $God1,$God1+1; + if ($God1 == $@god_check1) announce "The 1st seal of [Sleipnir] has appeared.",bc_all; - } - else if ($God1 == 100) { - if ($God1 == 100 && $God2 == 100 && $God3 == 100 && $God4 == 100) { + else if ($God1 == $@god_check2) { + if ($God1 == $@god_check2 && $God2 == $@god_check2 && $God3 == $@god_check2 && $God4 == $@god_check2) announce "our seals have been released at the same time with the seal of [Sleipnir].",bc_all; - } - else { + else announce "The 1st seal of [Sleipnir] has been released.",bc_all; - } } set god_sl_1,51; set .@god_treasure,rand(1,900); set .@god_treasure1,rand(1,1000); - if (.@god_treasure < 101) { - if (.@god_treasure1 < 210) { - getitem 2102,1; // Guard_ - } - else if (.@god_treasure1 < 420) { - getitem 2104,1; // Buckler_ - } - else if (.@god_treasure1 < 630) { - getitem 2106,1; // Shield_ - } - else if (.@god_treasure1 < 840) { - getitem 2108,1; // Mirror_Shield_ + if (checkre(0)) { + if (.@god_treasure < 101) { + if (.@god_treasure1 < 210) getitem 2102,1; //Guard_ + else if (.@god_treasure1 < 420) getitem 2104,1; //Buckler_ + else if (.@god_treasure1 < 630) getitem 2106,1; //Shield_ + else if (.@god_treasure1 < 840) getitem 2108,1; //Mirror_Shield_ + else getitem 2109,1; //Memorize_Book + } + else if (.@god_treasure < 201) { + if (.@god_treasure1 < 48) getitem 2207,1; //Fancy_Flower + else if (.@god_treasure1 < 96) getitem 2210,1; //Hair_Band + else if (.@god_treasure1 < 150) getitem 2213,1; //Cat_Hairband + else if (.@god_treasure1 < 190) getitem 2215,1; //Flower_Hairband + else if (.@god_treasure1 < 238) getitem 2217,1; //Biretta_ + else if (.@god_treasure1 < 290) getitem 2223,1; //Turban_ + else if (.@god_treasure1 < 340) getitem 2227,1; //Cap_ + else if (.@god_treasure1 < 348) getitem 2229,1; //Helm_ + else if (.@god_treasure1 < 400) getitem 2231,1; //Gemmed_Sallet_ + else if (.@god_treasure1 < 448) getitem 2233,1; //Circlet_ + else if (.@god_treasure1 < 496) getitem 2236,1; //Santa's_Hat + else if (.@god_treasure1 < 544) getitem 2244,1; //Big_Sis'_Ribbon + else if (.@god_treasure1 < 592) getitem 2245,1; //Sweet_Gents + else if (.@god_treasure1 < 640) getitem 2247,1; //Oldman's_Romance + else if (.@god_treasure1 < 688) getitem 2248,1; //Western_Grace + else if (.@god_treasure1 < 736) getitem 2250,1; //Fillet + else if (.@god_treasure1 < 784) getitem 2251,1; //Holy_Bonnet + else if (.@god_treasure1 < 832) getitem 2252,1; //Star_Sparkling + else if (.@god_treasure1 < 880) getitem 2253,1; //Sunflower + else if (.@god_treasure1 < 940) getitem 2257,1; //Snowy_Horn + else getitem 2259,1; //Mini_Propeller + } + else if (.@god_treasure < 301) { + if (.@god_treasure1 < 160) getitem 2267,1; //Cigar + else if (.@god_treasure1 < 320) getitem 2262,1; //Pierrot_Nose + else if (.@god_treasure1 < 480) getitem 2263,1; //Gangster_Patch + else if (.@god_treasure1 < 540) getitem 2265,1; //Ganster_Mask + else if (.@god_treasure1 < 700) getitem 2266,1; //Iron_Cane + else if (.@god_treasure1 < 800) getitem 2260,1; //Mini_Glasses + else if (.@god_treasure1 < 900) getitem 2269,1; //Centimental_Flower + else getitem 2270,1; //Centimental_Leaf + } + else if (.@god_treasure < 401) { + if (.@god_treasure1 < 70) getitem 2298,1; //Green_Feeler + else if (.@god_treasure1 < 140) getitem 2275,1; //Red_Bandana + else if (.@god_treasure1 < 210) getitem 2276,1; //Eagle_Eyes + else if (.@god_treasure1 < 280) getitem 2277,1; //Nurse_Cap + else if (.@god_treasure1 < 350) getitem 2279,1; //Bomb_Wick + else if (.@god_treasure1 < 420) getitem 2282,1; //Spirit_Chain + else if (.@god_treasure1 < 490) getitem 2299,1; //Viking_Helm + else if (.@god_treasure1 < 560) getitem 2287,1; //Pirate_Bandana + else if (.@god_treasure1 < 630) getitem 2289,1; //Poo_Poo_Hat + else if (.@god_treasure1 < 700) getitem 2290,1; //Funeral_Costume + else if (.@god_treasure1 < 770) getitem 2291,1; //Masquerade + else if (.@god_treasure1 < 840) getitem 2294,1; //Star_Dust + else if (.@god_treasure1 < 900) getitem 2295,1; //Blinker + else if (.@god_treasure1 < 950) getitem 2271,1; //Jack_A_Dandy + else getitem 2285,1; //Apple_Of_Archer + } + else if (.@god_treasure < 501) { + if (.@god_treasure1 < 80) getitem 2306,1; //Adventurere's_Suit_ + else if (.@god_treasure1 < 160) getitem 2308,1; //Mantle_ + else if (.@god_treasure1 < 240) getitem 2310,1; //Coat_ + else if (.@god_treasure1 < 320) getitem 2311,1; //Mink_Coat + else if (.@god_treasure1 < 400) getitem 2313,1; //Padded_Armor_ + else if (.@god_treasure1 < 480) getitem 2315,1; //Chain_Mail_ + else if (.@god_treasure1 < 560) getitem 2329,1; //Wooden_Mail_ + else if (.@god_treasure1 < 630) getitem 2320,1; //Formal_Suit + else if (.@god_treasure1 < 700) getitem 2322,1; //Silk_Robe_ + else if (.@god_treasure1 < 760) getitem 2324,1; //Scapulare_ + else if (.@god_treasure1 < 810) getitem 2326,1; //Saint_Robe_ + else if (.@god_treasure1 < 850) getitem 2342,1; //Full_Plate_Armor_ + else if (.@god_treasure1 < 900) getitem 2331,1; //Tights_ + else if (.@god_treasure1 < 950) getitem 2333,1; //Silver_Robe_ + else getitem 2336,1; //Thief_Clothes_ + } + else if (.@god_treasure < 601) { + if (.@god_treasure1 < 200) getitem 2402,1; //Sandals_ + else if (.@god_treasure1 < 400) getitem 2404,1; //Shoes_ + else if (.@god_treasure1 < 600) getitem 2406,1; //Boots_ + else if (.@god_treasure1 < 800) getitem 2407,1; //Chrystal_Pumps + else getitem 2409,1; //Spiky_Heel + } + else if (.@god_treasure < 701) { + if (.@god_treasure1 < 300) getitem 2502,1; //Hood_ + else if (.@god_treasure1 < 550) getitem 2504,1; //Muffler_ + else if (.@god_treasure1 < 750) getitem 2506,1; //Manteau_ + else getitem 2508,1; //Ragamuffin_Cape + } + else if (.@god_treasure < 801) { + if (.@god_treasure1 < 110) getitem 2601,1; //Ring + else if (.@god_treasure1 < 220) getitem 2602,1; //Earring + else if (.@god_treasure1 < 330) getitem 2603,1; //Necklace + else if (.@god_treasure1 < 440) getitem 2604,1; //Glove + else if (.@god_treasure1 < 550) getitem 2605,1; //Brooch + else if (.@god_treasure1 < 660) getitem 2607,1; //Clip + else if (.@god_treasure1 < 770) getitem 2608,1; //Rosary + else if (.@god_treasure1 < 880) getitem 2617,1; //Mitten_Of_Presbyter + else getitem 2618,1; //Matyr's_Flea_Guard } else { - getitem 2109,1; // Memorize_Book - } - } - else if (.@god_treasure < 201) { - if (.@god_treasure1 < 48) { - getitem 2254,1; // Angelic_Chain - } - else if (.@god_treasure1 < 96) { - getitem 2210,1; // Hair_Band - } - else if (.@god_treasure1 < 150) { - getitem 2213,1; // Cat_Hairband - } - else if (.@god_treasure1 < 190) { - getitem 2255,1; // Satanic_Chain - } - else if (.@god_treasure1 < 238) { - getitem 2217,1; // Biretta_ - } - else if (.@god_treasure1 < 290) { - getitem 2223,1; // Turban_ - } - else if (.@god_treasure1 < 340) { - getitem 2227,1; // Cap_ - } - else if (.@god_treasure1 < 348) { - getitem 2229,1; // Helm_ - } - else if (.@god_treasure1 < 400) { - getitem 2231,1; // Gemmed_Sallet_ - } - else if (.@god_treasure1 < 448) { - getitem 2233,1; // Circlet_ - } - else if (.@god_treasure1 < 496) { - getitem 5053,1; // Spinx_Helm - } - else if (.@god_treasure1 < 544) { - getitem 5019,1; // Corsair - } - else if (.@god_treasure1 < 592) { - getitem 2245,1; // Sweet_Gents - } - else if (.@god_treasure1 < 640) { - getitem 2247,1; // Oldman's_Romance - } - else if (.@god_treasure1 < 688) { - getitem 2248,1; // Western_Grace - } - else if (.@god_treasure1 < 736) { - getitem 5166,1; // Spinx_Helm_ - } - else if (.@god_treasure1 < 784) { - getitem 5158,1; // Holy_Bonnet_ - } - else if (.@god_treasure1 < 832) { - getitem 2249,1; // Coronet - } - else if (.@god_treasure1 < 880) { - getitem 5157,1; // Viking_Helm_ - } - else if (.@god_treasure1 < 940) { - getitem 2285,1; // Apple_Of_Archer - } - else { - getitem 5093,1; // Blue_Coif_ - } - } - else if (.@god_treasure < 301) { - if (.@god_treasure1 < 160) { - getitem 5014,1; // Fin_Helm - } - else if (.@god_treasure1 < 320) { - getitem 5005,1; // Gas_Mask - } - else if (.@god_treasure1 < 480) { - getitem 5054,1; // Assasin_Mask - } - else if (.@god_treasure1 < 540) { - getitem 2265,1; // Ganster_Mask - } - else if (.@god_treasure1 < 700) { - getitem 2266,1; // Iron_Cane - } - else if (.@god_treasure1 < 800) { - getitem 2260,1; // Mini_Glasses - } - else if (.@god_treasure1 < 900) { - getitem 5113,1; // Angry_Mouth - } - else { - // Pirate Dagger is iRO only, and requires extra files in client. - getitem 2270,1; // Centimental_Leaf - //getitem 5305,1 // Pirate_Dagger - } - } - else if (.@god_treasure < 401) { - if (.@god_treasure1 < 70) { - getitem 2286,1; // Elven_Ears - } - else if (.@god_treasure1 < 140) { - getitem 5002,1; // Gemmed_Crown - } - else if (.@god_treasure1 < 210) { - getitem 5147,1; // Baseball_Cap - } - else if (.@god_treasure1 < 280) { - getitem 2217,1; // Biretta_ - } - else if (.@god_treasure1 < 350) { - getitem 5120,1; // Fedora_ - } - else if (.@god_treasure1 < 420) { - getitem 2261,1; // Prontera_Army_Cap - } - else if (.@god_treasure1 < 490) { - getitem 5162,1; // Bone_Helm_ - } - else if (.@god_treasure1 < 560) { - getitem 5030,1; // Panda_Cap - } - else if (.@god_treasure1 < 630) { - getitem 5109,1; // Red_Bonnet - } - else if (.@god_treasure1 < 700) { - getitem 5084,1; // Lazy_Raccoon - } - else if (.@god_treasure1 < 770) { - getitem 5168,1; // Bongun_Hat_ - } - else if (.@god_treasure1 < 840) { - getitem 2214,1; // Bunny_Band - } - else if (.@god_treasure1 < 900) { - getitem 2295,1; // Blinker - } - else if (.@god_treasure1 < 950) { - getitem 5167,1; // Munak_Turban_ - } - else { - getitem 5018,1; // Feather_Bonnet - } - } else if (.@god_treasure < 501) { - if (.@god_treasure1 < 85) { - getitem 2310,1; // Coat_ - } - else if (.@god_treasure1 < 170) { - getitem 2311,1; // Mink_Coat - } - else if (.@god_treasure1 < 255) { - getitem 2313,1; // Padded_Armor_ - } - else if (.@god_treasure1 < 340) { - getitem 2317,1; // Plate_Armor_ - } - else if (.@god_treasure1 < 425) { - getitem 2319,1; // Glittering_Clothes - } - else if (.@god_treasure1 < 510) { - getitem 2320,1; // Formal_Suit - } - else if (.@god_treasure1 < 595) { - getitem 2322,1; // Silk_Robe_ - } - else if (.@god_treasure1 < 680) { - getitem 2359,1; // Ninja_Suit_ - } - else if (.@god_treasure1 < 765) { - getitem 2326,1; // Saint_Robe_ - } - else if (.@god_treasure1 < 850) { - getitem 2342,1; // Full_Plate_Armor_ - } - else if (.@god_treasure1 < 935) { - getitem 2331,1; // Tights_ - } - else { - getitem 2336,1; // Thief_Clothes_ - } - } - else if (.@god_treasure < 601) { - if (.@god_treasure1 < 200) { - getitem 2422,1; // High_Fashion_Sandals - } - else if (.@god_treasure1 < 400) { - getitem 2404,1; // Shoes_ - } - else if (.@god_treasure1 < 600) { - getitem 2406,1; // Boots_ - } - else if (.@god_treasure1 < 800) { - getitem 2407,1; // Chrystal_Pumps - } - else { - getitem 2412,1; // Grave_ - } - } - else if (.@god_treasure < 701) { - if (.@god_treasure1 < 200) { - getitem 2513,1; // Celestial_Robe - } - else if (.@god_treasure1 < 400) { - getitem 2504,1; // Muffler_ - } - else if (.@god_treasure1 < 600) { - getitem 2506,1; // Manteau_ - } - else if (.@god_treasure1 < 800) { - getitem 2514,1; // Pauldron - } - else { - getitem 2508,1; // Ragamuffin_Cape - } - } - else if (.@god_treasure < 801) { - if (.@god_treasure1 < 110) { - getitem 1122,1; // Ring_ - } - else if (.@god_treasure1 < 220) { - getitem 2622,1; // Earring_ - } - else if (.@god_treasure1 < 330) { - getitem 2623,1; // Necklace_ - } - else if (.@god_treasure1 < 440) { - getitem 2624,1; // Glove_ - } - else if (.@god_treasure1 < 550) { - getitem 2625,1; // Brooch_ - } - else if (.@god_treasure1 < 660) { - getitem 2607,1; // Clip - } - else if (.@god_treasure1 < 770) { - getitem 2626,1; // Rosary_ - } - else if (.@god_treasure1 < 880) { - getitem 2617,1; // Mitten_Of_Presbyter - } - else { - getitem 2671,1; // Thimble_Of_Archer_ - } - } - else { - if (.@god_treasure1 < 150) { - getitem 2281,1; // Phantom_Of_Opera - } - else if (.@god_treasure1 < 260) { - getitem 2297,1; // Goblini_Mask - } - else if (.@god_treasure1 < 370) { - getitem 5087,1; // Goblin_Mask_01 - } - else if (.@god_treasure1 < 480) { - getitem 5088,1; // Goblin_Mask_02 - } - else if (.@god_treasure1 < 590) { - getitem 5089,1; // Goblin_Mask_03 - } - else if (.@god_treasure1 < 700) { - getitem 5090,1; // Goblin_Mask_04 - } - else if (.@god_treasure1 < 810) { - getitem 5086,1; // Alarm_Mask + if (.@god_treasure1 < 150) getitem 2288,1; //Mr_Scream + else if (.@god_treasure1 < 260) getitem 2297,1; //Goblini_Mask + else if (.@god_treasure1 < 370) getitem 5087,1; //Goblin_Mask_01 + else if (.@god_treasure1 < 480) getitem 5088,1; //Goblin_Mask_02 + else if (.@god_treasure1 < 590) getitem 5089,1; //Goblin_Mask_03 + else if (.@god_treasure1 < 700) getitem 5090,1; //Goblin_Mask_04 + else if (.@god_treasure1 < 810) getitem 5046,1; //Bongun_Hat + else if (.@god_treasure1 < 920) getitem 2264,1; //Munak_Turban + else getitem 2225,1; //Goggle_ + } + } else { + if (.@god_treasure < 101) { + if (.@god_treasure1 < 210) getitem 2102,1; //Guard_ + else if (.@god_treasure1 < 420) getitem 2104,1; //Buckler_ + else if (.@god_treasure1 < 630) getitem 2106,1; //Shield_ + else if (.@god_treasure1 < 840) getitem 2108,1; //Mirror_Shield_ + else getitem 2109,1; //Memorize_Book + } + else if (.@god_treasure < 201) { + if (.@god_treasure1 < 48) getitem 2254,1; //Angelic_Chain + else if (.@god_treasure1 < 96) getitem 2210,1; //Hair_Band + else if (.@god_treasure1 < 150) getitem 2213,1; //Cat_Hairband + else if (.@god_treasure1 < 190) getitem 2255,1; //Satanic_Chain + else if (.@god_treasure1 < 238) getitem 2217,1; //Biretta_ + else if (.@god_treasure1 < 290) getitem 2223,1; //Turban_ + else if (.@god_treasure1 < 340) getitem 2227,1; //Cap_ + else if (.@god_treasure1 < 348) getitem 2229,1; //Helm_ + else if (.@god_treasure1 < 400) getitem 2231,1; //Gemmed_Sallet_ + else if (.@god_treasure1 < 448) getitem 2233,1; //Circlet_ + else if (.@god_treasure1 < 496) getitem 5053,1; //Spinx_Helm + else if (.@god_treasure1 < 544) getitem 5019,1; //Corsair + else if (.@god_treasure1 < 592) getitem 2245,1; //Sweet_Gents + else if (.@god_treasure1 < 640) getitem 2247,1; //Oldman's_Romance + else if (.@god_treasure1 < 688) getitem 2248,1; //Western_Grace + else if (.@god_treasure1 < 736) getitem 5166,1; //Spinx_Helm_ + else if (.@god_treasure1 < 784) getitem 5158,1; //Holy_Bonnet_ + else if (.@god_treasure1 < 832) getitem 2249,1; //Coronet + else if (.@god_treasure1 < 880) getitem 5157,1; //Viking_Helm_ + else if (.@god_treasure1 < 940) getitem 2285,1; //Apple_Of_Archer + else getitem 5093,1; //Blue_Coif_ + } + else if (.@god_treasure < 301) { + if (.@god_treasure1 < 160) getitem 5014,1; //Fin_Helm + else if (.@god_treasure1 < 320) getitem 5005,1; //Gas_Mask + else if (.@god_treasure1 < 480) getitem 5054,1; //Assasin_Mask + else if (.@god_treasure1 < 540) getitem 2265,1; //Ganster_Mask + else if (.@god_treasure1 < 700) getitem 2266,1; //Iron_Cane + else if (.@god_treasure1 < 800) getitem 2260,1; //Mini_Glasses + else if (.@god_treasure1 < 900) getitem 5113,1; //Angry_Mouth + else { + // Pirate Dagger is iRO only, and requires extra files in client. + //getitem 5305,1 //Pirate_Dagger + getitem 2270,1; //Centimental_Leaf + } } - else if (.@god_treasure1 < 920) { - getitem 2292,1; // Welding_Mask + else if (.@god_treasure < 401) { + if (.@god_treasure1 < 70) getitem 2286,1; //Elven_Ears + else if (.@god_treasure1 < 140) getitem 5002,1; //Gemmed_Crown + else if (.@god_treasure1 < 210) getitem 5147,1; //Baseball_Cap + else if (.@god_treasure1 < 280) getitem 2217,1; //Biretta_ + else if (.@god_treasure1 < 350) getitem 5120,1; //Fedora_ + else if (.@god_treasure1 < 420) getitem 2261,1; //Prontera_Army_Cap + else if (.@god_treasure1 < 490) getitem 5162,1; //Bone_Helm_ + else if (.@god_treasure1 < 560) getitem 5030,1; //Panda_Cap + else if (.@god_treasure1 < 630) getitem 5109,1; //Red_Bonnet + else if (.@god_treasure1 < 700) getitem 5084,1; //Lazy_Raccoon + else if (.@god_treasure1 < 770) getitem 5168,1; //Bongun_Hat_ + else if (.@god_treasure1 < 840) getitem 2214,1; //Bunny_Band + else if (.@god_treasure1 < 900) getitem 2295,1; //Blinker + else if (.@god_treasure1 < 950) getitem 5167,1; //Munak_Turban_ + else getitem 5018,1; //Feather_Bonnet + } else if (.@god_treasure < 501) { + if (.@god_treasure1 < 85) getitem 2310,1; //Coat_ + else if (.@god_treasure1 < 170) getitem 2311,1; //Mink_Coat + else if (.@god_treasure1 < 255) getitem 2313,1; //Padded_Armor_ + else if (.@god_treasure1 < 340) getitem 2317,1; //Plate_Armor_ + else if (.@god_treasure1 < 425) getitem 2319,1; //Glittering_Clothes + else if (.@god_treasure1 < 510) getitem 2320,1; //Formal_Suit + else if (.@god_treasure1 < 595) getitem 2322,1; //Silk_Robe_ + else if (.@god_treasure1 < 680) getitem 2359,1; //Ninja_Suit_ + else if (.@god_treasure1 < 765) getitem 2326,1; //Saint_Robe_ + else if (.@god_treasure1 < 850) getitem 2342,1; //Full_Plate_Armor_ + else if (.@god_treasure1 < 935) getitem 2331,1; //Tights_ + else getitem 2336,1; //Thief_Clothes_ + } + else if (.@god_treasure < 601) { + if (.@god_treasure1 < 200) getitem 2422,1; //High_Fashion_Sandals + else if (.@god_treasure1 < 400) getitem 2404,1; //Shoes_ + else if (.@god_treasure1 < 600) getitem 2406,1; //Boots_ + else if (.@god_treasure1 < 800) getitem 2407,1; //Chrystal_Pumps + else getitem 2412,1; //Grave_ + } + else if (.@god_treasure < 701) { + if (.@god_treasure1 < 200) getitem 2513,1; //Celestial_Robe + else if (.@god_treasure1 < 400) getitem 2504,1; //Muffler_ + else if (.@god_treasure1 < 600) getitem 2506,1; //Manteau_ + else if (.@god_treasure1 < 800) getitem 2514,1; //Pauldron + else getitem 2508,1; //Ragamuffin_Cape + } + else if (.@god_treasure < 801) { + if (.@god_treasure1 < 110) getitem 1122,1; //Ring_ + else if (.@god_treasure1 < 220) getitem 2622,1; //Earring_ + else if (.@god_treasure1 < 330) getitem 2623,1; //Necklace_ + else if (.@god_treasure1 < 440) getitem 2624,1; //Glove_ + else if (.@god_treasure1 < 550) getitem 2625,1; //Brooch_ + else if (.@god_treasure1 < 660) getitem 2607,1; //Clip + else if (.@god_treasure1 < 770) getitem 2626,1; //Rosary_ + else if (.@god_treasure1 < 880) getitem 2617,1; //Mitten_Of_Presbyter + else getitem 2671,1; //Thimble_Of_Archer_ } else { - getitem 5006,1; // Machoman_Glasses + if (.@god_treasure1 < 150) getitem 2281,1; //Phantom_Of_Opera + else if (.@god_treasure1 < 260) getitem 2297,1; //Goblini_Mask + else if (.@god_treasure1 < 370) getitem 5087,1; //Goblin_Mask_01 + else if (.@god_treasure1 < 480) getitem 5088,1; //Goblin_Mask_02 + else if (.@god_treasure1 < 590) getitem 5089,1; //Goblin_Mask_03 + else if (.@god_treasure1 < 700) getitem 5090,1; //Goblin_Mask_04 + else if (.@god_treasure1 < 810) getitem 5086,1; //Alarm_Mask + else if (.@god_treasure1 < 920) getitem 2292,1; //Welding_Mask + else getitem 5006,1; //Machoman_Glasses } } next; @@ -573,7 +506,7 @@ que_god01,98,98,4 script Manager#G 69,{ } que_god01,66,125,6 script Researcher#G1 89,{ - if ($God1 < 100) { + if ($God1 < $@god_check2) { if (god_sl_1 == 2) { set god_sl_1,11; } @@ -739,7 +672,7 @@ que_god01,66,125,6 script Researcher#G1 89,{ } que_god01,11,136,6 script Researcher#G2 742,{ - if ($God1 < 100) { + if ($God1 < $@god_check2) { if (god_sl_1 == 2) { set god_sl_1,21; } @@ -958,7 +891,7 @@ que_god01,11,136,6 script Researcher#G2 742,{ } que_god01,55,47,3 script Researcher#G3 803,{ - if (god_sl2 < 100) { + if ($God1 < $@god_check2) { if (god_sl_1 == 2) { set god_sl_1,31; } @@ -1224,7 +1157,7 @@ que_god01,55,47,3 script Researcher#G3 803,{ } que_god01,14,47,3 script Researcher#G4 713,{ - if ($God1 < 100) { + if ($God1 < $@god_check2) { if (god_sl_1 == 2) { set god_sl_1,41; } @@ -1330,7 +1263,7 @@ que_god01,14,47,3 script Researcher#G4 713,{ } que_god01,20,48,0 script Slab#G 111,{ - if ($God1 < 100) { + if ($God1 < $@god_check2) { if ((god_sl_1 == 41) || (god_sl_1 == 12) || (god_sl_1 == 23) || (god_sl_1 == 34)) { if ((god_sl_2 == 1) || (god_sl_2 == 2)) { mes "....whgks ^ff00ffdirdnl^000000sjs wkrdjswhgks whdtnfb"; @@ -1476,7 +1409,7 @@ que_god01,20,48,0 script Slab#G 111,{ } payon,79,171,4 script Friar#G5 95,{ - if ($God1 < 100) { + if ($God1 < $@god_check2) { if ((god_sl_1 == 21) || (god_sl_1 == 32) || (god_sl_1 == 43) || (god_sl_1 == 14)) { if ((god_sl_2 == 1) || (god_sl_2 == 3)) { mes "[Lania]"; |