diff options
Diffstat (limited to 'npc/quests/seals')
-rw-r--r-- | npc/quests/seals/brisingamen_seal.txt | 171 | ||||
-rw-r--r-- | npc/quests/seals/god_global.txt | 16 | ||||
-rw-r--r-- | npc/quests/seals/god_weapon_creation.txt | 42 | ||||
-rw-r--r-- | npc/quests/seals/megingard_seal.txt | 124 | ||||
-rw-r--r-- | npc/quests/seals/mjolnir_seal.txt | 296 | ||||
-rw-r--r-- | npc/quests/seals/seal_status.txt | 12 | ||||
-rw-r--r-- | npc/quests/seals/sleipnir_seal.txt | 122 |
7 files changed, 389 insertions, 394 deletions
diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index a519a5e62..34e1a76b0 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -440,7 +440,7 @@ prt_fild08,175,374,3 script Bard#brising 1_M_BARD,{ next; mes "[Nelliorde]"; mes "Alright, I shall contact him right away! Oh, and you can find the Monster Organization west of Juno's central plaza. It shouldn't be hard to find. Good luck!"; - set god_brising,1; + god_brising = 1; close2; break; case 2: @@ -888,7 +888,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "[Enrico Kaili]"; mes "Please..."; mes "Take this."; - set god_brising,50; + god_brising = 50; getitem 616,1; // Old_Card_Album getexp (checkre(3))?60000:600000,0; next; @@ -896,7 +896,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ 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; + $God3 += 1; if ($God3 == $@god_check1) announce "The 3rd Seal of [Brisingamen] has appeared.",bc_all; else if ($God3 == $@god_check2) { @@ -961,7 +961,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "waiting for? Please"; mes "come back as soon"; mes "as possible."; - set god_brising,48; + god_brising = 48; close; case 2: mes "[" + strcharinfo(0) + "]"; @@ -981,7 +981,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "Hurry and seek him"; mes "out! And I thank you"; mes "in advance."; - set god_brising,48; + god_brising = 48; close; } } @@ -1192,7 +1192,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "able to learn what"; mes "the goddess Freya has"; mes "left behind in Rune-Midgard..."; - set god_brising,40; + god_brising = 40; close; case 2: mes "[Enrico Kaili]"; @@ -1211,7 +1211,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "able to learn what"; mes "the goddess Freya has"; mes "left behind in Rune-Midgard..."; - set god_brising,40; + god_brising = 40; close; } } @@ -1306,7 +1306,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "letter addressed to Hermite"; mes "Charles that is sealed with"; mes "red wax.^000000"; - set god_brising,3; + god_brising = 3; close; } } @@ -1329,7 +1329,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ next; mes "[Enrico Kaili]"; mes "I suppose I can try to find another adventurer to help me. But if you change your mind later, please do not hesitate to lend me your assistance."; - set god_brising,2; + god_brising = 2; close; case 2: mes "[Enrico Kaili]"; @@ -1363,7 +1363,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ mes "letter addressed to Hermite"; mes "Charles that is sealed with"; mes "red wax.^000000"; - set god_brising,3; + god_brising = 3; close; } } @@ -1395,7 +1395,7 @@ yuno_in04,47,113,1 script Studying Scholar#1 4_M_ALCHE_B,{ } prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ - if ($God2 < $@god_check1) { + if ($God2 < $@god_check1) { mes "[Praying Man]"; mes "Let everyone live a life"; mes "of happiness. Let there be"; @@ -1475,7 +1475,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "You know everything now."; mes "Please leave me alone."; mes "^333333*Sigh...*^000000"; - set god_brising,35; + god_brising = 35; close; } else if (god_brising > 19 && god_brising < 34) { @@ -1495,7 +1495,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "for the trouble,"; mes "but I think you"; mes "better try again."; - set god_brising,10; + god_brising = 10; close; } else if (god_brising == 11) { @@ -1519,7 +1519,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "killed her?!"; mes "Don't you understand"; mes "the way I feel?"; - set god_brising,20; + god_brising = 20; close; } else if (god_brising == 10) { @@ -1629,14 +1629,14 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "anything that"; mes "you can. I beg"; mes "of you..."; - set god_brising,10; + god_brising = 10; close; case 2: mes "[Hermite Charles]"; mes "^333333*Sigh*^000000"; mes "I understand."; mes "But if you don't help me, then Kaili won't get the help he needs..."; - set god_brising,9; + god_brising = 9; close; } case 2: @@ -1649,7 +1649,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ next; mes "[Hermite Charles]"; mes "All I can do for her is just earnestly pray. I had no idea it'd be so horrible not to be able to see her anymore..."; - set god_brising,9; + god_brising = 9; close; case 3: mes "[Hermite Charles]"; @@ -1674,7 +1674,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "That was the last time..."; mes "Please find out anything"; mes "you can. I beg you..."; - set god_brising,10; + god_brising = 10; close; } case 2: @@ -1686,7 +1686,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "I won't waste any more of"; mes "your time. I'll accept Kaili's letter and wait until I find someone who'll listen to"; mes "my story and help me."; - set god_brising,5; + god_brising = 5; close; } } @@ -1715,7 +1715,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ switch(select("Leave him alone.:Give him Kaili's Letter.")) { case 1: mes "^3355FFYou're not sure why he's so upset, but it doesn't seem to be the best time to try to speak with him. Perhaps later would be better...^000000"; - set god_brising,4; + god_brising = 4; close; case 2: mes "[Hermite Charles]"; @@ -1818,14 +1818,14 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "anything that"; mes "you can. I beg"; mes "of you..."; - set god_brising,10; + god_brising = 10; close; case 2: mes "[Hermite Charles]"; mes "^333333*Sigh*^000000"; mes "I understand."; mes "But if you don't help me, then Kaili won't get the help he needs..."; - set god_brising,9; + god_brising = 9; close; } case 2: @@ -1838,7 +1838,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ next; mes "[Hermite Charles]"; mes "All I can do for her is just earnestly pray. I had no idea it'd be so horrible not to be able to see her anymore..."; - set god_brising,9; + god_brising = 9; close; case 3: mes "[Hermite Charles]"; @@ -1863,7 +1863,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "That was the last time..."; mes "Please find out anything"; mes "you can. I beg you..."; - set god_brising,10; + god_brising = 10; close; } case 2: @@ -1875,7 +1875,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "I won't waste any more of"; mes "your time. I'll accept Kaili's letter and wait until I find someone who'll listen to"; mes "my story and help me."; - set god_brising,5; + god_brising = 5; close; } } @@ -1903,7 +1903,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ switch(select("Leave him alone.:Give him Kaili's Letter.")) { case 1: mes "^3355FFYou're not sure why he's so upset, but it doesn't seem to be the best time to try to speak with him. Perhaps later would be better...^000000"; - set god_brising,4; + god_brising = 4; close; case 2: mes "[Hermite Charles]"; @@ -2006,14 +2006,14 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "anything that"; mes "you can. I beg"; mes "of you..."; - set god_brising,10; + god_brising = 10; close; case 2: mes "[Hermite Charles]"; mes "^333333*Sigh*^000000"; mes "I understand."; mes "But if you don't help me, then Kaili won't get the help he needs..."; - set god_brising,9; + god_brising = 9; close; } case 2: @@ -2026,7 +2026,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ next; mes "[Hermite Charles]"; mes "All I can do for her is just earnestly pray. I had no idea it'd be so horrible not to be able to see her anymore..."; - set god_brising,9; + god_brising = 9; close; case 3: mes "[Hermite Charles]"; @@ -2051,7 +2051,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "That was the last time..."; mes "Please find out anything"; mes "you can. I beg you..."; - set god_brising,10; + god_brising = 10; close; } case 2: @@ -2063,7 +2063,7 @@ prt_church,113,103,1 script Praying Man 4_M_NFMAN,{ mes "I won't waste any more of"; mes "your time. I'll accept Kaili's letter and wait until I find someone who'll listen to"; mes "my story and help me."; - set god_brising,5; + god_brising = 5; close; } } @@ -2110,7 +2110,7 @@ prt_castle,80,52,0 script Personnel Record#book1 HIDDEN_NPC,{ mes "saying anything. Huh."; mes "Now let's see..."; next; - set .@bookrand,rand(1,3); + .@bookrand = rand(1,3); if (.@bookrand == 1) { mes "[Personnel Record]"; mes "^663300Lowen, of the 2nd squad, returned to her detachment 3 days after the incident. A trial was held, and she was judged guilty of fleeing when ordered to fight.^000000"; @@ -2145,7 +2145,7 @@ prt_castle,80,52,0 script Personnel Record#book1 HIDDEN_NPC,{ mes "who are you!"; mes "Get the hell"; mes "out of here!"; - set god_brising,30; + god_brising = 30; close2; warp "prt_castle",94,37; end; @@ -2178,7 +2178,7 @@ prt_castle,80,52,0 script Personnel Record#book1 HIDDEN_NPC,{ mes "information the"; mes "Librarian told me!"; next; - set .@bookrand,rand(1,3); + .@bookrand = rand(1,3); if (.@bookrand == 1) { mes "[" + strcharinfo(0) + "]"; mes "I should read this"; @@ -2230,7 +2230,7 @@ prt_castle,80,52,0 script Personnel Record#book1 HIDDEN_NPC,{ mes "who are you!"; mes "Get the hell"; mes "out of here!"; - set god_brising,30; + god_brising = 30; close2; warp "prt_castle",94,37; end; @@ -2242,7 +2242,7 @@ prt_castle,80,52,0 script Personnel Record#book1 HIDDEN_NPC,{ mes "who are you!"; mes "Get the hell"; mes "out of here!"; - set god_brising,26; + god_brising = 26; next; mes "["+ strcharinfo(0) +"]"; mes "(Nuts...!"; @@ -2269,13 +2269,13 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ mes "Don't touch anything!"; close; } - if ($God3 >= $@god_check2) { + if ($God3 >= $@god_check2) { mes "[Librarian]"; mes "What are you doing here?"; mes "Don't touch anything!"; close; } - if (god_brising > 24 && god_brising < 27) { + if (god_brising > 24 && god_brising < 27) { mes "[Librarian]"; mes "Zzzzz..."; mes "...Zzzzz..."; @@ -2283,8 +2283,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ next; mes "^3355FFThis librarian seems to be deeply asleep. It'd be smarter not to wake him if you want to check the Crusader Personnel Records.^000000"; close; - } - else if (god_brising == 10) { + } else if (god_brising == 10) { mes "[Librarian]"; mes "All confidential personnel records are kept here in the royal library. However, you need authorization"; mes "for full access."; @@ -2341,7 +2340,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ mes "I'm sorry, but"; mes "that's all I know."; mes "Thank you..."; - set god_brising,11; + god_brising = 11; close; } case 2: @@ -2369,7 +2368,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ mes "information I have,"; mes "sir. I'm truly sorry"; mes "for your loss."; - set god_brising,11; + god_brising = 11; close; } else { @@ -2416,7 +2415,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ next; mes "[Librarian]"; mes "He retired from the service a few years ago. I'd like to give you his address, but we don't have any of that information."; - set god_brising,12; + god_brising = 12; close; } } @@ -2526,10 +2525,9 @@ prontera,260,354,4 script Woman#Rosa Ellenen 4W_F_01,{ mes "Crusader Personnel"; mes "Records that might"; mes "explain something?"; - set god_brising,25; + god_brising = 25; close; - } - else if ((god_brising) > 9 && (god_brising < 20)) { + } else if ((god_brising) > 9 && (god_brising < 20)) { mes "[Rosa Ellenen]"; mes "This is my little"; mes "sister's grave..."; @@ -2548,10 +2546,9 @@ prontera,260,354,4 script Woman#Rosa Ellenen 4W_F_01,{ mes "[Rosa Ellenen]"; mes "Anyway, thank you for visiting"; mes "my little sister. It's good to know she has friends, even after she's passed on."; - set god_brising,11; + god_brising = 11; close; - } - else { + } else { mes "[Rosa Ellenen]"; mes "Oh hello..."; mes "Have you come"; @@ -2588,7 +2585,7 @@ prontera,262,353,0 script Gravestone HIDDEN_NPC,{ close; } } - + gef_dun01,89,192,0 script #lowentrace HIDDEN_NPC,3,3,{ if ($God2 < $@god_check1) { mes "^3355FFIt's just an old,"; @@ -2694,7 +2691,7 @@ gef_dun01,89,192,0 script #lowentrace HIDDEN_NPC,3,3,{ mes "[The voice of a female]"; mes "^6E7B8BUm..."; mes "If you want to meet me again, just say my name out loud. '^000000Lowen^6E7B8B.'^000000"; - set god_brising,21; + god_brising = 21; close; } } @@ -2826,7 +2823,7 @@ gef_dun01,203,48,0 script #lowentrace1 HIDDEN_NPC,3,3,{ mes "[The voice of a female]"; mes "^6E7B8BUm..."; mes "If you want to meet me again, just say my name out loud. '^000000Lowen^6E7B8B.'^000000"; - set god_brising,21; + god_brising = 21; close; } } @@ -2929,7 +2926,7 @@ que_god02,48,55,3 script Lowen Ellenen 4_F_CRU,{ mes "[" + strcharinfo(0) + "]"; mes "Now,"; mes "shall we go in?"; - set god_brising,31; + god_brising = 31; close; } } @@ -2952,7 +2949,7 @@ que_god02,48,55,3 script Lowen Ellenen 4_F_CRU,{ } que_god02,54,64,4 script Soldier#1_brising 8W_SOLDIER,1,1,{ - if (god_brising == 31) { + if (god_brising == 31) { mes "[Soldier]"; mes "Have you volunteered for monster subjugation? Would you like to start the mission now?"; next; @@ -3040,7 +3037,7 @@ OnTimer550500: end; } - + que_god02,1,1,1 script #brisinsummon -1,{ OnInit: @@ -3111,7 +3108,7 @@ OnLowen2Off: end; OnSummon: - set .brisinmobdead,9; + .brisinmobdead = 9; monster "que_god02",34,128,"",1015,1,"#brisinsummon::OnMobDeath"; monster "que_god02",34,127,"",1015,1,"#brisinsummon::OnMobDeath"; monster "que_god02",80,127,"",1015,1,"#brisinsummon::OnMobDeath"; @@ -3124,9 +3121,9 @@ OnSummon: end; OnMobDeath: - set .brisinmobdead,.brisinmobdead -1; + --.brisinmobdead; if (.brisinmobdead > 0) end; - set god_brising,31; + god_brising = 31; hideoffnpc "Valkyrie#1"; end; @@ -3237,7 +3234,7 @@ OnTouch: } que_god02,124,59,7 script #hermite 4_M_NFMAN,{ end; } - + que_god02,120,52,0 script #monologue HIDDEN_WARP_NPC,0,0,{ OnTouch: @@ -3400,7 +3397,7 @@ que_god02,178,127,3 script Valkyrie#1 4_F_VALKYRIE,{ mes "I shall send you"; mes "back to where you"; mes "belong."; - set god_brising,34; + god_brising = 34; next; mes "[Valkyrie]"; mes "For Odin's honor..."; @@ -3484,7 +3481,7 @@ que_god02,178,127,3 script Valkyrie#1 4_F_VALKYRIE,{ mes "I shall send you"; mes "back to where you"; mes "belong."; - set god_brising,34; + god_brising = 34; next; mes "[Valkyrie]"; mes "For Odin's honor..."; @@ -3553,7 +3550,7 @@ xmas,38,105,0 script #brisindwarf1 HIDDEN_NPC,3,3,{ case 4: mes "[" + strcharinfo(0) + "]"; mes "The beauty of the stars"; - set .@point,.@point + 10; + .@point += 10; break; case 5: mes "[" + strcharinfo(0) + "]"; @@ -3566,7 +3563,7 @@ xmas,38,105,0 script #brisindwarf1 HIDDEN_NPC,3,3,{ break; case 2: mes "Wanes in comparison."; - set .@point,.@point + 10; + .@point += 10; break; case 3: mes "All of our hearts in"; @@ -3593,13 +3590,13 @@ xmas,38,105,0 script #brisindwarf1 HIDDEN_NPC,3,3,{ break; case 5: mes "We lost our hearts"; - set .@point,.@point + 10; + .@point += 10; break; } switch(select("To that golden hair:To that beautiful hair:All of our hearts in:To the steps in:To those dazzling eyes")) { case 1: mes "To that golden hair"; - set .@point,.@point + 10; + .@point += 10; break; case 2: mes "To that beautiful hair"; @@ -3623,7 +3620,7 @@ xmas,38,105,0 script #brisindwarf1 HIDDEN_NPC,3,3,{ break; case 3: mes "And those dazzling eyes."; - set .@point,.@point + 10; + .@point += 10; break; case 4: mes "To the steps in"; @@ -3736,7 +3733,7 @@ xmas,36,103,4 script Alfrik#1 4_M_DWARF,{ mes "Now..."; mes "Leave me"; mes "in peace."; - set god_brising,49; + god_brising = 49; close2; hideonnpc "Alfrik#1"; end; @@ -3801,7 +3798,7 @@ xmas,36,103,4 script Alfrik#1 4_M_DWARF,{ mes "[Alfrik]"; mes "Go wake all my brothers!"; mes "Let's see if the Brisingamen can be made once again! First, go and wake Dvalin before the gods and giants find out!"; - set god_brising,41; + god_brising = 41; close2; hideonnpc "Alfrik#1"; end; @@ -3855,7 +3852,7 @@ xmas,36,103,4 script Alfrik#1 4_M_DWARF,{ mes "[Alfrik]"; mes "Go wake all my brothers!"; mes "Let's see if the Brisingamen can be made once again! First, go and wake Dvalin before the gods and giants find out!"; - set god_brising,41; + god_brising = 41; close2; hideonnpc "Alfrik#1"; end; @@ -3893,7 +3890,7 @@ xmas,36,103,4 script Alfrik#1 4_M_DWARF,{ mes "We surrendered our hearts"; mes "To those tender teardrops"; mes "Those seductive red lips.^000000"; - set god_brising,42; + god_brising = 42; close2; hideonnpc "Alfrik#1"; end; @@ -3931,7 +3928,7 @@ xmas,36,103,4 script Alfrik#1 4_M_DWARF,{ mes "We surrendered our hearts"; mes "To those tender teardrops"; mes "Those seductive red lips.^000000"; - set god_brising,42; + god_brising = 42; close2; hideonnpc "Alfrik#1"; end; @@ -4021,7 +4018,7 @@ prt_fild02,185,269,0 script #brisindwarf2 HIDDEN_NPC,3,3,{ mes "[" + strcharinfo(0) + "]"; mes "Another puzzle?"; mes "This was just like when I had to give Alfrik's password. Okay, let me see..."; - set .@point,0; + .@point = 0; next; switch(select("To the tear drops dripping on the way:Her lovely scent:We gave:To the seducing red lips:Our hearts in")) { case 1: @@ -4031,7 +4028,7 @@ prt_fild02,185,269,0 script #brisindwarf2 HIDDEN_NPC,3,3,{ case 2: mes "["+ strcharinfo(0) +"]"; mes "Her lovely scent"; - set .@point,.@point + 10; + .@point += 10; break; case 3: mes "["+ strcharinfo(0) +"]"; @@ -4049,7 +4046,7 @@ prt_fild02,185,269,0 script #brisindwarf2 HIDDEN_NPC,3,3,{ switch(select("Still lingers in the wind.:To the scent drifted in the wind:We gave:To the seducing red lips:Our hearts in")) { case 1: mes "Still lingers in the wind."; - set .@point,.@point + 10; + .@point += 10; break; case 2: mes "To the scent drifted in the wind"; @@ -4075,7 +4072,7 @@ prt_fild02,185,269,0 script #brisindwarf2 HIDDEN_NPC,3,3,{ break; case 4: mes "We surrendered our hearts"; - set .@point,.@point + 10; + .@point += 10; case 5: mes "Our hearts in"; break; @@ -4089,7 +4086,7 @@ prt_fild02,185,269,0 script #brisindwarf2 HIDDEN_NPC,3,3,{ break; case 3: mes "To those tender teardrops"; - set .@point,.@point + 10; + .@point += 10; break; case 4: mes "To the seducing red lips"; @@ -4113,7 +4110,7 @@ prt_fild02,185,269,0 script #brisindwarf2 HIDDEN_NPC,3,3,{ break; case 5: mes "Those seductive red lips"; - set .@point,.@point + 10; + .@point += 10; break; } next; @@ -4245,7 +4242,7 @@ prt_fild02,185,270,3 script Dvalin#1 4_M_DWARF,{ mes "you are the one who"; mes "can answer the question."; mes "Hahahaha!"; - set god_brising,43; + god_brising = 43; close2; hideonnpc "Dvalin#1"; end; @@ -4429,7 +4426,7 @@ mjolnir_09,87,129,3 script Berling#1 4_M_DWARF,{ mes "[Berling]"; mes "Memorize all five lines of this song exactly. Now take this golden teardrop and please seek out Grer."; specialeffect2 EF_IMPOSITIO; - set god_brising,44; + god_brising = 44; close2; hideonnpc "Berling#1"; end; @@ -4509,35 +4506,35 @@ mjo_dun02,126,36,0 script #brisindwarf4 HIDDEN_NPC,3,3,{ mes "What was the first line...?"; next; input @dwarfsong1$; - if (@dwarfsong1$ == "No jewel in the world can compare.") set @point,@point +1; + if (@dwarfsong1$ == "No jewel in the world can compare.") @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.") @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.") @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.") @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.") @point += 1; mes "[" + strcharinfo(0) + "]"; mes " " + @dwarfsong5$ + ""; mes "Alright, let's give it a try."; @@ -4555,7 +4552,7 @@ mjo_dun02,126,36,0 script #brisindwarf4 HIDDEN_NPC,3,3,{ mes "Wha--?"; mes "Berling"; mes "did send you!"; - set god_brising,46; + god_brising = 46; stopnpctimer; close; } @@ -4599,7 +4596,7 @@ OnTouch: mes "Lies! Lies!"; mes "Prove it!"; mes "Prove yourself!"; - set god_brising,45; + god_brising = 45; initnpctimer; close; case 2: @@ -4691,7 +4688,7 @@ mjo_dun02,126,34,1 script Grer#1 4_M_DWARF,{ mes "Okay, you"; mes "may go back now!"; mes "Farewell."; - set god_brising,47; + god_brising = 47; close2; hideonnpc "Grer#1"; end; diff --git a/npc/quests/seals/god_global.txt b/npc/quests/seals/god_global.txt index c9daa613e..daeb6ddae 100644 --- a/npc/quests/seals/god_global.txt +++ b/npc/quests/seals/god_global.txt @@ -42,10 +42,10 @@ sec_in02,15,170,0 script Golbal var 4_F_CHNDRESS3,{ mes "[Check]"; mes "Now, the entire list of God Globalvar is being reset."; next; - set $God1,0; - set $God2,0; - set $God3,0; - set $God4,0; + $God1 = 0; + $God2 = 0; + $God3 = 0; + $God4 = 0; mes "^0000FF$God1^000000 = ^FF0000" + $God1 + "^000000."; mes "^0000FF$God2^000000 = ^FF0000" + $God2 + "^000000."; mes "^0000FF$God3^000000 = ^FF0000" + $God3 + "^000000."; @@ -101,11 +101,11 @@ L_Var: 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; + $@god_check1 = 25; + $@god_check2 = 50; } else { - set $@god_check1,50; - set $@god_check2,100; + $@god_check1 = 50; + $@god_check2 = 100; } end; } diff --git a/npc/quests/seals/god_weapon_creation.txt b/npc/quests/seals/god_weapon_creation.txt index 16494cd5f..2fc778eaa 100644 --- a/npc/quests/seals/god_weapon_creation.txt +++ b/npc/quests/seals/god_weapon_creation.txt @@ -68,7 +68,7 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 4_M_DWARF,{ mes "At least I was fortunate enough to find this cave. We Dwarves are most cozy living underground, after all."; close; case 3: - set .@GID,getcharid(2); + .@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]"; @@ -391,7 +391,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ mes "pity for you~"; close; } - set .@GID,getcharid(2); + .@GID = getcharid(2); if (strcharinfo(0) != getguildmaster(.@GID)) { mes "[Dwarf Grunburti]"; mes "How in the..."; @@ -490,10 +490,10 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ delitem 969,20; //Gold delitem 2603,1; //Necklace getitem 2630,1; // Brysinggamen - set $God1,0; - set $God2,0; - set $God3,0; - set $God4,0; + $God1 = 0; + $God2 = 0; + $God3 = 0; + $God4 = 0; announce "[Brisingamen] has come into the hands of [" + strcharinfo(0) + "], master of the [" + getguildname(.@GID) + "] guild.",bc_all; mes "[Dwarf Grunburti]"; mes "Ah, just look at this dazzling beauty. No other piece of jewelry complemented Freya as well as Brisingamen."; @@ -564,10 +564,10 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ delitem 984,10; //Oridecon delitem 2627,1; //Belt getitem 2629,1; // Magingiorde - set $God1,0; - set $God2,0; - set $God3,0; - set $God4,0; + $God1 = 0; + $God2 = 0; + $God3 = 0; + $God4 = 0; announce "[Megingjard] the godly item has been given to [" + strcharinfo(0) + "], the master of the guild [" + getguildname(.@GID) + "].",bc_all; mes "[Dwarf Grunburti]"; mes "Here..."; @@ -654,10 +654,10 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ delitem 985,10; //Elunium delitem 2406,1; //Boots_ getitem 2410,1; // Sleipnir - set $God1,0; - set $God2,0; - set $God3,0; - set $God4,0; + $God1 = 0; + $God2 = 0; + $God3 = 0; + $God4 = 0; announce "[Sleipnir] the godly item has been given to [" + strcharinfo(0) + "], the master of the guild [" + getguildname(.@GID) + "].",bc_all; mes "[Dwarf Grunburti]"; mes "There..."; @@ -743,10 +743,10 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ delitem 969,40; //Gold delitem 1522,1; //Stunner getitem 1530,1; // Mjolnir - set $God1,0; - set $God2,0; - set $God3,0; - set $God4,0; + $God1 = 0; + $God2 = 0; + $God3 = 0; + $God4 = 0; announce "[Mjolnir] has been bestowed to [" + strcharinfo(0) + "], the master of the [" + getguildname(.@GID) + "] guild.",bc_all; mes "[Dwarf Grunburti]"; mes "It's done."; @@ -798,11 +798,11 @@ OnTimer615000: que_god01,169,82,0 script god_wep_warpmaster -1,{ OnEnable: - for(set .@i,1; .@i<=6; set .@i,.@i+1) + for(.@i = 1; .@i<=6; ++.@i) enablenpc "god_failwarp#"+.@i; end; OnDisable: - for(set .@i,1; .@i<=6; set .@i,.@i+1) + for(.@i = 1; .@i<=6; ++.@i) disablenpc "god_failwarp#"+.@i; end; } @@ -828,7 +828,7 @@ que_god01,293,3,0 script Godly Item Quests#god 4_F_01,{ mes "Please enter password."; mes "If you wish to cancel, please enter 0."; next; - set .@i, callfunc("F_GM_NPC",1854,0,0,4000); + .@i = callfunc("F_GM_NPC",1854,0,0,4000); if (.@i == -2) { mes "[Use in case of emergency]"; mes "Password is incorrect."; diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt index 4ca899621..bb0d35f6c 100644 --- a/npc/quests/seals/megingard_seal.txt +++ b/npc/quests/seals/megingard_seal.txt @@ -225,7 +225,7 @@ prt_castle,44,151,0 script Rebarev Doug 1_M_KNIGHTMASTER,{ mes "My old comrades in arms."; mes "You have no idea how much"; mes "I miss them..."; - set god_eremes,1; + god_eremes = 1; break; case 2: mes "[Rebarev Doug]"; @@ -324,7 +324,7 @@ prt_castle,44,151,0 script Rebarev Doug 1_M_KNIGHTMASTER,{ next; mes "[Rebarev Doug]"; mes "Let's not talk about that. What's important that our squad was disbanded because of we failed our final mission. Now, will you please go find ^0000FFThe 3rd Platoon Records^000000 in the Prontera Library for me?"; - set god_eremes,3; + god_eremes = 3; next; mes "[Rebarev Doug]"; mes "Remember, it might be helpful to ask the librarian for the file with a record on ^660000the 1st squad's final mission^000000."; @@ -359,7 +359,7 @@ prt_castle,44,151,0 script Rebarev Doug 1_M_KNIGHTMASTER,{ mes "I wonder what they"; mes "have been doing since"; mes "our ^0000FFfinal mission^000000..."; - set god_eremes,2; + god_eremes = 2; break; } } @@ -451,7 +451,7 @@ prt_castle,44,151,0 script Rebarev Doug 1_M_KNIGHTMASTER,{ mes "[Rebarev Doug]"; mes "I appreciate that you've delivered news of my old comrades to me."; mes "Now, I need to continue my research under the command of his Majesty."; - set god_eremes,21; + god_eremes = 21; break; case 2: mes "^3355FFYou keep your suspicions to yourself and tell Rebarev Doug about the members of"; @@ -468,7 +468,7 @@ prt_castle,44,151,0 script Rebarev Doug 1_M_KNIGHTMASTER,{ mes "[Rebarev Doug]"; mes "I appreciate that you've delivered news of my old comrades to me."; mes "Now, I need to continue my research under the command of his Majesty. Once again, thank you for your help."; - set god_eremes,22; + god_eremes = 22; break; } } @@ -560,7 +560,7 @@ prt_castle,48,164,0 script Crusader#God 4_M_JOB_KNIGHT2,{ next; 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; + ++$God2; if ($God2 == $@god_check1) { announce "The 2nd seal of [Megingjard] has appeared.",bc_all; } @@ -571,10 +571,10 @@ prt_castle,48,164,0 script Crusader#God 4_M_JOB_KNIGHT2,{ announce "The 2nd seal of [Megingjard] has been released.",bc_all; } if (god_eremes == 23) { - set god_eremes,25; + god_eremes = 25; } else if (god_eremes == 24) { - set god_eremes,26; + god_eremes = 26; } close; } @@ -624,7 +624,7 @@ prt_in,172,109,0 script A File#megin1 HIDDEN_NPC,{ 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; + ++god_eremes; close; } else { @@ -655,7 +655,7 @@ prt_in,170,109,0 script A File#megin2 HIDDEN_NPC,{ 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; + ++god_eremes; close; } else { @@ -688,7 +688,7 @@ prt_in,168,109,0 script A File#megin3 HIDDEN_NPC,{ 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; + ++god_eremes; close; } else { @@ -720,7 +720,7 @@ prt_in,169,109,0 script A File#megin4 HIDDEN_NPC,{ 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; + ++god_eremes; close; } else { @@ -753,7 +753,7 @@ prt_in,166,109,0 script A File#megin5 HIDDEN_NPC,{ 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; + ++god_eremes; close; } else { @@ -837,7 +837,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ else if (countitem(1041)) { delitem 1041,countitem(1041); } - set god_eremes,6; + god_eremes = 6; next; mes "[Librarian Jekan]"; mes "Thank you..."; @@ -882,7 +882,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes "classified file as soon"; mes "as I can!"; close2; - set god_eremes,7; + god_eremes = 7; end; } else { @@ -910,7 +910,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes "[Librarian Jekan]"; mes "Damn, my eyes are sore."; 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; + god_eremes = 5; } else if (god_eremes > 4) { mes "[Librarian Jekan]"; @@ -946,7 +946,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes "Hmm...?"; mes "How did you"; mes "know about that?"; - set god_eremes,4; + god_eremes = 4; } else { mes "[Librarian Jekan]"; @@ -1055,7 +1055,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes "Okay, now..."; mes "Come back here"; mes "as soon as you can."; - set god_eremes,13; + god_eremes = 13; close; } else if (god_eremes == 13) { @@ -1074,7 +1074,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ delitem 1024,3; //Chinese_Ink delitem 916,3; //Feather_Of_Birds delitem 717,20; //Blue_Gemstone - set god_eremes,14; + god_eremes = 14; next; mes "[Librarian Jekan]"; mes "Alright then..."; @@ -1110,7 +1110,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ else { mes "[Librarian Jekan]"; mes "Let me go over and review the document before I make a copy..."; - set god_eremes,god_eremes+1; + ++god_eremes; } close; } @@ -1120,7 +1120,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ next; mes "[Librarian Jekan]"; mes "Just remember, this copy needs to stay in the Prontera Library. That means you have to come back if you need to read the document again."; - set god_eremes,17; + god_eremes = 17; close; } else if (god_eremes > 16) { @@ -1174,7 +1174,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes " : Royal Myst"; mes " : The Nineball^000000"; if (god_eremes == 17) { - set god_eremes,18; + god_eremes = 18; } close2; if (compare(.@input$,"record") == 1) { @@ -1197,7 +1197,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes "Most of the members of the 1st Squad were transferred to other squads or retired. Their former leader, Rebarev Doug, is currently in charge of researching godly artifacts under royal edict.^000000"; close2; if (god_eremes == 18) { - set god_eremes,19; + god_eremes = 19; } } } @@ -1267,7 +1267,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes " : The Nineball^000000"; close2; if (god_eremes == 17) { - set god_eremes,18; + god_eremes = 18; } if (compare(.@input$,"record") == 1) { mes "^663300[Keyword: ^9966331st Squad Record^663300]"; @@ -1289,7 +1289,7 @@ prt_in,172,106,0 script Librarian#megin 4_M_ZONDAOYAJI,{ mes "Most of the members of the 1st Squad were transferred to other squads or retired. Their former leader, Rebarev Doug, is currently in charge of researching godly artifacts under royal edict.^000000"; close2; if (god_eremes == 18) { - set god_eremes,19; + god_eremes = 19; } } } @@ -1597,7 +1597,7 @@ geffen_in,109,161,3 script Crusader#God1 4_M_CRU,{ 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) { - set god_megin_1,1; + god_megin_1 = 1; } close; } @@ -1668,7 +1668,7 @@ geffen_in,109,161,3 script Crusader#God1 4_M_CRU,{ next; mes "^3355FFZan stood still in silence, with a pained look on his face.^000000"; if (god_megin_1 == 1) { - set god_megin_1,2; + god_megin_1 = 2; } close; } @@ -1707,7 +1707,7 @@ geffen_in,109,161,3 script Crusader#God1 4_M_CRU,{ mes "I can't think about anything further than that. I can't even remember what we found. Three months after that all happened, I've had these head problems..."; next; mes "^3355FFZan stood still in silence, with a pained look on his face.^000000"; - set god_megin_1,3; + god_megin_1 = 3; close; } else if (god_megin_1 > 2) { @@ -1861,7 +1861,7 @@ morocc_in,146,179,0 script Employee#megin1 1_F_01,{ mes "and I'm saying it just once..."; mes "^0000FFAragham never hoarded"; mes "upgrade items.^000000"; - set god_megin_2,1; + god_megin_2 = 1; close; } case 2: @@ -1903,7 +1903,7 @@ morocc_in,146,179,0 script Employee#megin1 1_F_01,{ mes "you this hint once..."; mes "^0000FFAragham never hoarded"; mes "upgrade items.^000000"; - set god_megin_2,1; + god_megin_2 = 1; close; } case 3: @@ -1941,7 +1941,7 @@ morocc_in,146,179,0 script Employee#megin1 1_F_01,{ mes "^0000FFAragham never"; mes "hoarded upgrade items.^000000"; mes "Now, don't forget!"; - set god_megin_2,1; + god_megin_2 = 1; close; } } @@ -2018,37 +2018,37 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ next; if ((countitem(740) > 0) || (countitem(741) > 0) || (countitem(742) > 0) || (countitem(743) > 0) || (countitem(750) > 0) || (countitem(751) > 0) || (countitem(752) > 0) || (countitem(753) > 0) || (countitem(754) > 0) || (countitem(7206) > 0) || (countitem(7212) > 0)){ if (countitem(740) > 0) { - set .@toy$,"Puppet"; + .@toy$ = "Puppet"; } else if (countitem(741) > 0) { - set .@toy$,"Poring Doll"; + .@toy$ = "Poring Doll"; } else if (countitem(742) > 0) { - set .@toy$,"Chonchon Doll"; + .@toy$ = "Chonchon Doll"; } else if (countitem(743) > 0) { - set .@toy$,"Spore Doll"; + .@toy$ = "Spore Doll"; } else if (countitem(744) > 0) { - set .@toy$,"Baphomet Doll"; + .@toy$ = "Baphomet Doll"; } else if (countitem(751) > 0) { - set .@toy$,"Osiris Doll"; + .@toy$ = "Osiris Doll"; } else if (countitem(752) > 0) { - set .@toy$,"Rocker Doll"; + .@toy$ = "Rocker Doll"; } else if (countitem(753) > 0) { - set .@toy$,"Yoyo Doll"; + .@toy$ = "Yoyo Doll"; } else if (countitem(754) > 0) { - set .@toy$,"Racoon Doll"; + .@toy$ = "Racoon Doll"; } else if (countitem(7206) > 0) { - set .@toy$,"Black Cat Doll"; + .@toy$ = "Black Cat Doll"; } else { - set .@toy$,"Hung Doll"; + .@toy$ = "Hung Doll"; } mes "^3355FFYou pulled out a "+ .@toy$ +""; mes "to cover your face, and wiggled its arms as if it were talking.^000000"; @@ -2127,7 +2127,7 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ next; mes "[Cuaque Donon]"; mes "^666666Still, this is the safest place for me for a while. But I'm always ready to run away if I have to.^000000"; - set god_megin_2,3; + god_megin_2 = 3; } close; case 2: @@ -2150,7 +2150,7 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ mes "[Cuaque Donon]"; mes "Like anyone who works as a Crusader under my old boss will end up like me. You know... broken."; if (god_megin_2 == 1) { - set god_megin_2,2; + god_megin_2 = 2; } close; case 3: @@ -2174,7 +2174,7 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ mes "You're the same"; mes "as all the others!"; mes "Go away from me!"; - set god_megin_2,0; + god_megin_2 = 0; close; case 2: mes "[Cuaque Donon]"; @@ -2184,7 +2184,7 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ mes "Ergh..."; mes "I can't remember"; mes "more than that..."; - set god_megin_2,4; + god_megin_2 = 4; close; } } @@ -2196,7 +2196,7 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ mes "You're the same"; mes "as all the others!"; mes "Go away from me!"; - set god_megin_2,0; + god_megin_2 = 0; close; case 2: mes "[Cuaque Donon]"; @@ -2204,7 +2204,7 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ mes "You're the same"; mes "as all the others!"; mes "Go away from me!"; - set god_megin_2,0; + god_megin_2 = 0; close; case 3: mes "[Cuaque Donon]"; @@ -2214,7 +2214,7 @@ in_rogue,243,61,0 script Suspicious Man#megin 4_M_ALCHE_A,{ mes "Ergh..."; mes "I can't remember"; mes "more than that..."; - set god_megin_2,4; + god_megin_2 = 4; close; } } @@ -2347,7 +2347,7 @@ alberta,196,146,0 script Crusader#megin2 4_M_CRU,{ mes "[Jack O]"; mes "That's all I can remember."; mes "I better take some Green Herbs now. My head throbs like crazy whenever I think about that time."; - set god_megin_3,2; + god_megin_3 = 2; close; } else { @@ -2373,7 +2373,7 @@ alberta,196,146,0 script Crusader#megin2 4_M_CRU,{ mes "I might not be able to remember"; mes "a whole lot from back then, but the part about ^0000FFinsubordination^000000 can't be right. I'm sure of that."; if (god_megin_3 == 0) { - set god_megin_3,1; + god_megin_3 = 1; } close; } @@ -2548,7 +2548,7 @@ aldebaran,66,213,0 script Lady#megin 1_F_04,{ mes "I think I can"; mes "try to remember"; mes "my comrades..."; - set god_megin_4,1; + god_megin_4 = 1; close; } else { @@ -2601,7 +2601,7 @@ aldebaran,66,213,0 script Lady#megin 1_F_04,{ mes "have, no, was there someone"; mes "named that with us?"; close2; - set god_megin_4,2; + god_megin_4 = 2; end; } else { @@ -2650,7 +2650,7 @@ aldebaran,66,213,0 script Lady#megin 1_F_04,{ next; mes "[Emma Searth]"; 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; + god_eremes = 28; getitem 603,1; // Old_Blue_Box if (checkre(3)) { if (BaseLevel < 56) getexp 2700,0; @@ -2780,7 +2780,7 @@ cmd_in02,190,94,3 script Man#megin 4_M_ROGUE,{ if (god_megin_6 == 0) { mes "[Royal Myst]"; mes "Huh? What's that old geezer want this time? Tell 'em I'm fine, dandy even! Why the hell does he keep sending people..."; - set god_megin_6,1; + god_megin_6 = 1; close; } else if (god_megin_6 > 0 && god_megin_6 < 15) { @@ -2837,7 +2837,7 @@ cmd_in02,190,94,3 script Man#megin 4_M_ROGUE,{ next; mes "[Royal Myst]"; mes "Hey, what do you think happens to Crusaders when they're framed and killed, huh? Where exactly do they go? Niflheim, Vahalla...?"; - set god_eremes,20; + god_eremes = 20; close; } case 4: @@ -2864,7 +2864,7 @@ cmd_in02,190,94,3 script Man#megin 4_M_ROGUE,{ mes "^3355FFBefore you can even think,"; mes "Royal Myst dips his hand into your inventory and helps himself to an Alcohol.^000000"; delitem 970,1; - set god_megin_6,god_megin_6 +2; + god_megin_6 += 2; close; } else { @@ -2935,7 +2935,7 @@ jawaii_in,44,110,0 script Security Officer#megin 4_M_JOB_KNIGHT2,{ mes "[The Nineball]"; mes "I've been told that there have"; mes "been many unruly drunkards here lately, but it is in our best interest to make your experience here as enjoyable as possible."; - set god_megin_5,god_megin_5 +1; + ++god_megin_5; close; } else if (god_megin_5 == 5) { @@ -3146,10 +3146,10 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{ mes "Thank you for"; mes "listening to me..."; if (god_eremes == 21) { - set god_eremes,23; + god_eremes = 23; } else if (god_eremes == 22) { - set god_eremes,24; + god_eremes = 24; } close; } @@ -3190,7 +3190,7 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{ mes "invested in me, I humbly bestow upon you my remaining strength. Fight honorably, and do not lose sight of righteousness."; specialeffect EF_LOCKON; specialeffect2 EF_HOLYCROSS; - set god_eremes,27; + god_eremes = 27; if (checkre(3)) { if (BaseLevel < 56) getexp 2700,0; else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0; @@ -3248,7 +3248,7 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{ mes "invested in me, I humbly bestow upon you my remaining strength. Fight honorably, and do not lose sight of righteousness."; specialeffect EF_LOCKON; specialeffect2 EF_HOLYCROSS; - set god_eremes,27; + god_eremes = 27; if (checkre(3)) { if (BaseLevel < 56) getexp 2700,0; else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 3000,0; diff --git a/npc/quests/seals/mjolnir_seal.txt b/npc/quests/seals/mjolnir_seal.txt index edaf442d7..4af71e2e1 100644 --- a/npc/quests/seals/mjolnir_seal.txt +++ b/npc/quests/seals/mjolnir_seal.txt @@ -47,48 +47,48 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{ 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; + .@gift = 0; if (BaseJob == Job_Knight) { - set .@gift,1; + .@gift = 1; } else if (BaseJob == Job_Priest) { - set .@gift,2; + .@gift = 2; } else if (BaseJob == Job_Wizard){ - set .@gift,3; + .@gift = 3; } else if (BaseJob == Job_Blacksmith){ - set .@gift,4; + .@gift = 4; } else if (BaseJob == Job_Hunter){ - set .@gift,5; + .@gift = 5; } else if (BaseJob == Job_Assassin){ - set .@gift,6; + .@gift = 6; } else if (BaseJob == Job_Crusader){ - set .@gift,7; + .@gift = 7; } else if (BaseJob == Job_Monk){ - set .@gift,8; + .@gift = 8; } else if (BaseJob == Job_Sage){ - set .@gift,9; + .@gift = 9; } else if (BaseJob == Job_Alchemist){ - set .@gift,10; + .@gift = 10; } else if (BaseJob == Job_Rogue){ - set .@gift,11; + .@gift = 11; } else if (BaseJob == Job_Bard){ - set .@gift,12; + .@gift = 12; } else if (BaseJob == Job_Hunter){ - set .@gift,13; + .@gift = 13; } else { - set .@gift,rand(1,13); + .@gift = rand(1,13); } cutin "god_tialpi01",2; mes "[Tialfi]"; @@ -111,7 +111,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{ mes "item for you."; break; case 2: - set .@gift,rand(1,13); + .@gift = rand(1,13); mes "[Tialfi]"; mes "I see..."; mes "Give me a moment"; @@ -128,7 +128,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{ next; delitem 756,50; //Oridecon_Stone delitem 757,50; //Elunium_Stone - set god_mjo_0,11; + god_mjo_0 = 11; if (.@gift == 1) { getitem 1471,1; // Hell_Fire } @@ -205,7 +205,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{ 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..."; } else { - set $God4,$God4 +1; + ++$God4; if ($God4 == $@god_check1) announce "The 4th seal of [Mjolnir] has appeared.",bc_all; else if ($God4 == $@god_check2) { @@ -214,7 +214,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{ else announce "The 4th seal of [Mjolnir] has been released.",bc_all; } - set god_mjo_0,10; + god_mjo_0 = 10; mes "[Tialfi]"; mes "You've met the four Dwarven Blacksmiths. I've heard that they rarely speak to humans. So you must be special if you were able to talk to them."; next; @@ -254,10 +254,10 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{ mes "of respect lest they"; mes "be insulted."; next; - set god_mjo_1,0; - set god_mjo_2,0; - set god_mjo_3,0; - set god_mjo_4,0; + god_mjo_1 = 0; + god_mjo_2 = 0; + god_mjo_3 = 0; + god_mjo_4 = 0; mes "[Tialfi]"; 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."; @@ -349,7 +349,7 @@ prontera,124,297,3 script Tialfi 4_M_KID1,{ mes "I'm sure that she can"; mes "give you useful information if you're fortunate enough to encounter the Dwarves."; next; - set god_mjo_0,rand(1,2); + god_mjo_0 = rand(1,2); mes "[Tialfi]"; mes "I'm truly lucky to meet such an adventurer like yourself. I wish you the best of luck."; } @@ -472,7 +472,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ mes "..."; close; case 2: - set god_mjo_1,3; + god_mjo_1 = 3; mes "[Austri]"; mes "What...?!"; mes "Do not greet the"; @@ -505,7 +505,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:About Mjolnir.")) { case 1: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -525,7 +525,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Yes, sir!:Huh?")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -541,7 +541,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Boooring!:Oh, wow.")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -559,7 +559,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Epito--what?:Yes sir, I agree.")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -577,7 +577,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:I agree, sir!:Um, yeah.")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -597,7 +597,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Wah wah wah~!:Ah, I understand sir!")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -613,7 +613,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Yes, sir!:Yeah, whatever.")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -634,14 +634,14 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Yes?:Yes, sir!")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; } } else if (.@talk_to == 8) { - set god_mjo_1,2; + god_mjo_1 = 2; mes "[Austri]"; mes "Alright then..."; mes "If you wish to learn more, you should speak to my brothers."; @@ -649,7 +649,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ close; } if (.@talk_not == 1) { - set god_mjo_1,3; + god_mjo_1 = 3; mes "[Austri]"; mes "Grrr...!"; mes "You're not listening, are you?! What a waste of my time!"; @@ -659,7 +659,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ close; } else { - set .@talk_to,.@talk_to + 1; + ++.@talk_to; } } } @@ -689,7 +689,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ mes "[Austri]"; mes "When it comes to humans, I believe the ones who can appreciate my line of work are the only ones worth talking to."; next; - set god_mjo_1,1; + god_mjo_1 = 1; mes "[Austri]"; mes "Every good blacksmith knows the value of a good hammer. If you can understand that, I shall consider speaking with you."; next; @@ -730,7 +730,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ mes "..."; close; case 2: - set god_mjo_4,3; + god_mjo_4 = 3; mes "[Austri]"; mes "What?!"; mes "Leave immediately and go study your english properly!"; @@ -761,7 +761,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:About Mjolnir.")) { case 1: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -781,7 +781,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Yes, sir!:Huh?")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -797,10 +797,10 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Boooring!:Oh, wow.")) { case 1: - set .@talk_not,1; + .@talk_not = 1; break; case 2: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -818,7 +818,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Epito--what?:Yes sir, I agree.")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -836,7 +836,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:I agree, sir!:Um, yeah.")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -856,7 +856,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Wah wah wah~!:Ah, I understand sir!")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -872,7 +872,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Yes, sir!:Yeah, whatever.")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -893,14 +893,14 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ next; switch(select("...:Yes?:Yes, sir!")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; } } else if (.@talk_to == 8) { - set god_mjo_4,2; + god_mjo_4 = 2; mes "[Austri]"; mes "Alright then..."; mes "Take care of"; @@ -908,7 +908,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ close; } if (.@talk_not == 1) { - set god_mjo_4,3; + god_mjo_4 = 3; mes "[Austri]"; mes "Grrr...!"; mes "You're not listening, are you?! What a waste of my time!"; @@ -917,7 +917,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ mes "This is why I don't want to associate with humans. They always shut me out when I'm talking!"; close; } else { - set .@talk_to,.@talk_to + 1; + ++.@talk_to; } } } @@ -946,7 +946,7 @@ mjolnir_11,149,247,5 script Dwarf Blacksmith#east 4_M_DWARF,{ mes "[Austri]"; mes "When it comes to humans, I believe the ones who can appreciate my line of work are the only ones worth talking to."; next; - set god_mjo_4,1; + god_mjo_4 = 1; mes "[Austri]"; mes "Every good blacksmith knows the value of a good hammer. If you can understand that, I shall consider speaking with you."; next; @@ -1042,7 +1042,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "You have too much time on your hands. Why don't you log out and hang out with your friends instead?"; close; case 2: - set god_mjo_2,3; + god_mjo_2 = 3; mes "[Sudri]"; mes "Why should"; mes "I excuse you?"; @@ -1057,8 +1057,8 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else if (god_mjo_2 == 1) { - set .@n_vit,200; - set .@p_vit,100; + .@n_vit = 200; + .@p_vit = 100; while(1) { mes "Sudri : " + .@n_vit + " HP"; mes "" + strcharinfo(0) + " : " + .@p_vit + " HP"; @@ -1069,23 +1069,23 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ next; switch(select("...?!:Strike Head!:Strike Chest!:Strike Legs!:Take a break.")) { case 1: - set .@p_atk,0; + .@p_atk = 0; break; case 2: - set .@p_atk,1; + .@p_atk = 1; break; case 3: - set .@p_atk,2; + .@p_atk = 2; break; case 4: - set .@p_atk,3; + .@p_atk = 3; break; case 5: - set .@p_atk,4; + .@p_atk = 4; break; } - set .@n_def,rand(1,3); - set .@damage,rand(15,25); + .@n_def = rand(1,3); + .@damage = rand(15,25); if (.@p_atk == 1) { mes "" + strcharinfo(0) + ""; mes "attacks Sudri's head!"; @@ -1135,14 +1135,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 4) { specialeffect2 EF_HEAL; - set .@p_vit,.@p_vit + 10; + .@p_vit += 10; mes "--------------------"; mes "" + strcharinfo(0) + ""; mes "has gained 10 HP!"; } else if (.@p_atk == 1) { specialeffect EF_HIT5; - set .@n_vit,.@n_vit - .@damage; + .@n_vit -= .@damage; mes "--------------------"; mes "You successfully hit"; mes "Sudri on the head!"; @@ -1151,7 +1151,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 2) { specialeffect EF_HIT2; - set .@n_vit,.@n_vit - .@damage; + .@n_vit -= .@damage; mes "--------------------"; mes "You successfully hit"; mes "Sudri on the chest!"; @@ -1161,7 +1161,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 3) { specialeffect EF_HIT4; - set .@n_vit,.@n_vit - .@damage; + .@n_vit -= .@damage; mes "--------------------"; mes "You successfully hit"; mes "Sudri on the legs!"; @@ -1171,7 +1171,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 0) { specialeffect2 EF_HIT5; - set .@p_vit,.@p_vit - 10; + .@p_vit -= 10; mes "--------------------"; mes "You were hit by"; mes "Sudri's counter attack!"; @@ -1202,23 +1202,23 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ next; switch(select("...?!:Dodge!:Block!:Jump!:Counter back!")) { case 1: - set .@p_def,0; + .@p_def = 0; break; case 2: - set .@p_def,1; + .@p_def = 1; break; case 3: - set .@p_def,2; + .@p_def = 2; break; case 4: - set .@p_def,3; + .@p_def = 3; break; case 5: - set .@p_def,4; + .@p_def = 4; break; } - set .@n_atk,rand(1,3); - set .@damage,rand(20,25); + .@n_atk = rand(1,3); + .@damage = rand(20,25); if (.@n_atk == 1) { mes "Sudri aims for the head!"; } @@ -1256,14 +1256,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else if (.@p_def == 4) { - set .@count,rand(1,4); + .@count = rand(1,4); mes "--------------------"; mes "" + strcharinfo(0) + ""; mes "counters!"; if (.@count == 1) { specialeffect2 EF_AUTOCOUNTER; specialeffect EF_MAGNUMBREAK; - set .@n_vit,.@n_vit - 20; + .@n_vit -= 20; mes "You successfully"; mes "counter attacked!"; mes "--------------------"; @@ -1276,7 +1276,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else { specialeffect2 EF_CRASHEARTH; - set .@p_vit,.@p_vit - 30; + .@p_vit -= 30; mes "You've taken"; mes "critical damage"; mes "on your weak spot!"; @@ -1286,7 +1286,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 1) { specialeffect2 EF_HIT5; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hit " + strcharinfo(0) + ""; @@ -1296,7 +1296,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 2) { specialeffect2 EF_HIT2; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hit " + strcharinfo(0) + ""; @@ -1306,7 +1306,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 3) { specialeffect2 EF_HIT4; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hit " + strcharinfo(0) + ""; @@ -1316,7 +1316,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 0) { specialeffect2 EF_HIT5; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hits "+ strcharinfo(0) +""; @@ -1349,7 +1349,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ close; } else if (.@n_vit < p_vit) { - set god_mjo_2,2; + god_mjo_2 = 2; mes "[Sudri]"; mes "You're stronger than me. I never thought I'd meet a human as strong as you."; next; @@ -1392,19 +1392,19 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ next; switch(select("...:Yes, I accept your challenge.:No, I'm scared!")) { case 1: - set god_mjo_2,3; + god_mjo_2 = 3; mes "[Sudri]"; mes "You didn't"; mes "even answer me!"; mes "Fine! Whatever!"; close; case 2: - set god_mjo_2,1; + god_mjo_2 = 1; mes "[Sudri]"; mes "Ah, I like you already, human! Now why don't you go do some warm ups, and we'll fight when you're ready."; close; case 3: - set god_mjo_2,1; + god_mjo_2 = 1; mes "[Sudri]"; mes "Eh...?"; mes "Why are you being"; @@ -1452,7 +1452,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "Why don't you log out and go out with your friends instead?"; close; case 2: - set god_mjo_3,3; + god_mjo_3 = 3; mes "[Sudri]"; mes "Why should"; mes "I excuse you?"; @@ -1465,8 +1465,8 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "[Sudri]"; mes "Cool, let's fight!"; next; - set .@n_vit,200; - set .@p_vit,100; + .@n_vit = 200; + .@p_vit = 100; while(1) { mes "Sudri : " + .@n_vit + " HP"; mes "" + strcharinfo(0) + " : " + .@p_vit + " HP"; @@ -1477,23 +1477,23 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ next; switch(select("...?!:Strike Head!:Strike Chest!:Strike Legs!:Take a break.")) { case 1: - set .@p_atk,0; + .@p_atk = 0; break; case 2: - set .@p_atk,1; + .@p_atk = 1; break; case 3: - set .@p_atk,2; + .@p_atk = 2; break; case 4: - set .@p_atk,3; + .@p_atk = 3; break; case 5: - set .@p_atk,4; + .@p_atk = 4; break; } - set .@n_def,rand(1,3); - set .@damage,rand(15,25); + .@n_def = rand(1,3); + .@damage = rand(15,25); if (.@p_atk == 1) { mes "" + strcharinfo(0) + ""; mes "attacks Sudri's head!"; @@ -1543,14 +1543,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 4) { specialeffect2 EF_HEAL; - set .@p_vit,.@p_vit + 10; + .@p_vit += 10; mes "--------------------"; mes "" + strcharinfo(0) + ""; mes "has gained 10 HP!"; } else if (.@p_atk == 1) { specialeffect EF_HIT5; - set .@n_vit,.@n_vit - .@damage; + .@n_vit -= .@damage; mes "--------------------"; mes "You successfully hit"; mes "Sudri on the head!"; @@ -1559,7 +1559,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 2) { specialeffect EF_HIT2; - set .@n_vit,.@n_vit - .@damage; + .@n_vit -= .@damage; mes "--------------------"; mes "You successfully hit"; mes "Sudri on the chest!"; @@ -1569,7 +1569,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 3) { specialeffect EF_HIT4; - set .@n_vit,.@n_vit - .@damage; + .@n_vit -= .@damage; mes "--------------------"; mes "You successfully hit"; mes "Sudri on the legs!"; @@ -1579,7 +1579,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@p_atk == 0) { specialeffect2 EF_HIT5; - set .@p_vit,.@p_vit - 10; + .@p_vit -= 10; mes "--------------------"; mes "You were hit by"; mes "Sudri's counter attack!"; @@ -1610,23 +1610,23 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ next; switch(select("...?!:Dodge!:Block!:Jump!:Counter back!")) { case 1: - set .@p_def,0; + .@p_def = 0; break; case 2: - set .@p_def,1; + .@p_def = 1; break; case 3: - set .@p_def,2; + .@p_def = 2; break; case 4: - set .@p_def,3; + .@p_def = 3; break; case 5: - set .@p_def,4; + .@p_def = 4; break; } - set .@n_atk,rand(1,3); - set .@damage,rand(20,25); + .@n_atk = rand(1,3); + .@damage = rand(20,25); if (.@n_atk == 1) { mes "Sudri aims for the head!"; } @@ -1663,14 +1663,14 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else if (.@p_def == 4) { - set .@count,rand(1,4); + .@count = rand(1,4); mes "--------------------"; mes "" + strcharinfo(0) + ""; mes "counters!"; if (.@count == 1) { specialeffect2 EF_AUTOCOUNTER; specialeffect EF_MAGNUMBREAK; - set .@n_vit,.@n_vit - 20; + .@n_vit -= 20; mes "You successfully"; mes "counter attacked!"; mes "--------------------"; @@ -1683,7 +1683,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else { specialeffect2 EF_CRASHEARTH; - set .@p_vit,.@p_vit - 30; + .@p_vit -= 30; mes "You've taken"; mes "critical damage"; mes "on your weak spot!"; @@ -1693,7 +1693,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 1) { specialeffect2 EF_HIT5; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hit " + strcharinfo(0) + ""; @@ -1703,7 +1703,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 2) { specialeffect2 EF_HIT2; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hit " + strcharinfo(0) + ""; @@ -1713,7 +1713,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 3) { specialeffect2 EF_HIT4; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hit " + strcharinfo(0) + ""; @@ -1723,7 +1723,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } else if (.@n_atk == 0) { specialeffect2 EF_HIT5; - set .@p_vit,.@p_vit - .@damage; + .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; mes "hits "+ strcharinfo(0) +""; @@ -1756,7 +1756,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ close; } else if (.@n_vit < .@p_vit) { - set god_mjo_3,2; + god_mjo_3 = 2; mes "[Sudri]"; mes "You're stronger than me. I never thought I'd meet a human as strong as you."; next; @@ -1799,19 +1799,19 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ next; switch(select("...:Yes, I accept your challenge.:No, I'm scared!")) { case 1: - set god_mjo_3,3; + god_mjo_3 = 3; mes "[Sudri]"; mes "You didn't"; mes "even answer me!"; mes "Fine! Whatever!"; close; case 2: - set god_mjo_3,1; + god_mjo_3 = 1; mes "[Sudri]"; mes "Ah, I like you already, human! Now why don't you go do some warm ups, and we'll fight when you're ready."; close; case 3: - set god_mjo_3,1; + god_mjo_3 = 1; mes "[Sudri]"; mes "Eh...?"; mes "Why are you being"; @@ -1927,7 +1927,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ mes "No matter what other people say, if you're confident and your will is unwavering, you'll always be satisfied with the results."; close; case 2: - set god_mjo_3,3; + god_mjo_3 = 3; mes "[Vestri]"; mes "You didn't answer the question! Now, you've probably got the wrong Dwarf here..."; next; @@ -1944,13 +1944,13 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ next; 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) { + .@menu$ = ""; + for(.@i = 1; .@i <= 10; ++.@i) { if (getequipisequiped(.@i)) - set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; - set .@menu$, .@menu$ + ":"; + .@menu$ += .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; + .@menu$ += ":"; } - set .@part,select(.@menu$); + .@part = select(.@menu$); if (getequipisequiped(.@part) == 0) close; @@ -2068,7 +2068,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ mes "Yeah, no regrets!"; next; } - set god_mjo_3,2; + god_mjo_3 = 2; mes "[Vestri]"; mes "Well, my friend,"; mes "if you ever visit my brothers, please give them my regards."; @@ -2101,7 +2101,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ mes "[Vestri]"; mes "Alright. Perhaps I'm meant to help you out, so I'll upgrade a weapon for you. All you need to do is bring me the weapon and material."; next; - set god_mjo_3,1; + god_mjo_3 = 1; mes "[Vestri]"; mes "Here's the condition: You've got to bring me a Level 4 Weapon that's been upgraded to the point where it might break. Oh, and bring an Oridecon!"; close; @@ -2143,9 +2143,8 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ mes "[Vestri]"; mes "No matter what other people say, if you're confident and your will is unwavering, you'll always be satisfied with the results."; close; - case 2: - set god_mjo_2,3; + god_mjo_2 = 3; mes "[Vestri]"; mes "You didn't answer the question! Now, you've probably got the wrong Dwarf here..."; next; @@ -2160,15 +2159,14 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ mes "Great...!"; mes "Which one should I upgrade first, huh? My heart is pounding with anticipation..."; next; - 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) { + .@menu$ = ""; + for(.@i = 1; .@i <= 10; ++.@i) { if (getequipisequiped(.@i)) - set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; - set .@menu$, .@menu$ + ":"; + .@menu$ += .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; + .@menu$ += ":"; } - set .@part,select(.@menu$); + .@part = select(.@menu$); if (getequipisequiped(.@part) == 0) close; @@ -2280,7 +2278,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ mes "Yeah, no regrets!"; next; } - set god_mjo_2,2; + god_mjo_2 = 2; mes "[Vestri]"; mes "Well, my friend,"; mes "if you ever visit my brothers, please give them my regards."; @@ -2313,7 +2311,7 @@ mjolnir_01,35,136,7 script Dwarf Blacksmith#west 4_M_DWARF,{ mes "[Vestri]"; mes "Alright. Perhaps I'm meant to help you out, so I'll upgrade a weapon for you. All you need to do is bring me the weapon and material."; next; - set god_mjo_2,1; + god_mjo_2 = 1; mes "[Vestri]"; mes "Here's the condition: You've got to bring me a Level 4 Weapon that's been upgraded to the point where it might break. Oh, and bring an Oridecon!"; close; @@ -2409,7 +2407,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ mes "then leave me alone."; close; case 2: - set god_mjo_4,3; + god_mjo_4 = 3; mes "[Nordri]"; mes "Huh."; mes "That's fine. Still..."; @@ -2448,7 +2446,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ next; switch(select("Greed:Sea:Blaze:Hog")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -2468,7 +2466,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ next; switch(select("Language:Thoughts:Turtle:Wolf")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -2487,7 +2485,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ next; switch(select("Curse:Earth:Heart:Old Age")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 4: break; @@ -2511,7 +2509,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ mes "[Nordri]"; mes "Try to live as good a life as you can. Remember that you can't have everything that you want. Obssession and irrationality go hand in hand."; next; - set god_mjo_4,2; + god_mjo_4 = 2; mes "[Nordri]"; mes "Thank you for listening to my long story. If you meet someone with a dangerous obsession, please tell this story of Thor and the illusions of the giant king."; close; @@ -2526,7 +2524,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ close; } else { - set .@talk_to,.@talk_to + 1; + ++.@talk_to; } } } @@ -2557,7 +2555,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ mes "[Nordri]"; mes "Odd. Recently, too many humans have been interested in meeting with me and my brothers. Still, I cannot say their visits have been unpleasant."; next; - set god_mjo_4,1; + god_mjo_4 = 1; mes "[Nordri]"; mes "I'm a little thirsty. Would you bring me a Red Potion. If you do that for me, I will tell you an important story. Heh heh heh~"; close; @@ -2598,7 +2596,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ mes "then leave me alone."; close; case 2: - set god_mjo_1,3; + god_mjo_1 = 3; mes "[Nordri]"; mes "Huh."; mes "That's fine. Still..."; @@ -2636,7 +2634,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ next; switch(select("Ymir's body:Earth:Lane:Universe")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 2: break; @@ -2651,7 +2649,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ next; switch(select("Ymir's Head:Sky:Cloud Factory:High House")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 4: break; @@ -2666,7 +2664,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ next; switch(select("Circling Wheel:Moon:False Sun:Fast Stranger")) { default: - set .@talk_not,1; + .@talk_not = 1; break; case 3: break; @@ -2697,7 +2695,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ mes "important to live a"; mes "good and virtuous life. It's great to achieve your desires, but be aware that some desires are not meant to be fulfilled."; next; - set god_mjo_1,2; + god_mjo_1 = 2; mes "[Nordri]"; mes "Thank you for listening to my long story. If you meet anyone afflicted with an insatiable desire, please tell him this story of Thor and Alvis, a brave yet very defiant Dwarf."; close; @@ -2712,7 +2710,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ close; } else { - set .@talk_to,.@talk_to + 1; + ++.@talk_to; } } } @@ -2741,7 +2739,7 @@ mjolnir_12,18,18,7 script Dwarf Blacksmith#north 4_M_DWARF,{ mes "[Nordri]"; mes "Odd. Recently, too many humans have been interested in meeting with me and my brothers. Still, I cannot say their visits have been unpleasant."; next; - set god_mjo_1,1; + god_mjo_1 = 1; mes "[Nordri]"; mes "I'm a little thirsty. Would you bring me a Red Potion. If you do that for me, I will tell you an important story. Heh heh heh~"; close; diff --git a/npc/quests/seals/seal_status.txt b/npc/quests/seals/seal_status.txt index 4809f6b7d..6c16d01b5 100644 --- a/npc/quests/seals/seal_status.txt +++ b/npc/quests/seals/seal_status.txt @@ -16,16 +16,16 @@ prontera,113,294,3 script Sign Post#god 2_BULLETIN_BOARD,{ 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); + for(.@i = 1; .@i<=4; ++.@i) { + .@val = getd("$God"+.@i); if (.@val == 0) - set .@status$,"Unseen"; + .@status$ = "Unseen"; else if (.@val < $@god_check1) - set .@status$,"Active"; + .@status$ = "Active"; else if (.@val < $@god_check2) - set .@status$,"Appeared"; + .@status$ = "Appeared"; else - set .@status$,"Released"; + .@status$ = "Released"; mes .@seal$[.@i]+" Seal: "+.@status$; } mes " "; diff --git a/npc/quests/seals/sleipnir_seal.txt b/npc/quests/seals/sleipnir_seal.txt index 85005a4fd..54587ae94 100644 --- a/npc/quests/seals/sleipnir_seal.txt +++ b/npc/quests/seals/sleipnir_seal.txt @@ -53,7 +53,7 @@ yuno,164,200,4 script Noyee#G 4W_F_01,{ mes "Anyway, no one is really sure if it is or not. Recently, it's been the focus of many rumors. I have no idea if any of them are true though."; close2; if (god_sl_1 == 0) { - set god_sl_1,1; + god_sl_1 = 1; } } } @@ -134,7 +134,7 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ mes "^3355FFYou've received"; mes "a temporary"; mes "admission pass.^000000"; - set god_sl_1,2; + god_sl_1 = 2; close2; break; } @@ -196,7 +196,7 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ 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 < $@god_check2) - set $God1,$God1+1; + $God1 += 1; if ($God1 == $@god_check1) announce "The 1st seal of [Sleipnir] has appeared.",bc_all; else if ($God1 == $@god_check2) { @@ -205,9 +205,9 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ 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); + god_sl_1 = 51; + .@god_treasure = rand(1,900); + .@god_treasure1 = rand(1,1000); if (checkre(0)) { if (.@god_treasure < 101) { if (.@god_treasure1 < 210) getitem 2102,1; //Guard_ @@ -508,7 +508,7 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,11; + god_sl_1 = 11; } if ((god_sl_1 == 11) || (god_sl_1 == 22) || (god_sl_1 == 33) || (god_sl_1 == 44)) { if (god_sl_2 == 0) { @@ -534,7 +534,7 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ next; mes "[Hallandaute]"; mes "Since he's working on a project similar to mine, he might be in a position to help me. Metto lives in Juno, so you can easily find me."; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -571,7 +571,7 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ mes "Huh. That's..."; mes "That's too bad. I don't know what to say. We used to go watch movies and celebrate our birthdays together. P-please give me a moment..."; emotion e_dots; - set god_sl_2,2; + god_sl_2 = 2; close; } } @@ -605,18 +605,18 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ next; mes "[Hallandaute]"; mes "Anyway, I thank you for helping me out earlier. That's basically all I needed, so please talk to the other researchers and see if they need any assistance."; - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 == 11) { - set god_sl_1,12; + god_sl_1 = 12; } if (god_sl_1 == 22) { - set god_sl_1,23; + god_sl_1 = 23; } if (god_sl_1 == 33) { - set god_sl_1,34; + god_sl_1 = 34; } if (god_sl_1 == 44) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -674,7 +674,7 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,21; + god_sl_1 = 21; } if ((god_sl_1 == 21) || (god_sl_1 == 32) || (god_sl_1 == 43) || (god_sl_1 == 14)) { if (god_sl_2 == 0) { @@ -724,7 +724,7 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ next; mes "[Aadin]"; mes "Have a safe trip~"; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -776,7 +776,7 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ next; mes "[Aadin]"; mes "Are you sure you've listened to the tale in its entirety? I'm sorry to ask this of you, but would you go to Payon and listen to this story once more?"; - set god_sl_2,3; + god_sl_2 = 3; close; } else if (god_sl_2 == 3) { @@ -855,18 +855,18 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ next; mes "[Aadin]"; mes "After all, finding answers tends to cause new questions to arise. Nonetheless, I thank you for your help."; - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 == 21) { - set god_sl_1,22; + god_sl_1 = 22; } if (god_sl_1 == 32) { - set god_sl_1,33; + god_sl_1 = 33; } if (god_sl_1 == 43) { - set god_sl_1,44; + god_sl_1 = 44; } if (god_sl_1 == 14) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -893,7 +893,7 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,31; + god_sl_1 = 31; } if ((god_sl_1 == 31) || (god_sl_1 == 42) || (god_sl_1 == 13) || (god_sl_1 == 24)) { if (god_sl_2 == 0) { @@ -933,7 +933,7 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ next; mes "[Kurdt]"; mes "Anyway, I hope you don't run into too much trouble finding what I need for this experiment. Good luck~"; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -949,64 +949,64 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ mes "You adventurers carry"; mes "a lot of things, don't you?"; if (countitem(918) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(950) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(951) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(956) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(959) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(960) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(961) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(962) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(963) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(964) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(965) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(966) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(7013) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1054) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1053) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1052) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1051) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1050) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1024) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1023) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } next; if (.@count_sl_1 > 14) { @@ -1088,18 +1088,18 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ if (countitem(7013) > 8) { delitem 7013,9; //Coral_Reef } - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 ==31) { - set god_sl_1,32; + god_sl_1 = 32; } if (god_sl_1 == 42) { - set god_sl_1,43; + god_sl_1 = 43; } if (god_sl_1 == 13) { - set god_sl_1,14; + god_sl_1 = 14; } if (god_sl_1 == 24) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -1159,7 +1159,7 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ que_god01,14,47,3 script Researcher#G4 4_M_06,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,41; + god_sl_1 = 41; } if ((god_sl_1 == 41) || (god_sl_1 == 12) || (god_sl_1 == 23) || (god_sl_1 == 34)) { if (god_sl_2 == 0) { @@ -1177,7 +1177,7 @@ que_god01,14,47,3 script Researcher#G4 4_M_06,{ next; mes "[Pavel]"; mes "Anyway, go look at --^333333*Aaachooo!*^000000 that ^333333*Achoooo!*^000000 thing... ^333333*Sniff sniff*^000000"; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -1210,7 +1210,7 @@ que_god01,14,47,3 script Researcher#G4 4_M_06,{ mes "[Pavel]"; mes "^333333*Sniff sniff*^000000"; mes "So I hope you don't mind ^333333*Achoo!*^000000 helping me remove ^333333*Cough*^000000 the device. Thank you so much. ^333333*Sniff*^000000"; - set god_sl_2,3; + god_sl_2 = 3; close; } else if (god_sl_2 == 3) { @@ -1233,18 +1233,18 @@ que_god01,14,47,3 script Researcher#G4 4_M_06,{ mes "[Pavel]"; mes "Great job~"; mes "You did some ^333333*Sniff*^000000 good work. Thank you so much for helping me. ^333333*Achoo! Achoo!*^000000"; - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 == 41) { - set god_sl_1,42; + god_sl_1 = 42; } if (god_sl_1 == 12) { - set god_sl_1,13; + god_sl_1 = 13; } if (god_sl_1 == 23) { - set god_sl_1,24; + god_sl_1 = 24; } if (god_sl_1 == 34) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -1272,7 +1272,7 @@ que_god01,20,48,0 script Slab#G HIDDEN_NPC,{ mes "wkdusgks ^ff00fftkaryf^000000dnl durjfflrhsjs wkrdjswhgks ......"; mes "wkrdjswhgks shfh wkrdjswhgks wkdus wkr..."; mes "^ff00ffghswka^000000gks ........fusjs tmld........."; - set god_sl_2,2; + god_sl_2 = 2; next; mes "^3355FFThere is some writing engraved on this slab of stone. Since you can't read it and the stone looks weathered with time, it seems to be written in an ancient language.^000000"; next; @@ -1369,7 +1369,7 @@ que_god01,20,48,0 script Slab#G HIDDEN_NPC,{ mes "^3355FFYou still don't"; mes "understand what is"; mes "written on the slab.^000000"; - set god_sl_2,4; + god_sl_2 = 4; next; mes "After a while, the original engraving on the slab re-appeared, once again concealing the writing underneath. It seems you can only reveal the hidden letters temporarily."; close; @@ -1772,9 +1772,9 @@ payon,79,171,4 script Friar#G5 4_F_SISTER,{ mes "If you wish to listen to this story again, you're always welcome."; mes "Be safe on your adventures~"; if (god_sl_2 == 1) { - set god_sl_2,2; + god_sl_2 = 2; } else if (god_sl_2 == 3) { - set god_sl_2,4; + god_sl_2 = 4; } close; } |