diff options
Diffstat (limited to 'npc/quests/seals/mjolnir_seal.txt')
-rw-r--r-- | npc/quests/seals/mjolnir_seal.txt | 296 |
1 files changed, 147 insertions, 149 deletions
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; |