diff options
author | Haru <haru@dotalux.com> | 2014-10-26 05:00:08 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:51 +0100 |
commit | 54604096ac53398778a5481613061216fe47e5bc (patch) | |
tree | 4d9982857e3bd9ee7eab839cc743cb6f3e9dc7f3 /npc/quests/skills | |
parent | 46fbbaabefa29df1378ae68b7f063dbc64846042 (diff) | |
download | hercules-54604096ac53398778a5481613061216fe47e5bc.tar.gz hercules-54604096ac53398778a5481613061216fe47e5bc.tar.bz2 hercules-54604096ac53398778a5481613061216fe47e5bc.tar.xz hercules-54604096ac53398778a5481613061216fe47e5bc.zip |
Replaced 'set' with direct assignment where applicable (quests subfolders)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/skills')
-rw-r--r-- | npc/quests/skills/alchemist_skills.txt | 72 | ||||
-rw-r--r-- | npc/quests/skills/assassin_skills.txt | 24 | ||||
-rw-r--r-- | npc/quests/skills/bard_skills.txt | 14 | ||||
-rw-r--r-- | npc/quests/skills/blacksmith_skills.txt | 22 | ||||
-rw-r--r-- | npc/quests/skills/crusader_skills.txt | 26 | ||||
-rw-r--r-- | npc/quests/skills/dancer_skills.txt | 18 | ||||
-rw-r--r-- | npc/quests/skills/hunter_skills.txt | 6 | ||||
-rw-r--r-- | npc/quests/skills/knight_skills.txt | 20 | ||||
-rw-r--r-- | npc/quests/skills/merchant_skills.txt | 2 | ||||
-rw-r--r-- | npc/quests/skills/monk_skills.txt | 14 | ||||
-rw-r--r-- | npc/quests/skills/novice_skills.txt | 14 | ||||
-rw-r--r-- | npc/quests/skills/priest_skills.txt | 20 | ||||
-rw-r--r-- | npc/quests/skills/rogue_skills.txt | 54 | ||||
-rw-r--r-- | npc/quests/skills/sage_skills.txt | 18 | ||||
-rw-r--r-- | npc/quests/skills/swordman_skills.txt | 4 | ||||
-rw-r--r-- | npc/quests/skills/thief_skills.txt | 4 | ||||
-rw-r--r-- | npc/quests/skills/wizard_skills.txt | 8 |
17 files changed, 170 insertions, 170 deletions
diff --git a/npc/quests/skills/alchemist_skills.txt b/npc/quests/skills/alchemist_skills.txt index 2add112c4..66673411b 100644 --- a/npc/quests/skills/alchemist_skills.txt +++ b/npc/quests/skills/alchemist_skills.txt @@ -35,7 +35,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "worse than working when"; mes "you're supposed to be resting."; mes "H-hey! Um, what are you doing?"; - set ALCHE_SK,1; + ALCHE_SK = 1; next; mes "[Pisruik]"; mes "Q-quit looking at"; @@ -104,7 +104,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "["+ strcharinfo(0) +"]"; mes "I am called "+ strcharinfo(0) +"."; next; - set ALCHE_SK,2; + ALCHE_SK = 2; mes "[Pisruik]"; mes "Ah, "+ strcharinfo(0) +"."; mes "Would you please bring"; @@ -195,7 +195,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ delitem 1093,4; //Empty_Potion delitem 950,10; //Heart_Of_Mermaid delitem 1057,10; //Moth_Dust - set ALCHE_SK,3; + ALCHE_SK = 3; mes "[Pisruik]"; mes "Great, it looks like"; mes "everything is here."; @@ -206,14 +206,14 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ next; switch(select("Medicine?:Bomb?")) { case 1: - set ALCHE_SK,4; + ALCHE_SK = 4; mes "[Pisruik]"; mes "Hahahah, that's right!"; mes "I'm working on making"; mes "a new form of medicine."; break; case 2: - set ALCHE_SK,4; + ALCHE_SK = 4; mes "[Pisruik]"; mes "A bomb? Do I look like"; mes "a nutcase to you? No, no..."; @@ -257,7 +257,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ next; switch(select("Nope, I'm too busy!:Sure, I'll help you.:What's in it for me?")) { case 1: - set ALCHE_SK,5; + ALCHE_SK = 5; mes "[Pisruik]"; mes "I guess I'll have to gather"; mes "those on my own. Alright, well,"; @@ -266,7 +266,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "your business with me is done."; close; case 2: - set ALCHE_SK,6; + ALCHE_SK = 6; mes "[Pisruik]"; mes "Thanks, I really"; mes "appreciate it. While"; @@ -318,7 +318,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "the results of my research."; next; if (select("Nah, I'm too busy.:Alright, I'll help you.") == 1) { - set ALCHE_SK,5; + ALCHE_SK = 5; mes "[Pisruik]"; mes "I guess I'll have to gather"; mes "those on my own. Alright, well,"; @@ -327,7 +327,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "your business with me is done."; close; } - set ALCHE_SK,6; + ALCHE_SK = 6; mes "[Pisruik]"; mes "Thanks, I really"; mes "appreciate it. While"; @@ -435,7 +435,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "maybe it's not your fault."; mes "Anyway, just so you know,"; mes "I'm developing a new medicine."; - set ALCHE_SK,4; + ALCHE_SK = 4; close; } else if (ALCHE_SK == 4) { @@ -497,7 +497,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ next; switch(select("Nope, I'm too busy!:Sure, I'll help you.:What's in it for me?")) { case 1: - set ALCHE_SK,5; + ALCHE_SK = 5; mes "[Pisruik]"; mes "I guess I'll have to gather"; mes "those on my own. Alright, well,"; @@ -506,7 +506,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "your business with me is done."; close; case 2: - set ALCHE_SK,6; + ALCHE_SK = 6; mes "[Pisruik]"; mes "Thanks, I really"; mes "appreciate it. While"; @@ -558,7 +558,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "the results of my research."; next; if (select("Nah, I'm too busy.:Alright, I'll help you.") == 1) { - set ALCHE_SK,5; + ALCHE_SK = 5; mes "[Pisruik]"; mes "I guess I'll have to gather"; mes "those on my own. Alright, well,"; @@ -567,7 +567,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "your business with me is done."; close; } - set ALCHE_SK,6; + ALCHE_SK = 6; mes "[Pisruik]"; mes "Thanks, I really"; mes "appreciate it. While"; @@ -641,7 +641,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "If I weren't so sickly, I'd get"; mes "them myself, but--*Cough* as"; mes "you can see, I don't feel so well. ^FFFFFF ^000000"; - set ALCHE_SK,6; + ALCHE_SK = 6; next; mes "[Pisruik]"; if (Sex == 0) { @@ -661,7 +661,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ else if (ALCHE_SK == 6) { if (countitem(1032) > 19) { delitem 1032,20; //Blossom_Of_Maneater - set ALCHE_SK,7; + ALCHE_SK = 7; mes "[Pisruik]"; mes "Thanks so much for"; mes "bringing me these"; @@ -676,7 +676,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "Clover extract I prepared."; } next; - set ALCHE_SK,9; + ALCHE_SK = 9; specialeffect EF_SUI_EXPLOSION; mes "[Pisruik]"; mes "Ah!"; @@ -753,7 +753,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ } } else if (ALCHE_SK == 7) { - set ALCHE_SK,8; + ALCHE_SK = 8; mes "[Pisruik]"; mes "Hmmm..."; mes "Actually, I miscalculated"; @@ -765,7 +765,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ else if (ALCHE_SK == 8) { if (countitem(1032) > 0) { delitem 1032,1; //Blossom_Of_Maneater - set ALCHE_SK,7; + ALCHE_SK = 7; mes "[Pisruik]"; mes "Thanks so much!"; mes "Now I finally have the"; @@ -780,7 +780,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "exciting part of this project!"; } next; - set ALCHE_SK,9; + ALCHE_SK = 9; specialeffect EF_SUI_EXPLOSION; mes "[Pisruik]"; mes "Ah!"; @@ -866,7 +866,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ if (select("Let him try a pair of your glasses:Don't give him anything") == 1) { if (countitem(2243) > 0) { delitem 2243,1; //Spinning_Eyes - set ALCHE_SK,10; + ALCHE_SK = 10; //changes the quest steps by deicision. mes "["+ strcharinfo(0) +"]"; mes "Here, why don't you"; @@ -922,7 +922,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "well as a few warnings about"; mes "the medicine's side effects.^000000"; next; - set ALCHE_SK,11; + ALCHE_SK = 11; getitem 7434,1; //Elemental_Create_Book mes "[Pisruik]"; mes "Well, you should be"; @@ -1009,7 +1009,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{ mes "well as a few warnings about"; mes "the medicine's side effects.^000000"; next; - set ALCHE_SK,11; + ALCHE_SK = 11; getitem 7434,1; //Elemental_Create_Book mes "[Pisruik]"; mes "Well, you should be"; @@ -1202,7 +1202,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "My name is..."; mes "" + strcharinfo(0) + "."; next; - set bioeth,13; + bioeth = 13; skill "AM_BIOETHICS",1,0; mes "[Kellasus]"; mes "Ah..."; @@ -1249,7 +1249,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "people. It's not like I can force you to forget once you know how"; mes "to make Homunculi, understand?"; next; - set bioeth,12; + bioeth = 12; mes "[Kellasus]"; mes "Please give me a little"; mes "time to prepare my lesson"; @@ -1258,7 +1258,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ close; } if (BaseJob == Job_Alchemist && bioeth == 10) { - set bioeth,11; + bioeth = 11; mes "[Kellasus]"; mes "^333333*Sigh*^000000"; mes "I'm so confused..."; @@ -1361,7 +1361,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "hope to someone's"; mes "hopeless situation..."; next; - set bioeth,10; + bioeth = 10; mes "[Kellasus]"; mes "I've never..."; mes "I never thought..."; @@ -1460,7 +1460,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "of what I believe to be an"; mes "abuse of the gift of life."; next; - set bioeth,8; + bioeth = 8; mes "[Kellasus]"; mes "There's just so much"; mes "risk! I don't think I can"; @@ -1559,7 +1559,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "learn those skills. Yes, it's"; mes "true that I could teach you..."; next; - set bioeth,4; + bioeth = 4; mes "[Kellasus]"; mes "But I refuse to pass down"; mes "my knowledge of Homunculi"; @@ -1632,7 +1632,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "curiosity to reveal the unknown,^FFFFFF ^000000 may lead you on the path of the"; mes "Homunculus. For your own sake,^FFFFFF ^000000 don't bother considering the idea."; next; - set bioeth,3; + bioeth = 3; mes "[Kellasus]"; mes "Remember that all life is"; mes "precious. If your motives"; @@ -1680,7 +1680,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "Philosophy must all be learned"; mes "by the competent Alchemist."; next; - set bioeth,2; + bioeth = 2; mes "[Kellasus]"; mes "Once you've entered the"; mes "exciting vastness of Alchemy,"; @@ -1714,7 +1714,7 @@ lhz_in01,224,140,3 script Kellasus#qsk_al 1_M_LIBRARYMASTER,{ mes "Do not be so proud as to"; mes "seek out forbidden truths."; next; - set bioeth,1; + bioeth = 1; mes "[Kellasus]"; mes "Good luck in your"; mes "studies, and I hope"; @@ -1828,7 +1828,7 @@ lhz_in01,225,122,5 script Skrajjad#qsk_al 4_M_SAGE_A,{ mes "so that he can teach you"; mes "the Call Homunculus skill."; next; - set bioeth,5; + bioeth = 5; mes "[Skrajjad]"; mes "Good luck in"; mes "your studies"; @@ -1940,7 +1940,7 @@ lhz_in01,204,138,5 script Keshibien#qsk_al 4_M_ALCHE_C,{ mes "find him somewhere in town,"; mes "though I'm unsure where..."; next; - set bioeth,6; + bioeth = 6; mes "[Keshibien]"; mes "Anyway, it was really"; mes "nice to meet you. Hopefully,"; @@ -2031,7 +2031,7 @@ lhz_in02,278,273,3 script Broncher#qsk_al 4_M_SEAMAN,{ mes "Homunculus Resurrection."; mes "But you still need Kellasus"; mes "to teach you the fundamentals."; - set bioeth,7; + bioeth = 7; next; mes "[Broncher]"; mes "Without those basic"; @@ -2087,7 +2087,7 @@ lhz_in03,106,34,3 script Koring#qsk_al 4_M_KID1,{ mes "a while, I was really scared,"; mes "but my Daddy never gave up."; next; - if (bioeth == 8) set bioeth,9; + if (bioeth == 8) bioeth = 9; mes "[Koring]"; mes "He might be a little"; mes "grumpy now, but my "; diff --git a/npc/quests/skills/assassin_skills.txt b/npc/quests/skills/assassin_skills.txt index d551b83bb..62fa55934 100644 --- a/npc/quests/skills/assassin_skills.txt +++ b/npc/quests/skills/assassin_skills.txt @@ -232,8 +232,8 @@ in_moc_16,14,27,5 script Assassin#realman 4_M_ACROSS,{ mes "of this skill, but for the most"; mes "part, you can use Venom"; mes "Knife pretty easily in battle."; - set ASSN_SK2,1; - set ASSN_SK,1; + ASSN_SK2 = 1; + ASSN_SK = 1; skill "AS_VENOMKNIFE",1,0; next; mes "[Killtin]"; @@ -359,7 +359,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "Very well executed."; mes "Good work, "+ strcharinfo(0) +"."; skill "AS_SONICACCEL",1,0; - set ASSN_SK,7; + ASSN_SK = 7; next; mes "[Esmille]"; mes "Do you understand now?"; @@ -456,7 +456,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "Very well executed."; mes "Good work, "+ strcharinfo(0) +"."; skill "AS_SONICACCEL",1,0; - set ASSN_SK,7; + ASSN_SK = 7; next; mes "[Esmille]"; mes "Do you understand now?"; @@ -488,7 +488,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "to keep. In truth, I don't"; mes "really need any treasure, just^FFFFFF ^000000 some proof of your qualification."; mes "It looks like you're ready for me^FFFFFF ^000000 to teach you Sonic Acceleration."; - set ASSN_SK,6; + ASSN_SK = 6; next; mes "[Esmille]"; mes "Now, right before you"; @@ -539,7 +539,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "Very well executed."; mes "Good work, "+ strcharinfo(0) +"."; skill 1003,1,0; - set ASSN_SK,7; + ASSN_SK = 7; next; mes "[Esmille]"; mes "Do you understand now?"; @@ -662,7 +662,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "are there for precious"; mes "valuables. Consider this"; mes "a test of your strength."; - set ASSN_SK,2; + ASSN_SK = 2; next; mes "[Esmille]"; mes "Whether you can complete"; @@ -678,7 +678,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "there for precious valuables."; mes "Consider this excursion as"; mes "a test of your strength."; - set ASSN_SK,3; + ASSN_SK = 3; next; mes "[Esmille]"; mes "Whether you can complete"; @@ -694,7 +694,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "the bottom floor for precious"; mes "valuables^000000. Consider this as"; mes "a test of your strength."; - set ASSN_SK,4; + ASSN_SK = 4; next; mes "[Esmille]"; mes "Whether you can complete"; @@ -842,7 +842,7 @@ OnTouch: mes "that you pull out of the"; mes "coffin. You have obtained"; mes "a Sapphire for Esmille.^000000"; - set ASSN_SK,5; + ASSN_SK = 5; getitem 726,1; //Blue_Jewel close; } @@ -911,7 +911,7 @@ OnTouch: mes "all gas in your lungs in time"; mes "to escape its effects. You've"; mes "retrieved a Ruby for Esmille.^000000"; - set ASSN_SK,5; + ASSN_SK = 5; getitem 723,1; //Cardinal_Jewel } close; @@ -981,7 +981,7 @@ OnTouch: mes "before the water can"; mes "freeze you. You obtained"; mes "an Aquamarine for Esmille.^000000"; - set ASSN_SK,5; + ASSN_SK = 5; getitem 720,1; //Skyblue_Jewel } close; diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt index 012a9445f..06c3c8f07 100644 --- a/npc/quests/skills/bard_skills.txt +++ b/npc/quests/skills/bard_skills.txt @@ -202,7 +202,7 @@ prontera,174,328,3 script Young Man#bard_q1 4_M_ORIENT02,3,3,{ mes "stop you. Thankfully, nobody"; mes "has any idea of where he is~"; delitem 12112,1; //Tropical_Sograt - set qskill_bard,1; + qskill_bard = 1; } else { mes "[Timid Young Man]"; @@ -296,7 +296,7 @@ prontera,174,328,3 script Young Man#bard_q1 4_M_ORIENT02,3,3,{ mes "stop you. Thankfully, nobody"; mes "has any idea of where he is~"; delitem 12112,1; //Tropical_Sograt - set qskill_bard,1; + qskill_bard = 1; } else { mes "[Timid Young Man]"; @@ -488,7 +488,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{ specialeffect2 EF_TALK_FROSTJOKE; delitem 7277,1; //Munak_Doll skill "BA_PANGVOICE",1,0; - set qskill_bard,9; + qskill_bard = 9; next; mes "[Riott]"; mes "Remember, it doesn't matter"; @@ -570,7 +570,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{ specialeffect2 EF_TALK_FROSTJOKE; delitem 574,5; //Egg skill 1010,1,0; - set qskill_bard,9; + qskill_bard = 9; next; mes "[Riott]"; mes "Remember, it doesn't matter"; @@ -634,7 +634,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{ mes "Bweh heh heh heh heh!"; delitem 574,countitem(574); //Egg } - set qskill_bard,8; + qskill_bard = 8; close; } } @@ -788,7 +788,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{ mes "to come back here"; mes "and bring me back"; mes "^4D4DFF5 Yhelle's Eggs^000000, alright?"; - set qskill_bard,2; + qskill_bard = 2; close; } mes "[Riott]"; @@ -1268,7 +1268,7 @@ function script F_BardSkillYhelle { mes "^3355FFYou found ^3333331 Egg^3355FF in the"; mes "place where Yhelle the"; mes "Hen was roosting.^000000"; - set qskill_bard,qskill_bard+1; + ++qskill_bard; getitem 574,1; //Egg } } diff --git a/npc/quests/skills/blacksmith_skills.txt b/npc/quests/skills/blacksmith_skills.txt index 4ec509b3b..dce9ff6f5 100644 --- a/npc/quests/skills/blacksmith_skills.txt +++ b/npc/quests/skills/blacksmith_skills.txt @@ -28,7 +28,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ mes "zeny that we made the last time.^FFFFFF ^000000 Do you remember how to perform"; mes "Dubious Salesmanship? You"; mes "should be able to use it now..."; - set BLACK_SK,8; + BLACK_SK = 8; skill "BS_UNFAIRLYTRICK",1,0; close; } @@ -151,7 +151,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ mes "I promise! This skill is sooo"; mes "useful! So just bring me those"; mes "materials soon, alright?"; - set BLACK_SK,1; + BLACK_SK = 1; close; } mes "[Akkie]"; @@ -185,7 +185,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ delitem 971,1; //Detrimindexta delitem 613,1; //Iron_Hammer Zeny -= 500; - set BLACK_SK,2; + BLACK_SK = 2; close; } else { @@ -264,7 +264,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ mes "you for being so generous!"; mes "Just bring me ^FF00001 Steel^000000 and"; mes "^FF00003 Coals^000000 and we'll try again!"; - set BLACK_SK,3; + BLACK_SK = 3; close; } else if (BLACK_SK == 3) { @@ -278,7 +278,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ mes "a minute to prepare..."; delitem 999,1; //Steel delitem 1003,3; //Coal - set BLACK_SK,4; + BLACK_SK = 4; close; } else { @@ -316,7 +316,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ mes "really bring her a new"; mes "^FF0000Iron Hammer^333333, or else"; mes "I'll never learn this skill!)^000000"; - set BLACK_SK,5; + BLACK_SK = 5; close; } else if (BLACK_SK == 5) { @@ -334,7 +334,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ mes "I'm going to try"; mes "one more time."; delitem 613,1; //Iron_Hammer - set BLACK_SK,6; + BLACK_SK = 6; close; } else { @@ -368,7 +368,7 @@ geffen,178,72,3 script Akkie#qsk_bs 4_F_JOB_BLACKSMITH,{ mes "is making this fake zeny. Watch"; mes "this... Isn't it easy? Of course, you can only use this in battle to"; mes "reduce Mammonite's zeny cost..."; - set BLACK_SK,7; + BLACK_SK = 7; skill "BS_UNFAIRLYTRICK",1,0; next; mes "[Akkie]"; @@ -489,7 +489,7 @@ geffen,172,52,1 script Goodman#qsk_bs 4_M_DWARF,{ mes "jog the memories you require"; mes "to use this skill once again~"; skill "BS_GREED",1,0; - set BLACK_SK2,3; + BLACK_SK2 = 3; close; } else if (BLACK_SK2 == 3) { @@ -549,7 +549,7 @@ geffen,172,52,1 script Goodman#qsk_bs 4_M_DWARF,{ mes "task, come back and"; mes "talk to me. Alright"; mes "then, good luck~"; - set BLACK_SK2,1; + BLACK_SK2 = 1; close; } mes "[Goodman]"; @@ -607,7 +607,7 @@ geffen,172,52,1 script Goodman#qsk_bs 4_M_DWARF,{ mes "Don't forget that, and I hope"; mes "you craft true masterpieces."; skill "BS_GREED",1,0; - set BLACK_SK2,2; + BLACK_SK2 = 2; close; } else { diff --git a/npc/quests/skills/crusader_skills.txt b/npc/quests/skills/crusader_skills.txt index 8b15136fe..327e9ca18 100644 --- a/npc/quests/skills/crusader_skills.txt +++ b/npc/quests/skills/crusader_skills.txt @@ -13,7 +13,7 @@ geffen,110,117,3 script Ford#11 4_M_CRU_OLD,{ if (BaseJob == Job_Crusader) { - if (CRUS_SK == 8 && getskilllv("CR_SHRINK") == 0) { + if (CRUS_SK == 8 && getskilllv(CR_SHRINK) == 0) { mes "[Ford]"; mes "Hey, it's been a while~"; mes "And you even managed to"; @@ -21,7 +21,7 @@ geffen,110,117,3 script Ford#11 4_M_CRU_OLD,{ mes "have forgotten how to perform"; mes "the Shrink skill, so I'll teach"; mes "it to you real quick... There!"; - set CRUS_SK,10; + CRUS_SK = 10; skill "CR_SHRINK",1,0; close; } @@ -100,7 +100,7 @@ geffen,110,117,3 script Ford#11 4_M_CRU_OLD,{ mes "stationed south of Geffen,"; mes "and deliver his report to me."; mes "Your help is a great relief..."; - set CRUS_SK,1; + CRUS_SK = 1; close; case 2: mes "[Ford]"; @@ -176,7 +176,7 @@ geffen,110,117,3 script Ford#11 4_M_CRU_OLD,{ mes "antidote for Goblin Poison."; mes "If you don't hurry, it might"; mes "be too late for Sloutii--!"; - set CRUS_SK,4; + CRUS_SK = 4; close; } else if (CRUS_SK == 4) { @@ -352,7 +352,7 @@ gef_fild13,297,242,3 script Soldier#277 4_M_CRU,{ mes "give me his report. I better"; mes "bring him a Red Potion to"; mes "alleviate his suffering...)^000000"; - set CRUS_SK,2; + CRUS_SK = 2; close; } else if (CRUS_SK == 2) { @@ -383,7 +383,7 @@ gef_fild13,297,242,3 script Soldier#277 4_M_CRU,{ mes "pages are smudged with"; mes "the blood from his wound.^000000"; delitem 501,1; //Red_Potion - set CRUS_SK,3; + CRUS_SK = 3; close; } else { @@ -461,7 +461,7 @@ gef_fild13,297,242,3 script Soldier#277 4_M_CRU,{ close; } else if (CRUS_SK == 7) { - set .@rand,rand(1,5); + .@rand = rand(1,5); if (.@rand == 1 || .@rand == 5) { mes "^3355FFYou carefully pour the"; mes "Goblin poison antidote"; @@ -516,7 +516,7 @@ gef_fild13,297,242,3 script Soldier#277 4_M_CRU,{ mes "this ability to combat evil"; mes "and protect the weak. Ah, and"; mes "if I learn any new skills, I'll be sure to teach you right away."; - set CRUS_SK,8; + CRUS_SK = 8; skill "CR_SHRINK",1,0; close; } @@ -534,7 +534,7 @@ gef_fild13,297,242,3 script Soldier#277 4_M_CRU,{ mes "from Father Arthur to Sloutii."; mes "You've got to return to Father"; mes "Arthur and make another one.^000000"; - set CRUS_SK,9; + CRUS_SK = 9; close; } else if (CRUS_SK == 8 || CRUS_SK == 10) { @@ -645,7 +645,7 @@ prt_church,87,127,3 script Pastor#1011 4_M_SAGE_C,{ mes "^0000FF1 Unripe Apple^000000."; mes "Now hurry, he won't"; mes "last long if he's poisoned!"; - set CRUS_SK,5; + CRUS_SK = 5; close; } else if (CRUS_SK == 5) { @@ -686,7 +686,7 @@ prt_church,87,127,3 script Pastor#1011 4_M_SAGE_C,{ delitem 1003,1; //Coal delitem 7053,3; //Cyfar delitem 713,3; //Empty_Bottle - set CRUS_SK,6; + CRUS_SK = 6; close; } else { @@ -740,7 +740,7 @@ prt_church,87,127,3 script Pastor#1011 4_M_SAGE_C,{ mes "Here, take the"; mes "antidote. Now go!"; mes "Godspeed, adventurer!"; - set CRUS_SK,7; + CRUS_SK = 7; close; } else if (CRUS_SK == 7) { @@ -776,7 +776,7 @@ prt_church,87,127,3 script Pastor#1011 4_M_SAGE_C,{ mes "antidote and run as"; mes "fast as you can to"; mes "the wounded! Go!"; - set CRUS_SK,7; + CRUS_SK = 7; close; } else if (CRUS_SK == 10) { diff --git a/npc/quests/skills/dancer_skills.txt b/npc/quests/skills/dancer_skills.txt index de72a6fe7..e8e348cc7 100644 --- a/npc/quests/skills/dancer_skills.txt +++ b/npc/quests/skills/dancer_skills.txt @@ -101,7 +101,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "This tool is imperative"; mes "to the lesson, so fetch it"; mes "and bring it to me quickly!"; - set DANCER_SK,1; + DANCER_SK = 1; close; } else if (DANCER_SK == 1) { @@ -149,7 +149,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "you've managed to avoid"; mes "becoming a prima donna.^000000"; delitem 747,1; //Crystal_Mirror - set DANCER_SK,2; + DANCER_SK = 2; close; } else { @@ -190,7 +190,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "^3355FFIt figures that she'd"; mes "keep your mirror.^000000"; emotion e_ag,1; - set DANCER_SK,3; + DANCER_SK = 3; close; } else if (DANCER_SK > 2 && DANCER_SK < 7) { @@ -248,7 +248,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "But she just hit you!"; mes "Lightly, of course, but"; mes "still, a smack is a smack.^000000"; - set DANCER_SK,8; + DANCER_SK = 8; close; } else if (DANCER_SK == 8) { @@ -313,7 +313,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ next; mes "^3355FFYou have finally learned"; mes "the Charming Wink skill.^000000"; - set DANCER_SK,9; + DANCER_SK = 9; specialeffect2 EF_ABSORBSPIRITS; skill "DC_WINKCHARM",1,0; close; @@ -430,7 +430,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{ mes "So... You didn't come"; mes "here to buy these warps?"; mes "You sure you don't want any?"; - set DANCER_SK,4; + DANCER_SK = 4; close; } else if (DANCER_SK == 4) { @@ -485,7 +485,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{ mes "in the church know what"; mes "we're doing. I don't wanna"; mes "get in too much trouble!"; - set DANCER_SK,5; + DANCER_SK = 5; close; } else if (DANCER_SK == 5) { @@ -567,7 +567,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{ delitem 513,3; //Banana delitem 538,5; //Well_Baked_Cookie delitem 736,1; //White_Platter - set DANCER_SK,6; + DANCER_SK = 6; close; } else { @@ -615,7 +615,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{ mes "G-go away. Talk to"; mes "Canell, my sister..."; mes "...ZzzzzZzZZZzzzZZ...."; - set DANCER_SK,7; + DANCER_SK = 7; close2; warp "prontera",156,272; end; diff --git a/npc/quests/skills/hunter_skills.txt b/npc/quests/skills/hunter_skills.txt index d2c1a1204..b85aa3d42 100644 --- a/npc/quests/skills/hunter_skills.txt +++ b/npc/quests/skills/hunter_skills.txt @@ -210,7 +210,7 @@ pay_arche,109,169,3 script Arpesto 4_M_05,{ delitem 724,5; //Cardinal_Jewel_ delitem 7115,5; //Harpy's_Feather delitem 537,30; //Pet_Food - set qskill_hunter,100; + qskill_hunter = 100; skill "HT_PHANTASMIC",1,0; close; } else { @@ -233,7 +233,7 @@ pay_arche,109,169,3 script Arpesto 4_M_05,{ mes "was perfect. But next time, use"; mes "the skill on foes that deserve"; mes "to be beaten, alright? Good."; - set qskill_hunter,100; + qskill_hunter = 100; close; } if (BaseJob == Job_Hunter && JobLevel < 40) { @@ -340,7 +340,7 @@ pay_arche,109,169,3 script Arpesto 4_M_05,{ mes "........."; mes "......Riiiight."; emotion e_dots,"Reidin Corse#tu"; - set qskill_hunter,1; + qskill_hunter = 1; close; case 2: mes "[Arpesto]"; diff --git a/npc/quests/skills/knight_skills.txt b/npc/quests/skills/knight_skills.txt index aca35e860..1162301ec 100644 --- a/npc/quests/skills/knight_skills.txt +++ b/npc/quests/skills/knight_skills.txt @@ -59,7 +59,7 @@ prt_in,85,99,3 script Knight#kabuto 4_M_JOB_KNIGHT2,{ mes "the cost of increased damage"; mes "is greater risk to yourself."; mes "For now, it would be best to practice this skill on your own."; - set KNGT_SK,10; + KNGT_SK = 10; skill "KN_CHARGEATK",1,0; next; mes "[Essofeit]"; @@ -109,7 +109,7 @@ prt_in,85,99,3 script Knight#kabuto 4_M_JOB_KNIGHT2,{ mes "the cost of increased damage"; mes "is greater risk to yourself."; mes "For now, it would be best to practice this skill on your own."; - set KNGT_SK,9; + KNGT_SK = 9; skill "KN_CHARGEATK",1,0; next; mes "[Essofeit]"; @@ -178,7 +178,7 @@ prt_in,85,99,3 script Knight#kabuto 4_M_JOB_KNIGHT2,{ mes "completed the preparations?"; delitem 530,5; //Candy_Striper delitem 748,3; //Witherless_Rose - set KNGT_SK,8; + KNGT_SK = 8; close; } mes "[Essofeit]"; @@ -228,7 +228,7 @@ prt_in,85,99,3 script Knight#kabuto 4_M_JOB_KNIGHT2,{ mes "wonderful battles, that glorious camaraderie forged between"; mes "rivals... It's all in the past."; next; - set KNGT_SK,7; + KNGT_SK = 7; mes "[Essofeit]"; mes "Maybe it's better that"; mes "I forget all about my old"; @@ -284,7 +284,7 @@ prt_in,85,99,3 script Knight#kabuto 4_M_JOB_KNIGHT2,{ mes "for yourself and speak to the"; mes "other Knights that are training. Hopefully, you will see what"; mes "I have seen for a long time..."; - set KNGT_SK,1; + KNGT_SK = 1; close; } } @@ -328,7 +328,7 @@ OnTouch: mes "training. But as you listen"; mes "a little more closely, their"; mes "screams seem a bit dramatized.^000000"; - if (KNGT_SK == 1) set KNGT_SK,2; + if (KNGT_SK == 1) KNGT_SK = 2; close; } mes "^3355FFThis group of Knights"; @@ -356,7 +356,7 @@ prontera,72,352,7 script Grand Master 4_M_JOB_KNIGHT1,{ mes "and make sure that you"; mes "don't pull a muscle."; mes "Um, that's an order!"; - if (KNGT_SK == 2) set KNGT_SK,3; + if (KNGT_SK == 2) KNGT_SK = 3; close; } mes "Put your backs into it,"; @@ -397,7 +397,7 @@ prontera,78,354,3 script Knight#zabii 4_M_JOB_KNIGHT2,{ mes "talkin' to me and let me"; mes "grunt like I've got a hernia."; mes "Hooooo-AH! BWAH! HAI-YAH!"; - if (KNGT_SK == 3) set KNGT_SK,4; + if (KNGT_SK == 3) KNGT_SK = 4; close; } mes "[A Knight]"; @@ -419,7 +419,7 @@ prontera,73,357,5 script Knight#drake 4_M_JOB_KNIGHT2,{ mes "necklace for my wife."; mes "I just know she'll love it!"; next; - if (KNGT_SK == 4) set KNGT_SK,5; + if (KNGT_SK == 4) KNGT_SK = 5; mes "[Gon]"; mes "Let's see, how many"; mes "more days until payday?"; @@ -454,7 +454,7 @@ prontera,78,357,3 script Knight#sasword 4_M_JOB_KNIGHT2,{ mes "second rate, except maybe"; mes "for that one guy, Essofeit."; next; - set KNGT_SK,6; + KNGT_SK = 6; mes "[Jiya]"; mes "As for me, I don't have too"; mes "much in the way of ambition."; diff --git a/npc/quests/skills/merchant_skills.txt b/npc/quests/skills/merchant_skills.txt index 592c6b9dd..dc34b89c9 100644 --- a/npc/quests/skills/merchant_skills.txt +++ b/npc/quests/skills/merchant_skills.txt @@ -356,7 +356,7 @@ alberta,119,221,6 script Charlron 1_M_PAY_ELDER,{ next; switch (select("Hey~ that's why I came.:What's that?")) { case 1: - set .@care_random,rand(1,3); + .@care_random = rand(1,3); if (.@care_random == 1) { if ((countitem(533) > 1) && (countitem(998) > 19) && (countitem(938) > 29) && (countitem(601) > 19) && (countitem(962) > 4)) { mes "[Gershaun]"; diff --git a/npc/quests/skills/monk_skills.txt b/npc/quests/skills/monk_skills.txt index f4788e12d..6ba28164a 100644 --- a/npc/quests/skills/monk_skills.txt +++ b/npc/quests/skills/monk_skills.txt @@ -56,7 +56,7 @@ prt_monk,270,198,3 script Apprentice Monk#qsk_mo 4_M_MONK,{ mes "tap-tap-tap-tap-tap-tap-tap-tap- tap-tap-tap-tap-tap-tap-tap-tap-"; mes "tap-tap-tap-tap-tap-tap-tap-tap- tap-tap-tap-tap-tap-tap-tap-tap-"; mes "tap-tap-tap-tap-tap-tap* *POKE*^000000"; - set MONK_SK,7; + MONK_SK = 7; skill "MO_KITRANSLATION",1,0; skill "MO_BALKYOUNG",1,0; next; @@ -144,7 +144,7 @@ prt_monk,270,198,3 script Apprentice Monk#qsk_mo 4_M_MONK,{ mes "fighting may be necessary at"; mes "times, but it is a means to an"; mes "end, and not an end in itself."; - set MONK_SK,3; + MONK_SK = 3; skill "MO_KITRANSLATION",1,0; next; mes "[Monk]"; @@ -195,7 +195,7 @@ prt_monk,270,198,3 script Apprentice Monk#qsk_mo 4_M_MONK,{ mes "the skills I teach you for"; mes "peace and justice. Prove that"; mes "you are free from selfishness."; - set MONK_SK,2; + MONK_SK = 2; close; } } @@ -249,7 +249,7 @@ monk_test,316,69,5 script Monk#qsk_mo 4_M_CHNMONK,{ mes "You should definitely be able"; mes "to do it since you've learned"; mes "Spiritual Endowment."; - set MONK_SK,6; + MONK_SK = 6; skill "MO_BALKYOUNG",1,0; next; mes "[Monk]"; @@ -278,7 +278,7 @@ monk_test,316,69,5 script Monk#qsk_mo 4_M_CHNMONK,{ mes "that I can finish preparations."; delitem 905,20; //Stem delitem 711,3; //Shoot - set MONK_SK,5; + MONK_SK = 5; close; } if (MONK_SK == 4) { @@ -355,7 +355,7 @@ monk_test,316,69,5 script Monk#qsk_mo 4_M_CHNMONK,{ mes "if you do not first learn the"; mes "Spiritual Bestowment skill."; mes "I wish you luck with that..."; - set MONK_SK,4; + MONK_SK = 4; close; } if (MONK_SK == 1) { @@ -411,7 +411,7 @@ monk_test,316,69,5 script Monk#qsk_mo 4_M_CHNMONK,{ mes "that he should popularize his"; mes "teaching of that skill, I must respect his decision. Still, you"; mes "may try talking to him if you wish to try to learn some new skills."; - set MONK_SK,1; + MONK_SK = 1; next; mes "[Monk]"; mes "To find him, simply seek"; diff --git a/npc/quests/skills/novice_skills.txt b/npc/quests/skills/novice_skills.txt index c7512b38b..4e688f639 100644 --- a/npc/quests/skills/novice_skills.txt +++ b/npc/quests/skills/novice_skills.txt @@ -76,7 +76,7 @@ prt_in,234,133,4 script Nami 1_F_01,{ mes "If you go and find these items, "; mes "I will be happy to teach you this skill."; mes "Well, I will be awaiting your return."; - set skill_nov,1; + skill_nov = 1; close; case 1: mes "[Nami]"; @@ -136,7 +136,7 @@ prt_in,234,133,4 script Nami 1_F_01,{ mes "Presto !!"; next; skill "NV_FIRSTAID",1,0; - set skill_nov,3; + skill_nov = 3; mes "[Nami]"; mes "Yes yes, that's right!"; mes "Now that you have this"; @@ -282,7 +282,7 @@ prt_in,73,87,4 script Chivalry Member 1_M_YOUNGKNIGHT,{ mes "If you are late, you have to do it again! !"; mes "Now GO ! GO ! GO !"; mes "Run ~~~~~!!!!"; - set skill_nov, 4; + skill_nov = 4; close; case 4: mes "[Bulma]"; @@ -310,7 +310,7 @@ prt_in,73,87,4 script Chivalry Member 1_M_YOUNGKNIGHT,{ mes "use this skill as you see fit."; mes " ' Play Dead ' "; mes "Okay okay, See you around ! ! !"; - set skill_nov,6; + skill_nov = 6; delitem 7039,1; //Novice_Nametag skill "NV_TRICKDEAD",1,0; close; @@ -330,7 +330,7 @@ prt_in,73,87,4 script Chivalry Member 1_M_YOUNGKNIGHT,{ mes "In order for you to have another chance,"; mes "you must start from the beginning. . ."; mes "Do it right this time ! ! ! !"; - set skill_nov,4; + skill_nov = 4; close; } } @@ -413,7 +413,7 @@ prt_castle,175,146,4 script Nursing Instructor 1_M_04,{ mes "go and get killed, be careful. -"; next; mes "^3355FF- Got 1 Sterilized Bandages -^000000"; - set skill_nov,2; + skill_nov = 2; close; case 2: mes "[Dread Lord]"; @@ -441,7 +441,7 @@ prt_castle,175,146,4 script Nursing Instructor 1_M_04,{ mes "-woosh - *storms away*"; next; mes "^3355FF- Got 1 Newbie Tag -^000000"; - set skill_nov,5; + skill_nov = 5; getitem 7039,1; //Novice_Nametag close; } diff --git a/npc/quests/skills/priest_skills.txt b/npc/quests/skills/priest_skills.txt index 68da2767e..cdea7b69b 100644 --- a/npc/quests/skills/priest_skills.txt +++ b/npc/quests/skills/priest_skills.txt @@ -59,7 +59,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ } } else if (PRIEST_SK == 0) { - set redemp,1014; + redemp = 1014; if (getskilllv("PR_REDEMPTIO")) { mes "[Sister Linus]"; mes "I'll always be praying"; @@ -67,7 +67,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ mes "and I hope that you can bring"; mes "love and compassion to all"; mes "whom you meet in your travels."; - set PRIEST_SK,100; + PRIEST_SK = 100; close; } mes "[Sister Linus]"; @@ -209,7 +209,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ mes "happen to find her, please"; mes "let her know that I am"; mes "praying for her safety."; - set PRIEST_SK,1; + PRIEST_SK = 1; close; } else if (PRIEST_SK == 1) { @@ -240,7 +240,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ mes "20 Blue Gemstones^000000"; mes "so you can attempt"; mes "to learn the skill."; - set PRIEST_SK,2; + PRIEST_SK = 2; next; mes "[Sister Linus]"; mes "Um, but if you fail to"; @@ -283,17 +283,17 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ mes "strength to walk the path of"; mes "love and sacrifice. Redemptio!^000000"; next; - set .@redem_s,JobLevel+getskilllv("ALL_RESURRECTION"); - set .@red_suc,rand(1,100); + .@redem_s = JobLevel+getskilllv("ALL_RESURRECTION"); + .@red_suc = rand(1,100); if( .@redem_s < 31 ) { if( .@red_suc > 20 && .@red_suc < 41 ) - set .@success,1; + .@success = 1; } else if( .@redem_s < 41 ) { if( .@red_suc > 10 && .@red_suc < 41 ) - set .@success,1; + .@success = 1; } else { if( .@red_suc > 10 && .@red_suc < 51 ) - set .@success,1; + .@success = 1; } if (.@success) { @@ -307,7 +307,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ mes "critical situations."; delitem 717,20; //Blue_Gemstone delitem 523,30; //Holy_Water - set PRIEST_SK,100; + PRIEST_SK = 100; skill "PR_REDEMPTIO",1,0; close; } diff --git a/npc/quests/skills/rogue_skills.txt b/npc/quests/skills/rogue_skills.txt index cde8fc2d9..0f553ffab 100644 --- a/npc/quests/skills/rogue_skills.txt +++ b/npc/quests/skills/rogue_skills.txt @@ -56,7 +56,7 @@ OnTouch: specialeffect2 EF_CHANGECOLD; specialeffect EF_CHANGEWIND; specialeffect2 EF_LIGHTSPHERE; - set ROG_SK,11; + ROG_SK = 11; mes "[Killer]"; mes "Wh-what have"; mes "you done to me?!"; @@ -85,8 +85,8 @@ OnTouch: mes "backward, it will be pale red."; next; setarray .@Effects[1],EF_CHANGECOLD,EF_CHANGEWIND,EF_CHANGEEARTH; - for(set .@lim_1,0; .@lim_1<10; set .@lim_1,.@lim_1+1) { - set .@move_1,rand(1,3); + for(.@lim_1 = 0; .@lim_1<10; ++.@lim_1) { + .@move_1 = rand(1,3); specialeffect .@Effects[.@move_1]; if (select("Block him to the Left:Block him to the Right:Block his Retreat") == .@move_1) { mes "^3355FFThe killer remains"; @@ -139,7 +139,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "Close Confine skill once again."; specialeffect2 EF_LIGHTSPHERE; skill 1005,1,0; - set ROG_SK,13; + ROG_SK = 13; close; } else if (ROG_SK == 13 && Upper == 1) { @@ -238,7 +238,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "this letter to my youngest"; mes "son, ^FF0000Louis Greg^000000? Hurry,"; mes "there's not much time left!"; - set ROG_SK,2; + ROG_SK = 2; close; } mes "[Haijara Greg]"; @@ -264,7 +264,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "this letter to my youngest"; mes "son, ^FF0000Louis Greg^000000? Hurry,"; mes "there's not much time left!"; - set ROG_SK,2; + ROG_SK = 2; close; } mes "[Haijara Greg]"; @@ -304,7 +304,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "face in front of me again."; mes "And just be happy that"; mes "I haven't killed you!"; - set ROG_SK,1; + ROG_SK = 1; close; } else if (ROG_SK == 2) { @@ -342,7 +342,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "a letter from Jay."; mes "Good, good, let me"; mes "read what he has to say..."; - set ROG_SK,6; + ROG_SK = 6; next; mes "[Haijara Greg]"; mes "Ah, great news! He's"; @@ -410,7 +410,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "him steal that book!"; specialeffect EF_COMBOATTACK5; donpcevent "Killer#Rogueguild::OnEnable"; - set ROG_SK,10; + ROG_SK = 10; close; } else if (ROG_SK == 10) { @@ -490,7 +490,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "I hope that you can learn"; mes "more about this skill through"; mes "practice, and that you become^FFFFFF ^000000 as great a legend as Chae Takbae."; - set ROG_SK,12; + ROG_SK = 12; skill 1005,1,0; specialeffect2 EF_LIGHTSPHERE; close; @@ -502,7 +502,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "Confine through diligent"; mes "practice. Good luck, and"; mes "thanks again for your help."; - set ROG_SK,12; + ROG_SK = 12; skill 1005,1,0; specialeffect2 EF_LIGHTSPHERE; close; @@ -556,7 +556,7 @@ in_rogue,152,29,0 script Louis Greg#rogueguild 4_M_02,{ mes "room in the Rogue Guild, but"; mes "even I don't know where to find"; mes "it. I hope everything's okay..."; - set ROG_SK,1; + ROG_SK = 1; close; } else if (ROG_SK == 1) { @@ -576,7 +576,7 @@ in_rogue,152,29,0 script Louis Greg#rogueguild 4_M_02,{ mes "father? Oh, he must"; mes "be alright! Quick, let"; mes "me read it right away!"; - set ROG_SK,3; + ROG_SK = 3; next; mes "[Louis Greg]"; mes "Oh no, he may be safe for"; @@ -703,7 +703,7 @@ in_rogue,268,125,2 script Thor Greg#rogueguild 4_M_04,{ mes "didn't get to him. With"; mes "any luck, he's hidden in"; mes "the panic room, but still..."; - set ROG_SK,1; + ROG_SK = 1; close; } else if (ROG_SK == 1) { @@ -731,7 +731,7 @@ in_rogue,268,125,2 script Thor Greg#rogueguild 4_M_04,{ mes "What's this you're"; mes "giving me? A letter"; mes "from Louis? Let's see..."; - set ROG_SK,4; + ROG_SK = 4; next; mes "[Thor Greg]"; mes "Oh God, father's in"; @@ -822,7 +822,7 @@ in_rogue,268,125,2 script Thor Greg#rogueguild 4_M_04,{ mes "closely and make sure that you"; mes "predict and block her movements"; mes "to the left, right or backward.^FFFFFF ^000000 Get ready, I'm sending you now..."; - set ROG_SK,6; + ROG_SK = 6; close2; warp "in_rogue",89,114; end; @@ -842,7 +842,7 @@ in_rogue,268,125,2 script Thor Greg#rogueguild 4_M_04,{ mes "training. Congratulations!"; mes "Now, please speak to my"; mes "father so that he can explain^FFFFFF ^000000 the Close Confine skill in detail."; - set ROG_SK,9; + ROG_SK = 9; close; } else if (ROG_SK == 9) { @@ -895,7 +895,7 @@ in_rogue,181,114,3 script Jay Greg#rogueguild 4_M_03,{ mes "room. Strangely, my brothers"; mes "and I can never find it and"; mes "figure out whether he's safe..."; - set ROG_SK,1; + ROG_SK = 1; next; mes "[Jay Greg]"; mes "Recently, he's been pursued"; @@ -940,7 +940,7 @@ in_rogue,181,114,3 script Jay Greg#rogueguild 4_M_03,{ mes "Ah, it's from Thor, so"; mes "I guess I better read"; mes "it right away. Hmmm..."; - set ROG_SK,5; + ROG_SK = 5; next; mes "[Jay Greg]"; mes "I see... I must report"; @@ -1175,10 +1175,10 @@ function script F_Kienna { mes "going to move and block"; mes "me from moving, essentially"; mes "immobilizing me. Get ready~"; - set ROG_SK,7; + ROG_SK = 7; next; - for(set .@lim_1,0; .@lim_1<10; set .@lim_1,.@lim_1+1) { - set .@move_1,rand(1,3); + for(.@lim_1 = 0; .@lim_1<10; ++.@lim_1) { + .@move_1 = rand(1,3); if (select("Block her to the Left:Block her to the Right:Block her retreat") == .@move_1) { mes "[Kienna]"; mes "Huh...?"; @@ -1186,7 +1186,7 @@ function script F_Kienna { mes "Very nice work~"; specialeffect EF_POTION1; specialeffect2 EF_POTION7; - set .@suc_1,.@suc_1 + 1; + ++.@suc_1; } else { mes "[Kienna]"; @@ -1251,7 +1251,7 @@ function script F_Kienna { mes "you back to Thor Greg"; mes "now so that you can finish"; mes "learning ^FF0000Close Confine^000000."; - set ROG_SK,8; + ROG_SK = 8; disablenpc "Kienna#"+getarg(0); donpcevent "#1st5min::OnDisable"; enablenpc "#1strecog"; @@ -1272,14 +1272,14 @@ function script F_Kienna { if (select("Yes!:No, thanks.") == 1) { disablenpc "Kienna#"+getarg(0); donpcevent "#1stmove::OnEnable"; - set ROG_SK,6; + ROG_SK = 6; warp "prt_are01",150,150; end; } disablenpc "Kienna#"+getarg(0); donpcevent "#1st5min::OnDisable"; enablenpc "#1strecog"; - set ROG_SK,6; + ROG_SK = 6; donpcevent "Waiting Room#rogue10::OnEnable"; warp "in_rogue",264,124; end; @@ -1293,7 +1293,7 @@ function script F_Kienna { mes "but you'll have to start"; mes "from the very beginning"; mes "of this training."; - set ROG_SK,6; + ROG_SK = 6; close2; disablenpc "Kienna#"+getarg(0); donpcevent "#1stmove::OnEnable"; diff --git a/npc/quests/skills/sage_skills.txt b/npc/quests/skills/sage_skills.txt index 5f065a892..55fd0a824 100644 --- a/npc/quests/skills/sage_skills.txt +++ b/npc/quests/skills/sage_skills.txt @@ -36,8 +36,8 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ close; } if(SAG_SK == 100) { - set .@Element, getskilllv("SA_ELEMENTFIRE") + getskilllv("SA_ELEMENTGROUND") + getskilllv("SA_ELEMENTWIND") + getskilllv("SA_ELEMENTWATER"); - set .@Convert, getskilllv("SA_CREATECON"); + .@Element = getskilllv(SA_ELEMENTFIRE) + getskilllv(SA_ELEMENTGROUND) + getskilllv(SA_ELEMENTWIND) + getskilllv(SA_ELEMENTWATER); + .@Convert = getskilllv(SA_CREATECON); if(.@Element && .@Convert) { mes "[Mishuna]"; mes "If you have any Sage or"; @@ -83,7 +83,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ setarray .@skill[0],1018,1017,1019,1008; setarray .@skill$[0],"Fire","Earth","Wind","Water"; while(1) { - set .@i, select("Fire Elemental Change:Earth Elemental Change:Wind Elemental Change:Water Elemental Change")-1; + .@i = select("Fire Elemental Change:Earth Elemental Change:Wind Elemental Change:Water Elemental Change")-1; if(getskilllv(.@ReqSkill[.@i]) == 0) { mes "[Mishuna]"; mes "I'm sorry, but you haven't"; @@ -237,7 +237,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ mes "return. Remember that we"; mes "need these items to create"; mes "a converter so that you can^FFFFFF ^000000 learn the skill from my example..."; - set SAG_SK,1; + SAG_SK = 1; close; } else if(SAG_SK == 1) { @@ -313,7 +313,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ delitem 1013,12; // Rainbow_Shell delitem 946,10; // Snail's_Shell delitem 7433,4; // Blank_Scroll - set SAG_SK,2; + SAG_SK = 2; skill "SA_CREATECON",1,0; next; mes "[Mishuna]"; @@ -358,7 +358,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ setarray .@ReqItem$[0],"Red Bloods","Green Lives","Wind of Verdure","Crystal Blues"; setarray .@skill$[0],"Fire","Earth","Wind","Water"; while(1) { - set .@i, select("Fire Elemental Change:Earth Elemental Change:Wind Elemental Change:Water Elemental Change")-1; + .@i = select("Fire Elemental Change:Earth Elemental Change:Wind Elemental Change:Water Elemental Change")-1; if(getskilllv(.@ReqSkill[.@i]) == 0) { mes "[Mishuna]"; mes "I'm sorry, but you have not"; @@ -380,7 +380,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ mes "^FF00001 Morroc Solution^000000. Please"; mes "return to me once you have"; mes "all the materials ready."; - set SAG_SK, 10 * (.@i+1); //10,20,30,40 + SAG_SK = 10 * (.@i+1); //10,20,30,40 close; } } @@ -391,7 +391,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ mes "- I recalled ^ff0000Elemental Converter Creation skill^000000 While I talk to Mishuna! -"; next; } - set .@i, (SAG_SK/10) - 1; + .@i = (SAG_SK/10) - 1; setarray .@ReqItem[0],990,993,992,991; setarray .@ReqItem$[0],"Red Bloods","Green Lives","Wind of Verdure","Crystal Blues"; setarray .@skill[0],1018,1017,1019,1008; @@ -449,7 +449,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ delitem .@ReqItem[.@i],20; delitem 1089,1; // Payon Potion delitem 1088,1; // Morocc Potion - set SAG_SK,100; + SAG_SK = 100; skill .@skill[.@i],1,0; next; mes "[Mishuna]"; diff --git a/npc/quests/skills/swordman_skills.txt b/npc/quests/skills/swordman_skills.txt index 8f57af3c4..c9b56f7d6 100644 --- a/npc/quests/skills/swordman_skills.txt +++ b/npc/quests/skills/swordman_skills.txt @@ -65,7 +65,7 @@ izlude_in,118,175,4 script Knight De Thomas 4W_M_02,{ mes "Don't you think it is pitiful that I have to stay in once place everyday, not being able to go outside?"; mes "Please, find me one...*sniffsniff*"; mes "If you don't..."; - set sm_movingrecovery_x,1; + sm_movingrecovery_x = 1; mes "You won't get anything! Muahahaha."; close; case 2: @@ -101,7 +101,7 @@ izlude_in,118,175,4 script Knight De Thomas 4W_M_02,{ delitem 713,200; //Empty_Bottle delitem 1058,1; //Wing_Of_Moth skill "SM_MOVINGRECOVERY",1,0; - set sm_movingrecovery_x,2; + sm_movingrecovery_x = 2; mes "[De Thomas]"; mes "There you go!"; mes "Try it yourself."; diff --git a/npc/quests/skills/thief_skills.txt b/npc/quests/skills/thief_skills.txt index 0f31c7c5e..277c5aaed 100644 --- a/npc/quests/skills/thief_skills.txt +++ b/npc/quests/skills/thief_skills.txt @@ -58,7 +58,7 @@ moc_prydb1,154,128,4 script Alcouskou 2_M_THIEFMASTER,{ mes "west Payon. That is where I"; mes "heard he is these days."; delitem 7041,5; //Fine_Grit - set skill_thief_1,1; + skill_thief_1 = 1; close; } mes "[Alcouskou]"; @@ -468,7 +468,7 @@ payon,91,77,3 script Bag Seller 4W_M_03,{ delitem 952,1; //Cactus_Needle delitem 1055,1; //Earthworm_Peeling delitem 1025,1; //Spiderweb - set skill_thief_1,2; + skill_thief_1 = 2; getitem 7042,1; //Leather_Bag_Of_Infinity close; } diff --git a/npc/quests/skills/wizard_skills.txt b/npc/quests/skills/wizard_skills.txt index 9947c3ad0..3ada09290 100644 --- a/npc/quests/skills/wizard_skills.txt +++ b/npc/quests/skills/wizard_skills.txt @@ -171,7 +171,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{ mes "Chivalry. Someone there should"; mes "be willing to teach you more"; mes "about Push Backs in skills..."; - set WIZ_SK,1; + WIZ_SK = 1; close; } else if (WIZ_SK == 1) { @@ -212,7 +212,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{ mes "come back as soon as you"; mes "can. While you're out there,"; mes "I'm going to take another nap~"; - set WIZ_SK,3; + WIZ_SK = 3; close; } else if (WIZ_SK == 3) { @@ -292,7 +292,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{ delitem 993,10; //Yellow_Live delitem 990,10; //Boody_Red delitem 992,10; //Wind_Of_Verdure - set WIZ_SK,100; + WIZ_SK = 100; skill "WZ_SIGHTBLASTER",1,0; next; mes "[Meow]"; @@ -417,7 +417,7 @@ prt_in,82,98,3 script Simon Mayace#q_wiz 1_ETC_01,{ mes "Concentrate and practice the"; mes "theory on your own, and you"; mes "should be able to do it. Good^FFFFFF ^000000luck on your travels, adventurer~"; - set WIZ_SK,2; + WIZ_SK = 2; close; } else { |