diff options
author | Haru <haru@dotalux.com> | 2014-10-26 02:06:46 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:50 +0100 |
commit | bf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch) | |
tree | 0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/jobs/2-2/rogue.txt | |
parent | 6b20c5b6988c889df35b890d93c338f8b87fa430 (diff) | |
download | hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.gz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.bz2 hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.xz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.zip |
Replaced 'set' with direct assignment where applicable (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/jobs/2-2/rogue.txt')
-rw-r--r-- | npc/jobs/2-2/rogue.txt | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt index d0b2ba95f..7fb6f2c0a 100644 --- a/npc/jobs/2-2/rogue.txt +++ b/npc/jobs/2-2/rogue.txt @@ -168,7 +168,7 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{ mes "You've been"; mes "doin' a great job~"; } - set .@jlevel,JobLevel; + .@jlevel = JobLevel; callfunc "Job_Change",Job_Rogue; callfunc "F_ClearJobVar"; completequest 2027; @@ -212,110 +212,110 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{ mes "1. Choose the skill necessary for learning ^880000Stalk^000000."; next; if (select("^880000Hiding^000000:^880000Steal^000000:^880000Improve Dodge^000000:^880000Bash^000000") == 1) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "2. In comparison to the Merchant's Level 10 ^880000Discount^000000 skill, how much more of a discount, in terms of percent, can a Rogue get with Level 10 ^880000Haggle^000000 skill?"; next; if (select("3 %:2 %:1 %:0 %") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "3. What is the correct description for the skill, ^880000Mug^000000?"; next; if (select("Steal items from players:Steal items from monsters:Steal Zeny from monsters:Steal Zeny from players") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "4. How many Rogues does it require to activate the skill, ^880000Slyness^000000?"; next; if (select("1 Rogues + 2 Assassin:1 Thief + 2 Rogue:4 Thieves:2 Rogues") == 4) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "5. Choose the skill that you can learn at Level 5 ^880000Divest Helm^000000."; next; if (select("^880000Envenom^000000:^880000Strip Tease^000000:^880000Venom Splasher^000000:^880000Divest Shield^000000") == 4) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "6. Choose the skill which allows its user to move while hiding."; next; if (select("^880000Hiding^000000:^880000Back Slide^000000:^880000Stalk^000000:^880000Sand Attack^000000") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "7. Choose the card that increases the accuracy rate of its owner."; next; if (select("Andre Card.:Familiar Card.:Mummy Card.:Marina Card.") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "8. Choose the monster that receives more damage when it's attacked by a weapon with the Vadon card (20 % more damage on Fire property)."; next; if (select("Vadon:Deviruchi:Elder Willow:Baphomet") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "9. How much SP does the skill ^880000Double Attack^000000 require when used with a Dagger?"; next; if (select("15:Passive skill, no SP required.:Passive skill, 10 SP:54") == 2) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "10. Choose the most efficient dagger to use in the Byalan Dungeon."; next; if (select("Wind Main-Gauche:Ice Main-Gauche:Earth Main-Gauche:Fire Main-Gauche") == 1) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; break; case 2: mes "[Markie]"; mes "1. Which monster drops a slotted Gladius?"; next; if (select("Thief Bug:Peco Peco:Desert Wolf:Kobold") == 4) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "2. Which monster drops a slotted Main-Gauche?"; next; if (select("Hornet:Desert Wolf:Marionette:Myst") == 1) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "3. Choose the class that is able to create unique potions."; next; if (select("Merchant:Alchemist:Blacksmith:Priest") == 2) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "4. Choose the weapon that Rogues aren't allowed to use."; next; if (select("Gakkung:Crossbow:Gladius:Katar") == 4) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "5. Choose the property that the monster Hode possesses."; next; if (select("Water:Fire:Wind:Earth") == 4) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "6. Choose the monster that is unable to be tamed for as a Cute Pet."; next; if (select("Poporing:Creamy:Orc:Poison Spore") == 2) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "7. Choose the monster that receives more damage from a Dagger with the Fire property."; next; if (select("Dagger Goblin:Mace Goblin:Morning Star Goblin:Hammer Goblin") == 4) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "8. Choose the town that doesn't have any guild castles."; next; if (select("Prontera:Al De Baran:Alberta:Payon") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "9. Choose the plant that drops Blue Herbs."; @@ -324,54 +324,54 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{ default: break; case 3: - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; break; case 4: - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; break; } mes "[Markie]"; mes "10. Choose the monster that does not have the Undead property."; next; if (select("Zombie:Megalodon:Familiar:Khalitzburg") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; break; case 3: mes "[Markie]"; mes "1. By what percentage is the flee rate increased when a Thief masters the ^880000Improve Dodge^000000?"; next; if (select("30:40:160:20") == 1) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "2. Choose the monster that detects a characters using the Hiding or Cloaking skill."; next; if (select("Worm Tail:Argos:Mummy:Soldier Skeleton") == 2) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "3. Choose the location where Thieves can change their jobs to Rogues."; next; if (select("Comodo:Kokomo Beach:Paros Lighthouse:Morroc") == 3) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "4. In which town can Novices change their jobs to Thieves?"; next; if (select("Comodo:Lutie:Alberta:Morroc") == 4) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "5. Choose the card that does not affect the DEX stat."; next; if (select("Rocker Card:Mummy Card:Zerom Card:Drops Card") == 2) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "6. So what's cool about being a Rogue?"; next; select("Being totally badass.:The clothes, the style.:Getting to call other people, 'foo'':Excellent attack strength"); - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "7. When is it possible to change jobs from Thief to Rogue?"; @@ -380,17 +380,17 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{ default: break; case 3: - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; break; case 4: - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; break; } mes "[Markie]"; mes "8. You want to dye your hair blue. What town do you go to, and in which direction, with 12 o' clock being North."; next; if (select("Morroc, 7 o'clock:Prontera, 7 o'clock:Morroc, 5 o'clock:Prontera, 1 o'clock") == 2) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; mes "[Markie]"; mes "9. Choose the mushroom that is required on the Thief job change quest."; @@ -400,14 +400,14 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{ break; case 1: case 3: - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; break; } mes "[Markie]"; mes "10. Choose the card that least benefits the Rogue class."; next; if (select("Whisper Card:Elder Willow Card:Zerom Card:Matyr Card") == 2) - set .@assassin_t,.@assassin_t+10; + .@assassin_t += 10; } mes "[Markie]"; mes "*Whew~*"; @@ -419,7 +419,7 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{ mes "You got..."; mes "" + .@assassin_t + " points."; if (.@assassin_t > 80) { - set ROGUE_Q,2; + ROGUE_Q = 2; setquest 2017; mes "Good. You passed."; mes "We don't gotta"; @@ -434,7 +434,7 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 4_F_ROGUE,{ close; } else { - set ROGUE_Q,1; + ROGUE_Q = 1; mes "Aw crud... You failed!"; next; mes "[Markie]"; @@ -506,14 +506,14 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{ mes "[Mr. Smith]"; mes "What you have to understand is that the Rogue Guild does a lot of business, ^666666sometimes illegally^000000, that needs financial backup."; next; - set .@item_need,rand(1,15); + .@item_need = rand(1,15); if (.@item_need > 0 && .@item_need < 6) callsub S_Req,"10 Skel-bone","6 Blue Herb","10 Decayed Nail","10 Horrendous Mouth",3; else if (.@item_need > 5 && .@item_need < 11) callsub S_Req,"10 Green Herb","10 Crab Shell","10 Snake Scale","10 Garlet",4; else if (.@item_need > 10 && .@item_need < 15) callsub S_Req,"10 Yellow Herb","10 Shell","10 Grasshopper's Leg","10 Bear's Footskin",5; else if (.@item_need == 15) { mes "[Mr. Smith]"; mes "I will let you know..."; - set ROGUE_Q,6; + ROGUE_Q = 6; changequest 2017,2021; next; mes "[Mr. Smith]"; @@ -679,14 +679,14 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{ delitem 917,5; //Talon delitem 908,5; //Spawn delitem 945,5; //Raccoon_Leaf - set ROGUE_Q,8; + ROGUE_Q = 8; next; mes "[Mr. Smith]"; mes "Wow, you've brought each and every single thing I asked you to. Good work... I salute you."; next; mes "^CCCCCC- Middle Finger -^000000'"; mes "*Grins*"; - set ROGUE_Q,8; + ROGUE_Q = 8; changequest 2021,2025; next; mes "[Mr. Smith]"; @@ -756,7 +756,7 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{ mes "I send you to...?"; switch(rand(1,3)) { case 1: - set ROGUE_Q,9; + ROGUE_Q = 9; if (questprogress(2018)) { changequest 2018,2022; } @@ -793,7 +793,7 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{ mes "Well, I will wish you luck. His place isn't that far from here, so come back as soon as possible. Being swift... That is the spirit of the Rogue."; close; case 2: - set ROGUE_Q,10; + ROGUE_Q = 10; if (questprogress(2018)) { changequest 2018,2023; } @@ -829,7 +829,7 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{ mes "Ah, you might want to remember the password to meet him in person. The password is ^0000FFAntonio doesn't enjoy destroying upgrade items^000000."; close; case 3: - set ROGUE_Q,11; + ROGUE_Q = 11; if (questprogress(2018)) { changequest 2018,2024; } @@ -944,7 +944,7 @@ S_Req: mes "^FF0000"+getarg(1)+"^000000,"; mes "^FF0000"+getarg(2)+"^000000 and"; mes "^FF0000"+getarg(3)+"^000000."; - set ROGUE_Q,getarg(4); + ROGUE_Q = getarg(4); if(getarg(4) == 3) { changequest 2017,2018; } @@ -979,13 +979,13 @@ S_CheckItems: delitem getarg(2),getarg(3); delitem getarg(4),getarg(5); delitem getarg(6),getarg(7); - set ROGUE_Q,7; + ROGUE_Q = 7; next; mes "[Mr. Smith]"; mes "Great, great..."; mes "I think you"; mes "brought everything."; - set ROGUE_Q,7; + ROGUE_Q = 7; next; mes "[Mr. Smith]"; mes "Alright, wait just a moment while"; @@ -1024,7 +1024,7 @@ OnTouch: case 2: mes "[" + strcharinfo(0) + "]"; mes "Aragham"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 3: mes "[" + strcharinfo(0) + "]"; @@ -1040,7 +1040,7 @@ OnTouch: case 2: mes "didn't"; break; case 3: mes "never"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 4: mes "ever"; break; } @@ -1048,7 +1048,7 @@ OnTouch: case 1: mes "hoard"; break; case 2: mes "hoarded"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 3: mes "hide"; break; case 4: mes "took"; break; @@ -1057,7 +1057,7 @@ OnTouch: switch(select("upgrade items.:forging items.:refining item.:upgrade item.")) { case 1: mes "upgrade items."; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 2: mes "forging items."; break; case 3: mes "refining item."; break; @@ -1090,7 +1090,7 @@ OnTouch: case 1: mes "[" + strcharinfo(0) + "]"; mes "My father"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 2: mes "[" + strcharinfo(0) + "]"; @@ -1110,7 +1110,7 @@ OnTouch: case 2: mes "didn't"; break; case 3: mes "never"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 4: mes "ever"; break; } @@ -1121,13 +1121,13 @@ OnTouch: case 4: mes "took"; break; case 5: mes "hoarded"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; } switch(select("upgrade items.:forging items.:refining item.:upgrade item.")) { case 1: mes "upgrade items."; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 2: mes "forging items."; break; case 3: mes "refining item."; break; @@ -1168,7 +1168,7 @@ OnTouch: case 3: mes "[" + strcharinfo(0) + "]"; mes "Antonio"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 4: mes "[" + strcharinfo(0) + "]"; @@ -1179,7 +1179,7 @@ OnTouch: case 1: mes "enjoys"; break; case 2: mes "doesn't enjoy"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 3: mes "likes"; break; case 4: mes "doesn't like"; break; @@ -1188,7 +1188,7 @@ OnTouch: case 1: mes "damaging"; break; case 2: mes "destroying"; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 3: mes "fixing"; break; case 4: mes "forging"; break; @@ -1198,7 +1198,7 @@ OnTouch: case 2: mes "refining items."; break; case 3: mes "upgrade items."; - set .@rogue_t,.@rogue_t+10; + .@rogue_t += 10; break; case 4: mes "refined items."; break; case 5: mes "upgraded items."; break; @@ -1250,7 +1250,7 @@ in_rogue,272,135,1 script Hermanthorn Jr#rg 4_M_03,{ mes "[HermanthornJr.]"; mes "Well..."; mes "Just make it back to the Rogue Guild alive. That's all you have to do!"; - set ROGUE_Q,12; + ROGUE_Q = 12; changequest 2025,2026; close; } @@ -1287,7 +1287,7 @@ OnTouch: mes "has opened.^000000"; close2; warp "in_rogue",10,21; - set ROGUE_Q,12; + ROGUE_Q = 12; end; } else { @@ -1385,7 +1385,7 @@ OnMyMobDead: in_rogue,9,389,0 script oneway_to_gu WARPNPC,1,1,{ OnTouch: donpcevent "gen_ro#4::OnDisable"; - set ROGUE_Q,17; + ROGUE_Q = 17; warp "in_rogue",367,10; end; } @@ -1423,7 +1423,7 @@ in_rogue,244,39,1 script Aragham Junior#rg 4W_M_03,{ mes "Good luck, then."; close2; warp "in_rogue",15,105; - set ROGUE_Q,13; + ROGUE_Q = 13; changequest 2022,2026; end; } @@ -1504,7 +1504,7 @@ in_rogue,160,34,1 script Hollgrehenn junior#rg 4_M_03,{ mes "Good luck."; close2; warp "in_rogue",15,105; - set ROGUE_Q,15; + ROGUE_Q = 15; changequest 2024,2026; end; } @@ -1591,7 +1591,7 @@ in_rogue,177,109,1 script Antonio junior#rg 4_M_ORIENT01,{ mes "a Rogue if you pass..."; close2; warp "in_rogue",15,105; - set ROGUE_Q,14; + ROGUE_Q = 14; changequest 2023,2026; end; } @@ -1649,7 +1649,7 @@ in_rogue,177,109,1 script Antonio junior#rg 4_M_ORIENT01,{ in_rogue,370,320,0 script quest_out WARPNPC,1,1,{ OnTouch: - set ROGUE_Q,16; + ROGUE_Q = 16; warp "in_rogue",378,113; end; } |