diff options
Diffstat (limited to 'npc/jobs/2-2/rogue.txt')
-rw-r--r-- | npc/jobs/2-2/rogue.txt | 2652 |
1 files changed, 1799 insertions, 853 deletions
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt index 42c435872..f29337fe1 100644 --- a/npc/jobs/2-2/rogue.txt +++ b/npc/jobs/2-2/rogue.txt @@ -3,990 +3,1936 @@ //===== By: ================================================== //= kobra_k88 //===== Current Version: ===================================== -//= 2.3a +//= 2.4 //===== Compatible With: ===================================== -//= eAthena 1.0 + +//= eAthena SVN //===== Description: ========================================= -//= Rogue job quest based off of official iRO Rogue quest. -//= There are some differences from official quest due to -//= scripting issues. Missing some message text. +//= [Aegis Conversion] +//= Job quest for Rogue classes //===== Additional Comments: ================================= -//= 1.1 fixed 3 wrong questions, added missing lines [Lupus] -//= 1.3 Baby Class Support + 40/50 JobLevel Item fix [Lupus] -//= 1.5 Fixed possible EXP abuse [Lupus] -//= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] -//= 2.0 Changed numbers to constants. [Vicious] -//= 2.1 Removed Duplicates [Silent] -//= 2.2 Merged JFunc [Lupus] -//= 2.3 Added a possibility for players doing Meginjyard quest -//= to enter Rogue guild as there's a NPC inside [SinSloth] -//= 2.3a fixed test4 person interaction, let BABY thieves pass -//= the test, too [Lupus] +//= 2.4 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] +//= No longer uses function "F_BlockHigh" //============================================================ - -//=======================================================================================================// -// Markie: Test 1 and Jobchange // -//***********************************************************************************************************************************************************// -in_rogue,363,123,3 script Markie 747,{ - callfunc "F_BlockHigh",Job_Thief_High,"Thief High",Job_Stalker,"Stalker","Markie"; - - mes "[Markie]"; - if(BaseJob == Job_Thief) goto L_Thief; - if(BaseJob == Job_Rogue) goto L_Rogue; - -L_JobOther: - mes "I don't know how you found this place, but I think you better leave.........."; - close; - -L_Rogue: - mes "Nice to see you again sweetie. You must be having so much fun as Rogue huh? Teh he he...."; - close; - -L_Thief: - if(JobLevel < 40){ - mes "Oh hi there. If you want to become a Rogue I'm afraid you'll have to come back after you've trained a little more."; - mes "Only Thieves with a ^5533FFJob level of at least 40^000000 can become Rogues."; - close; - } - if(ROGUE_Q == 1) goto L_ReTest; - if(ROGUE_Q == 2) goto L_Test2; - if(ROGUE_Q == 3) goto L_Test3; - if(ROGUE_Q == 4) goto L_Test4; - if(ROGUE_Q == 5) goto L_Change; - mes "Hmm? What brings you down here? Oh I see now... You want to become a rogue don't you sweetie?"; - next; - mes "[Markie]"; - mes "Well it's nice to meet you. My name is Markie, what's yours?"; - next; - mes "[Markie]"; - mes strcharinfo(0) + "..... Te he, you've got a nice name there honey. By the way, how come you decided to become a Rogue?"; +morocc,100,104,1 script Thug#rg 118,{ + mes "[Thug]"; + mes "*Sigh...*"; + mes "What is life?"; + mes "And what use"; + mes "is money? ...Damn."; + mes "Damn this worthless life!"; next; - mes "[Markie]"; - mes "Well since you were honest with me and gave me your real name I guess it doesn't really matter."; - mes "But for future reference, a Rogue never reveals his/her true identity to anybody."; + mes "[Thug]"; + mes "Hey, kid."; + mes "What the hell"; + mes "are you lookin' at?"; next; - mes "[Markie]"; - mes "It's a Rogue's number 1 rule shuga, so from now on you'd better be careful about that."; - mes "By the way, here's an application form..... please fill out all the necessary information....."; - next; - mes "(you fill out the form and hand it back)"; - set JBLVL, JobLevel; // used to determine what item to get at the end - next; - mes "[Markie]"; - mes "Okay honey.... looks good, I'll accept your application."; - mes "Now that that's been taken care of, how about I conduct a short interview with you?"; - next; - mes "[Markie]"; - mes "Oh, you don't have to be nervous about it sweetie.... I'm just want to find out how much you know about Rogues."; - mes "I do this with all of the Rogue candidates. Shall we begin?"; - next; - menu "Ok.",L_Test1, "Hold on... I need some time.",-; - - mes "[Markie]"; - mes "Okay honey, just take your time. When you're ready come back."; + if (select("Me? N-nothing!':........") == 1) { + mes "[Thug]"; + mes "Then get the"; + mes "hell out of my face!"; + mes "Didn't you hear me?"; + mes "Get lost!"; close; - - -//================================================================= -L_Test1: -//======= - mes "[Markie]"; - mes "I am going to ask you a few questions. Listen carefully and choose what you think is the best answer okay?"; + } + mes "[Thug]"; + mes "Hmmm..."; + mes "Maybe I'll swing by the ^0000FFRogue Guild^000000 in ^0000FFParos Lighthouse^000000..."; next; - - savepoint "in_rogue",366,114; - set @score, 0; - set ROGUE_Q, 1; - if(rand(2)) goto L_QSet2; + mes "[Thug]"; + mes "I needz my money,"; + mes "and they best have it..."; + close; +} +in_rogue,363,122,4 script Rogue Guildsman#rg 747,{ + if (Upper == 1) { mes "[Markie]"; - mes "1) What is the added flee rate that a Thief receives when the ^5533FFImprove Dodge^000000 skill is ^5533FFmastered^000000?"; + mes "Eh? You...you...?!"; + mes "Hey, haven't we met before?"; next; - menu "20",sM1_1, "30",-, "40",sM1_1, "160",sM1_1; - - set @score, @score + 10; - - sM1_1: - mes "[Markie]"; - mes "2) Choose a monster that cannot detect a hidden or cloaked character?"; + mes ".............."; + mes "Awww, ^FF0000I am sorry^000000! I think I misunderstood you from someone I know."; next; - menu "Mummy",sM1_2, "Worm Tail",-, "Argos",sM1_2, "Soldier Skeleton",sM1_2; - - set @score, @score + 10; - - sM1_2: - mes "[Markie]"; - mes "3) Where is the Rogue guild located?"; + mes "......."; + mes "........It is strange though. Umm."; next; - menu "Comodo",sM1_3, "Kokomo Beach",sM1_3, "Pharos Lightouse",-, "Morroc",sM1_3; - - set @score, @score + 10; - - sM1_3: - mes "[Markie]"; - mes "4) In which of the following towns, can you become a Thief?"; + mes "I never misunderstand people...oh well, be safe anyway!"; + close; + } + if (BaseJob == Job_Thief) { + if (SkillPoint) { + mes "[Rogue Guildsman]"; + mes "Yo, what are you doin'?!"; + mes "You can't change your job if you got unused skill points, so use 'em all up. You bettah check yo-self before you wreck yo-self."; + close; + } + if (JobLevel > 39) { + if (ROGUE_Q == 0) { + mes "[Rogue Guildsman]"; + mes "So what's a kid"; + mes "like you doin' here?"; + if (sex == 1) { + mes "Oh, I get it now..."; + mes "The widdle boy wants"; + } + else { + mes "Oh, I see..."; + mes "Lil' cutie wants "; + } + mes "to be a ^800000Rogue^000000."; + next; + mes "[Rogue Guildsman]"; + mes "Eh, nice meetin' you, I guess. I'm Markie, and I do work for the Rogue Guild, a philanthro-- *ahem* a ^800000feelanthropist^000000 group, as you can see. So what's your name?"; + next; + mes "[Markie]"; + mes "..." + strcharinfo(0) + "?"; + mes "Heh heh! Cool name."; + mes "If it was dorky, we'd"; + mes "make you change it,"; + mes "so you're in luck."; + next; + mes "[Markie]"; + mes "So why you wanna join up with the Rogues? I guess you gave me your real name, so you'd be an honest Rogue. Not many of those around, heh heh~"; + next; + mes "[Markie]"; + mes "Rule number 1 for Rouges..."; + mes "Never give out your real identity to most people, most of the time. It's just a little backup measure we like to use."; + next; + mes "[Markie]"; + mes "Right. I'm officially accepting your application, so now you gotta take a test. Don't sweat it, this first one is real simple."; + next; + mes "[Markie]"; + mes "Alright..."; + mes "Let's get started!"; + next; + } + else if (ROGUE_Q == 1) { + mes "[Markie]"; + mes "You again?"; + mes "Okay, you probably screwed up last time 'cuz you were way too nervous. So just chill and pass"; + mes "this test, okay?"; + next; + } + else if (ROGUE_Q == 2) { + mes "[Markie]"; + mes "Go talk to Smith. His test might be pretty hard. He's one of the guys who makes sure that people pay up their debts to us. So yeah, he might be a bit of a hard case."; + next; + mes "[Markie]"; + mes "Yeah..."; + mes "That guy can be pretty anal, but we need a guy like him in our guild. Anyway, be careful. Lots of luck to you, pal."; + close; + } + else if (ROGUE_Q > 2 && ROGUE_Q < 16) { + mes "[Markie]"; + mes "Hey yo..."; + mes "Do your best."; + next; + mes "[Markie]"; + mes "Heh heh..."; + mes "Fresh meat. This'll be"; + mes "a cinch to--Wait! Er, I wasn't talkin' about you! I meant the other fresh meat~"; + close; + } + else if (ROGUE_Q == 16 || ROGUE_Q == 17) { + mes "[Markie]"; + if (ROGUE_Q == 16) { + mes "Oh hey, it's you!"; + mes "You did a good job, guy."; + mes "Now, lemme change your"; + mes "job to Rogue. You earned it!"; + next; + mes "[Markie]"; + mes "Congrats~!"; + mes "You look"; + mes "sooo dope!"; + } + else { + mes "Oh! It's you!"; + mes "You were actually able to put up with that guy? Good stuff! Must've had a rough time collect all those items, eh?"; + next; + mes "[Markie]"; + mes "Hey hey~"; + mes "Congrats!"; + mes "You've been"; + mes "doin' a great job~"; + } + set .@JobLevel,JobLevel; + callfunc "Job_Change",Job_Rogue; + callfunc "F_ClearJobVar"; + next; + mes "[Markie]"; + mes "Now..."; + mes "It's time"; + mes "for me to make"; + mes "a speech~ *Ahem*"; + next; + mes "[Markie]"; + mes "Enjoy your freedom as a Rogue. Just remember that you gotta be free and responsible at the same time. So treat other guys the way you wanna be treated, kay? Alright, seeya round."; + close2; + if (.@jlevel == 50) + getitem 1220,1; //Gladius_ + else + getitem 1219,1; //Gladius + end; + } + if (select("I'm ready.:Hold on, I need to get ready!") == 2) { + mes "[Markie]"; + mes "Get ready...?"; + mes "Fine, fine."; + mes "Take your sweet"; + mes "time, why don't you?"; + mes "But hurry up and"; + mes "come back, got it?"; + close; + } + next; + mes "[Markie]"; + mes "Listen carefully, and"; + mes "pick the right answer."; + mes "Capish? Now, lemme"; + mes "read these questions..."; + next; + switch(rand(1,3)) { + case 1: + mes "[Markie]"; + 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; + + 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; + + 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; + + 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; + + 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") == 1) + set .@assassin_t,.@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; + + 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; + + 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; + + 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; + + 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; + 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; + + 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; + + 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; + + 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; + + 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; + + 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; + + 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; + + 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; + + mes "[Markie]"; + mes "9. Choose the plant that drops Blue Herbs."; + next; + switch(select("Green Plant:Yellow Plant:Blue Plant:Shining Plant")) { + default: + break; + case 3: + set .@assassin_t,.@assassin_t+10; + break; + case 4: + set .@assassin_t,.@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; + 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; + + 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; + + 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; + + 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; + + 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; + + 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; + + mes "[Markie]"; + mes "7. When is it possible to change jobs from Thief to Rogue?"; + next; + switch(select("At job Level 30:At job Level 35:At Job Level 40:At Job Level 50")) { + default: + break; + case 3: + set .@assassin_t,.@assassin_t+10; + break; + case 4: + set .@assassin_t,.@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; + + mes "[Markie]"; + mes "9. Choose the mushroom that is required on the Thief job change quest."; + next; + switch(select("Orange Gooey Mushroom:Red Hairy Mushroom:Orange Net Mushroom:Orange Sticky Mushroom")) { + default: + break; + case 1: + case 3: + set .@assassin_t,.@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; + } + mes "[Markie]"; + mes "*Whew~*"; + mes "Finally."; + mes "We're done."; + next; + mes "[Markie]"; + mes "Let's see."; + mes "You got..."; + mes "" + .@assassin_t + " points."; + if (.@assassin_t > 80) { + set ROGUE_Q,2; + mes "Good. You passed."; + mes "We don't gotta"; + mes "do that again."; + next; + mes "[Markie]"; + mes "But don't get too comfortable just yet, you got more o' these tests. Your next one will be from Smith."; + next; + mes "[Markie]"; + mes "So..."; + mes "Go find Smith and finish up this test, yeah? Be careful though, Smith's a pretty anal guy."; + close; + } + else { + set ROGUE_Q,1; + mes "Aw crud... You failed!"; + next; + mes "[Markie]"; + mes "Man, you shoulda learned more when you had the chance. Thanks for wasting my time."; + next; + mes "[Markie]"; + mes "*Sigh...* Lemme give you some tips, yeah? I'm supposed to tell you about some kind of ^990000iro.ragnarokonline.com^000000 to help you learn what you need to know."; + next; + mes "[Markie]"; + mes "Of course, I don't know what the heck it means, but if you understand it, it'll probably help you out a lot."; + close; + } + } + else if (JobLevel < 40) { + mes "[Rogue Guildsman]"; + mes "Whoa, slow down newbie. We only accept people who are at least Thief Job Level 40. I ain't risking myself by letting you in before you're ready. Got it?"; + close; + } + } + else if (BaseJob == Job_Assassin) { + mes "[Rogue Guildsman]"; + mes "Huh...?"; + mes "What's an Assassin doin' here? Uh, you haven't been assigned to kill someone in the Rogue Guild, are you?"; next; - menu "Comodo",sM1_4, "Lutie",sM1_4, "Alberta",sM1_4, "Morroc",-; - - set @score, @score + 10; - - sM1_4: - - mes "[Markie]"; - mes "5) Choose the card that does ^FF3355not^000000 have an effect on a players ^5533FFDEX stat^000000..."; + mes "[Rogue Guildsman]"; + mes "In any case, don't mess with us! You can't catch me... I'm a smooth criminal!"; next; - menu "Rocker Card",sM1_5, "Mummy Card",-, "Zerom Card",sM1_5, "Drops",sM1_5; - - set @score, @score + 10; - - sM1_5: - + mes "[Rogue Guildsman]"; + mes "Don't get it, huh? It's something I always used to say to Huey. If you're in the Assassin Guild, you oughta have met him..."; + close; + } + else if (BaseJob == Job_Rogue) { mes "[Markie]"; - mes "6) What do you think is cool about being a Rogue?"; - next; - menu "Being a bad ass",sM1_6, "Being a hypocrite",sM1_6, "Being shameless",sM1_6, "Having excellent attack strength",-; - - set @score, @score + 10; - - sM1_6: + mes "Hey hey~"; + mes "Long time no see."; + mes "Eh, right now we don't"; + mes "any requests from the"; + mes "guild for you, so just"; + mes "check back again later."; + close; + } + else { + mes "[Rogue Guildsman]"; + mes "Hey you..."; + mes "Get your ugly"; + mes "ass out of here"; + mes "before I redecorate"; + mes "that face of yours!"; + close; + } +} - mes "[Markie]"; - mes "7) At what job level can you change from a Thief to a Rogue?"; +in_rogue,376,23,1 script Mr. Smith#rg 57,{ + if (ROGUE_Q == 2) { + mes "[Mr. Smith]"; + mes "Welcome to"; + mes "the Rogue guild."; + mes "From here on, I will"; + mes "verify your qualification."; next; - menu "At job lvl 30",sM1_7, "At job lvl 35",sM1_7, "At job lvl 40",-, "At job lvl 50",-; - - set @score, @score + 10; - - sM1_7: - - mes "[Markie]"; - mes "8) If you wanted to dye your hair a different color, where would you have to go to do that?"; + mes "[Mr. Smith]"; + mes "Before we get started,"; + mes "I want you to know"; + mes "about something..."; next; - menu "Building in SouthWestern part of Morroc",sM1_8, "Building in SouthWestern part of Prontera",-, - "Building in SouthEastern part of Morroc",sM1_8, "Building in NorthEastern part of Prontera",sM1_8; - - set @score, @score + 10; - - sM1_8: - - mes "[Markie]"; - mes "9) What mushrooms do you need to steal in order to become a Thief?"; + mes "[Mr. Smith]"; + mes "All new Rogues are required to pay an application fee, so I hope you take care of that first."; next; - menu "Orange Gooey Mushrooms",-, "Red Hairy Mushrooms",sM1_9, "Orange Net Mushrooms",-, "Orange Sticky Mushrooms",sM1_9; - - set @score, @score + 10; - - sM1_9: - - mes "[Markie]"; - mes "10) Which of these cards is ^FF3355useless^000000 to a Rogue?"; + 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; - menu "Whisper Card",sM1_10, "Elder Willow Card",-, "Zerom Card",sM1_10, "Matyr Card",sM1_10; - - set @score, @score + 10; - - sM1_10: - goto L_Score; - - - L_QSet2: - mes "[Markie]"; - mes "1) What skill do you need to learn before you can learn ^5533FFTunnel Drive^000000?"; + set .@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; + next; + mes "[Mr. Smith]"; + mes "I will let you know......"; + next; + mes "[Mr. Smith]"; + mes "I will let you know........"; + mes "By the way....."; + next; + mes "[Mr. Smith]"; + mes "Oh man..."; + mes "This is..."; + mes "Damn..."; + mes "Annoying!"; + next; + mes "[Mr. Smith]"; + mes "..."; + next; + mes "[Mr. Smith]"; + mes "..."; + mes "......"; + next; + mes "[Mr. Smith]"; + mes "..."; + mes "......"; + mes "........."; + next; + mes "[Mr. Smith]"; + mes "Today, I'm in a pissed off mood, ya' know why?! I haven't collected any bills! God! Idiot Thieves coming at me all the time, wanting to become Rogues!"; + next; + mes "[Mr. Smith]"; + mes "Jesus! Now I understand why our leader told us that working as customer support sucks."; + next; + mes "[Mr. Smith]"; + mes "That god damn guild master assigned me to this shitty job. I'm better than this F$@king job!"; + mapannounce "in_rogue","That god damn guild master assigned me to this shitty job! That Bastard!",bc_map; + mes "That bastard should go to F$@king hell, I'm gonna kick that mother F$@kers ass! F#%k F#%k F#%k !!!"; + mapannounce "in_rogue","That bastard should go to F$@king hell, I'm gonna kick that mother F$@kers ass! F#%k F#%k F#%k !!!",bc_map; + next; + mes "[Mr. Smith]"; + mes "That dipshit who just tried to change his job, the one before you..."; + mapannounce "in_rogue","That dipshit who just tried to change his job, the one before you...",bc_map; + mes "You know what the f#@k he talked to me about?!?"; + mapannounce "in_rogue","You know what the f#@k he talked to me about?!?",bc_map; + mes "F#$@%#$*#$%@#$!!"; + mapannounce "in_rogue","F#$@%#$*#$%@#$!!",bc_map; + next; + mes "[Mr. Smith]"; + mes "What the--?! What's with this chat filter?! Stop #*!@$ing me! you stupid F#$%*! Let me talk!!!"; + mapannounce "in_rogue","What the--?! What's with this chat filter?! Stop #*!@$ing me! you stupid F#$%*! Let me talk!!!",bc_map; + next; + mes "[Mr. Smith]"; + mes "What the f#@k you looking at...? " + strcharinfo(0) + "? That's your name!?"; + mapannounce "in_rogue","What the f#@k you looking at...? " + strcharinfo(0) + "? That's your name!?",bc_map; + mes " "; + mes "[" + strcharinfo(0) + "]"; + mes "Umm..."; + mes "Sir...?"; + mes "I didn't mean to make you upset. I just came here to so I could become a Rogue."; + next; + mes "[Mr. Smith]"; + mes "Holy shit on a stick, what the f#$k was I just f!#king talking about, you moron!"; + mapannounce "in_rogue","Holy shit on a stick, what the f#$k was I just f!#king talking about, you moron!",bc_map; + next; + mes "[Mr. Smith]"; + mes "Just leave me alone! Just leave alone! Just leave me alone!"; + mapannounce "in_rogue","Just leave me alone! Just leave alone! Just leave me alone!",bc_map; + next; + mes "[Mr. Smith]"; + mes "Do whatever you want, okay? Just do whatever the F$!!K you want...!!"; + mapannounce "in_rogue","Do whatever you want, okay? Just do whatever the F$!!K you want...!!",bc_map; + next; + mes "[Mr. Smith]"; + mes "Your application fee... ^FF000010,000 zeny^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Crysalis^000000!"; + mes "^FF00005 Empty Bottle^000000!"; + mes "^FF00005 Iron Ore^000000!"; + mes "^FF00005 Stone Heart^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Red Herb^000000!"; + mes "^FF00005 Animal Skin^000000!!"; + mes "^FF00005 Yellow Gemstone^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Tooth of Bat^000000!"; + mes "^FF00005 Scorpion Tail^000000!!"; + mes "^FF00005 Yoyo Tail^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Monster's Feed^000000!"; + mes "^FF00005 Fluff^000000!!"; + mes "^FF00005 Clover^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Feather of Birds^000000!"; + mes "^FF00005 Talon^000000!!"; + mes "^FF00005 Spawn^000000!!"; + next; + mes "[Mr. Smith]"; + mes "Don't even think about coming back until you've got all those or I'll kill you where you stand."; + next; + mes "[Mr. Smith]"; + mes "What the F$@k? Did you just say I'm annoying you? Shut up, you ungrateful prick!"; + next; + mes "[Mr. Smith]"; + mes "I just added ^FF000010 Raccoon Leaf^000000 to the list. You better get it!"; + next; + mes "[Mr. Smith]"; + mes "F%$#*&#@$%#@$@#$%@$%&*k! Haven't you ever thought about how hard it would be to be an NPC!?!"; + mapannounce "in_rogue","F%$#*&#@$%#@$@#$%@$%&*k! Haven't you ever thought about how hard it would be to be an NPC!?!",bc_map; + close; + } + } + else if (ROGUE_Q < 2) { + mes "[Mr. Smith]"; + mes "Three thousand, two hundred seventy two. Three thousand, two hundred seventy three. Three thousand, two hundred seventy four..."; next; - menu "Hiding",-, "Steal",sM2_1, "Improve Dodge",sM2_1, "Bash",sM2_1; - - set @score, @score + 10; - - sM2_1: - - mes "[Markie]"; - mes "2) How much more of a discount can a Rogue get with the ^5533FFHaggel^000000 skill than a merchant can with the ^5533FFDiscount^000000 skill?"; + mes "[Mr. Smith]"; + mes "Uhh..."; + mes "Headache..."; + mes "This is too much"; + mes "zeny to count."; next; - menu "3%",sM2_2, "2%",sM2_2, "1%",-, "0%",sM2_2; - - set @score, @score + 10; - - sM2_2: - - mes "[Markie]"; - mes "3) What is the correct description for the skill ^5533FFMug^000000?"; + mes "[Mr. Smith]"; + mes "Uh...?"; + mes "What are you doing here? If you're going to talk about the job change, you need to speak to the other guy first."; next; - menu "Steal Items from players",sM2_3, "Steal Items from monsters",sM2_3, "Steal Zeny from monsters",-, "Steal Zeny from players",sM2_3; - - set @score, @score + 10; - - sM2_3: + mes "[Mr. Smith]"; + mes "...Shit!"; + mes "I lost count!"; + close; + } + else if (ROGUE_Q > 2) { + if (ROGUE_Q == 3) callsub S_CheckItems,510,10,932,10,957,10,958,10; + else if (ROGUE_Q == 4) callsub S_CheckItems,511,10,910,10,926,10,964,10; + else if (ROGUE_Q == 5) callsub S_CheckItems,508,10,948,10,935,10,940,10; + else if (ROGUE_Q == 6) { + if (zeny > 9999 && countitem(915) > 4 && countitem(713) > 4 && countitem(1002) > 4 && + countitem(953) > 4 && countitem(507) > 4 && countitem(919) > 4 && countitem(715) > 4 && + countitem(913) > 4 && countitem(904) > 4 && countitem(942) > 4 && countitem(528) > 4 && + countitem(914) > 4 && countitem(705) > 4 && countitem(916) > 4 && countitem(917) > 4 && + countitem(908) > 4 && countitem(945) > 4) { + mes "[Mr. Smith]"; + mes "Ummm...let's see..."; + set zeny,zeny-10000; + delitem 915,5; //Chrysalis + delitem 713,5; //Empty_Bottle + delitem 1002,5; //Iron_Ore + delitem 953,5; //Stone_Heart + delitem 507,5; //Red_Herb + delitem 919,5; //Animal's_Skin + delitem 715,5; //Yellow_Gemstone + delitem 913,5; //Tooth_Of_Bat + delitem 904,5; //Scorpion's_Tail + delitem 942,5; //Yoyo_Tail + delitem 528,5; //Monster's_Feed + delitem 914,5; //Fluff + delitem 705,5; //Clover + delitem 916,5; //Feather_Of_Birds + delitem 917,5; //Talon + delitem 908,5; //Spawn + delitem 945,5; //Raccoon_Leaf + set 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; + next; + mes "[Mr. Smith]"; + mes "Since you showed such great effort, I'm going to write a recommendation letter for you. I usually don't do that, you know."; + next; + mes "[Mr. Smith]"; + mes "But I'm sure you'll be a great asset to the Rogue Guild. Hmm, I don't have a blank piece of paper right now, so take this instead..."; + getitem 1097,1; //Worn_Out_Page + next; + mes "[Mr. Smith]"; + mes "*Sigh...*"; + mes "I know, I know. I'm supposed to control myself in the work place. Getting enraged is a bad habit..."; + next; + mes "[Mr. Smith]"; + mes "*Mumble mumble...*"; + mes "How was I... *Mumble...*"; + mes "How did... I remember..."; + mes "*Sigh* It was all because of my bad temper!"; + next; + mes "[Mr. Smith]"; + mes "Wah....!!!"; + next; + mes "^3355FFIt might be a better"; + mes "idea to come back later.^000000"; + close; + } + mes "[Mr. Smith]"; + mes "Listen this time!"; + mes "Application fee:"; + mes "^FF000010000 zeny^000000,"; + mes "^FF00005 Crysalis^000000!"; + mes "^FF00005 Empty Bottle^000000!"; + mes "^FF00005 Iron Ore^000000!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Stone Heart^000000!!"; + mes "^FF00005 Red Herb^000000!"; + mes "^FF00005 Animal Skin^000000!!"; + mes "^FF00005 Yellow Gemstone^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Tooth of Bat^000000!"; + mes "^FF00005 Scorpion Tail^000000!!"; + mes "^FF00005 Yoyo Tail^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Monster's Feed^000000!"; + mes "^FF00005 Fluff^000000!!"; + mes "^FF00005 Clover^000000!!"; + next; + mes "[Mr. Smith]"; + mes "^FF00005 Feather of Birds^000000!"; + mes "^FF00005 Talon^000000!!"; + mes "^FF00005 Spawn^000000!!"; + mes "^FF000010 Raccoon Leaf^000000!!"; + next; + mes "[Mr. Smith]"; + mes "Don't even think"; + mes "of coming back"; + mes "without them!"; + close; + } + else if (ROGUE_Q == 7) { + mes "[Mr. Smith]"; + mes "Let me see..."; + mes "Who would should"; + mes "I send you to...?"; + switch(rand(1,3)) { + case 1: + set ROGUE_Q,9; + next; + mes "[Mr. Smith]"; + mes "Right! I know"; + mes "just the guy~!"; + next; + mes "[Mr. Smith]"; + mes "Go visit Aragham Junior who lives South of the Sandarman Fortress. That area is located one field east from here."; + next; + mes "[Mr. Smith]"; + mes "He's a pretty nice guy, you know. He works hard and is really good at bill collecting."; + next; + mes "[Mr. Smith]"; + mes "Before he joined the Rogue Guild, people have been trying to kill him for something his father did in the past. So, he became a runaway."; + next; + mes "[Mr. Smith]"; + mes "Well anyway, that's why he's been with us. We've been helping him hide from his enemies."; + next; + mes "[Mr. Smith]"; + mes "Ah, you might want to remember the password if you want to meet him. He doesn't let anybody in his house without the password."; + next; + mes "[Mr. Smith]"; + mes "The password is ^0000FFAragham never hoarded upgrade items^000000."; + next; + mes "[Mr. Smith]"; + 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; + next; + mes "[Mr. Smith]"; + mes "Hmm..."; + mes "This guy might be"; + mes "good for you, but..."; + mes "He's a little dangerous."; + next; + mes "[Mr. Smith]"; + mes "I want you to meet Antonio Junior, son of Antonio the first. For some reason people have been trying to kill him because of something his father did in the past."; + next; + mes "[Mr. Smith]"; + mes "He was brought up in Payon, but he's staying in an empty house near the Kokomo beach at the moment."; + next; + mes "[Mr. Smith]"; + mes "I've heard lately that he's been complaining a lot about the noise outside of his house, and he fears an assassination attempt. Anyway..."; + next; + mes "[Mr. Smith]"; + mes "He's kind of tense, so he throws a dagger at anyone who approches his house. He has a violent personality."; + next; + mes "[Mr. Smith]"; + mes "However, he does have magnificiant business skills. And he also loves gambling. Once you get to know him, he'll take care of your Rogue training really well."; + next; + mes "[Mr. Smith]"; + 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; + next; + mes "[Mr. Smith]"; + mes "Hmm..."; + mes "This guy might be"; + mes "good for you, but..."; + mes "He's a little dangerous."; + next; + mes "[Mr. Smith]"; + mes "His name is"; + mes "Hollgrehenn Junior,"; + mes "a genius at manipulation."; + next; + mes "[Mr. Smith]"; + mes "However, because of something his father did long ago, people ahve been trying to kill him. Because of this, he is very high strung and will throw daggers at people he doesn't trust."; + next; + mes "[Mr. Smith]"; + mes "Our leader has been able to get him to join our guild, and his brilliant mind has been an asset to us. Once you get to know him, he'll take care of your Rogue training really well."; + next; + mes "[Mr. Smith]"; + mes "Ah, you might want to remember the password to meet him in person. The password is ^0000FFMy father never hoarded upgrade items^000000."; + close; + } + } + else if (ROGUE_Q == 8) { + mes "[Mr. Smith]"; + mes "Alright... Now that I've calmed down, I can inform you of your next destination. *Whew*"; + next; + mes "[Mr. Smith]"; + mes "Go and find Hermanthorn Junior, who is living near the ^0000FFthe checkpoint of Paros Lighthouse^000000, which is at the border between Morroc and Comodo."; + next; + mes "[Mr. Smith]"; + mes "Ah...almost forgot, keep in mind not to mention anything about upgrading items. This is very important."; + close; + } + else if (ROGUE_Q == 9) { + mes "[Mr. Smith]"; + mes "What...?"; + mes "Did you just"; + mes "say that you"; + mes "forgot where to go?"; + next; + mes "[Mr. Smith]"; + mes "Head one field East and enter the building that is South of the Sandarman Fortress to meet Aragham Junior."; + next; + mes "[Mr. Smith]"; + mes "The password is ^0000FFAragham never hoarded upgrade items^000000."; + close; + } + else if (ROGUE_Q == 10) { + mes "[Mr. Smith]"; + mes "What...?"; + mes "Did you just"; + mes "say that you"; + mes "forgot where to go?"; + next; + mes "[Mr. Smith]"; + mes "Go to the building"; + mes "at Kokomo Beach,"; + mes "which is on the way"; + mes "to Comodo, to meet"; + mes "Antonio Junior."; + next; + mes "[Mr. Smith]"; + mes "The password is ^0000FF'Antonio doesn't enjoy destroying upgrade items'^000000."; + close; + } + else if (ROGUE_Q == 11) { + mes "[Mr. Smith]"; + mes "What...?"; + mes "Did you just"; + mes "say that you"; + mes "forgot where to go?"; + next; + mes "[Mr. Smith]"; + mes "Go to the field South of Sandarman Fortress, which is on the way to Morroc from here, to meet Hollgrehenn Junior."; + next; + mes "[Mr. Smith]"; + mes "The password is ^0000FFMy father never hoarded upgrade items^000000."; + close; + } + else if (ROGUE_Q > 11) { + mes "[Mr. Smith]"; + mes "Hmmm...?"; + mes "Don't you have"; + mes "to go somewhere"; + mes "else to complete"; + mes "your Rogue training?"; + close; + } + } - mes "[Markie]"; - mes "4) How many Rogues are required to activate the skill ^5533FFGangster's Paradise^000000?"; - next; - menu "1 Rogue + 2 Assassins",sM2_4, "2 Rogues + 1 Thief",sM2_4, "4 Thieves",sM2_4, "2 or more Rogues",-; - set @score, @score + 10; +S_Req: + mes "[Mr. Smith]"; + mes "First, the"; + mes "application fee:"; + mes "^FF000010,000 zeny^000000."; + next; + mes "[Mr. Smith]"; + mes "We also need"; + mes "you to bring"; + mes "^FF0000"+getarg(0)+"^000000,"; + mes "^FF0000"+getarg(1)+"^000000,"; + mes "^FF0000"+getarg(2)+"^000000 and"; + mes "^FF0000"+getarg(3)+"^000000."; + set ROGUE_Q,getarg(4); + next; + mes "[Mr. Smith]"; + mes "Hmm...?"; + mes "What was that?"; + mes "Did you just say that"; + mes "you're willing to donate"; + mes "more for the guild?"; + next; + mes "[Mr. Smith]"; + mes "That sounds sweet,"; + mes "I appreciate that."; + mes "But come back when"; + mes "you're ready."; + close; - sM2_4: - mes "[Markie]"; - mes "5) After increasing ^5533FFDivest Helm^000000 to level 5, what other skill becomes available for you learn?"; +S_CheckItems: + if (Zeny > 99999 || countitem(getarg(0)) >= getarg(1) || countitem(getarg(2)) >= getarg(3) || countitem(getarg(4)) >= getarg(5) || countitem(getarg(6)) >= getarg(7)) { + mes "[Mr. Smith]"; + mes "Okay, we've got the application fee, ^FF000010,000 zeny^000000, "+getarg(1)+" "+getitemname(getarg(0))+", "+getarg(3)+" "+getitemname(getarg(2))+", "+getarg(5)+" "+getitemname(getarg(4))+" and "+getarg(7)+" "+getitemname(getarg(6))+"..."; + set zeny,zeny-10000; + delitem getarg(0),getarg(1); + delitem getarg(2),getarg(3); + delitem getarg(4),getarg(5); + delitem getarg(6),getarg(7); + set ROGUE_Q,7; next; - menu "Envenom",sM2_5, "Strip Tease",sM2_5, "Venom Splasher",sM2_5, "Divest Shield",-; - - set @score, @score + 10; - - sM2_5: - - mes "[Markie]"; - mes "6) Choose a skill that allows its user to move while being hidden?"; + mes "[Mr. Smith]";; + mes "Great, great..."; + mes "I think you"; + mes "brought everything."; + set ROGUE_Q,7; next; - menu "Hiding",sM2_6, "Back Slide",sM2_6, "Tunnel Drive",-, "Sand Attack",sM2_6; - - set @score, @score + 10; - - sM2_6: + mes "[Mr. Smith]"; + mes "Alright, wait just a moment while"; + mes "I prepare these things. Let's see... Your next test is..."; + close; + } + mes "[Mr. Smith]"; + mes "What the f$@k!? You didn't bring all the required items?! Are you telling me that you need to check the requirements again!?"; + next; + mes "[Mr. Smith]"; + mes "Now listen...!"; + mes "Bring ^FF000010,000 zeny^000000,"; + mes "and the following items..."; + next; + mes "[Mr. Smith]"; + mes "^FF0000 "+getarg(1)+" "+getitemname(getarg(0))+"^000000,"; + mes "^FF0000 "+getarg(3)+" "+getitemname(getarg(2))+"^000000,"; + mes "^FF0000 "+getarg(5)+" "+getitemname(getarg(4))+"^000000,"; + mes "^FF0000 "+getarg(7)+" "+getitemname(getarg(6))+"^000000,"; + mes "You got it this time?"; + close; +} - mes "[Markie]"; - mes "7) Choose the card that increases the ^5533FFaccuracy rate^000000 of its owner?"; - next; - menu "Andre",sM2_7, "Familiar",sM2_7, "Mummy",-, "Marina",sM2_7; +cmd_fild09,106,195,0 script Warp#1 45,1,1,{ +OnTouch: + mes "[???]"; + mes "Who's there?!"; + mes "Who would dare"; + mes "intrude my territory?"; + next; + set rogue_t,0; + switch(select("My father:Aragham:Aragon:Legolas")) { + case 1: + mes "[" + strcharinfo(0) + "]"; + mes "My father"; + break; + case 2: + mes "[" + strcharinfo(0) + "]"; + mes "Aragham"; + set .@rogue_t,.@rogue_t+10; + break; + case 3: + mes "[" + strcharinfo(0) + "]"; + mes "Aragon"; + break; + case 4: + mes "[" + strcharinfo(0) + "]"; + mes "Legolas"; + break; + } + switch(select("did not:didn't:never:ever")) { + case 1: mes "did not"; break; + case 2: mes "didn't"; break; + case 3: + mes "never"; + set .@rogue_t,.@rogue_t+10; + break; + case 4: mes "ever"; break; + } + switch(select("hoard:hoarded:hide:took:take")) { + case 1: mes "hoard"; break; + case 2: + mes "hoarded"; + set .@rogue_t,.@rogue_t+10; + break; + case 3: mes "hide"; break; + case 4: mes "took"; break; + case 5: mes "take"; break; + } + switch(select("upgrade items.:forging items.:refining item.:upgrade item.")) { + case 1: + mes "upgrade items."; + set .@rogue_t,.@rogue_t+10; + break; + case 2: mes "forging items."; break; + case 3: mes "refining item."; break; + case 4: mes "upgrade item."; break; + } + next; + if (.@rogue_t > 30) { + mes "^3355FF*Creeeeak*"; + mes "The door slowly opens.^000000"; + close2; + warp "in_rogue",246,25; + end; + } + else { + mes "[???]"; + mes "What the...?"; + mes "Get lost!"; + close; + } +} - set @score, @score + 10; +cmd_fild09,335,143,0 script Warp#2 45,1,1,{ +OnTouch: + mes "[???]"; + mes "Who's there?!"; + mes "Who would dare"; + mes "intrude my territory?"; + next; + set name,PcName; + set rogue_t,0; + switch(select("My father:Aragham:Aragon:Legolas")) { + case 1: + mes "[" + strcharinfo(0) + "]"; + mes "My father"; + set .@rogue_t,.@rogue_t+10; + break; + case 2: + mes "[" + strcharinfo(0) + "]"; + mes "Aragham"; + break; + case 3: + mes "[" + strcharinfo(0) + "]"; + mes "Aragon"; + break; + case 4: + mes "[" + strcharinfo(0) + "]"; + mes "Legolas"; + break; + } + switch(select("did not:didn't:never:ever")) { + case 1: mes "did not"; break; + case 2: mes "didn't"; break; + case 3: + mes "never"; + set .@rogue_t,.@rogue_t+10; + break; + case 4: mes "ever"; break; + } + switch(select("hoard:takes:hide:took:hoarded")) { + case 1: mes "hoard"; break; + case 2: mes "takes"; break; + case 3: mes "hide"; break; + case 4: mes "took"; break; + case 5: + mes "hoarded"; + set .@rogue_t,.@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; + break; + case 2: mes "forging items."; break; + case 3: mes "refining item."; break; + case 4: mes "upgrade item."; break; + } + next; + if (.@rogue_t > 30) { + mes "^3355FF*Creeeeak*"; + mes "The door slowly opens.^000000"; + close2; + warp "in_rogue",169,34; + end; + } + else { + mes "[???]"; + mes "What the...?"; + mes "Get lost!"; + close; + } +} - sM2_7: +cmd_fild04,304,180,0 script Warp#3 45,1,1,{ +OnTouch: + mes "[???]"; + mes "Who's there?!"; + mes "Who would dare"; + mes "intrude my territory?"; + next; + set name,PcName; + set rogue_t,0; + switch(select("Anntonio:Aragham:Antonio:Hollgrehenn")) { + case 1: + mes "[" + strcharinfo(0) + "]"; + mes "Anntonio"; + break; + case 2: + mes "[" + strcharinfo(0) + "]"; + mes "Aragham"; + break; + case 3: + mes "[" + strcharinfo(0) + "]"; + mes "Antonio"; + set .@rogue_t,.@rogue_t+10; + break; + case 4: + mes "[" + strcharinfo(0) + "]"; + mes "Hollgrehenn"; + break; + } + switch(select("enjoys:doesn't enjoy:likes:doesn't like")) { + case 1: mes "enjoys"; break; + case 2: + mes "doesn't enjoy"; + set .@rogue_t,.@rogue_t+10; + break; + case 3: mes "likes"; break; + case 4: mes "doesn't like"; break; + } + switch(select("damaging:destroying:fixing:forging")) { + case 1: mes "damaging"; break; + case 2: + mes "destroying"; + set .@rogue_t,.@rogue_t+10; + break; + case 3: mes "fixing"; break; + case 4: mes "forging"; break; + } + switch(select("forging item.:refining items.:upgrade items.:refined items.:upgraded items.:forged items.")) { + case 1: mes "forging item."; break; + case 2: mes "refining items."; break; + case 3: + mes "upgrade items."; + set .@rogue_t,.@rogue_t+10; + break; + case 4: mes "refined items."; break; + case 5: mes "upgraded items."; break; + case 6: mes "forged items."; break; + } + next; + if (.@rogue_t > 30) { + mes "^3355FF*Creeeeak*"; + mes "The door slowly opens.^000000"; + close2; + warp "in_rogue",164,106; + end; + } + else { + mes "[???]"; + mes ".....Get lost!"; + close; + } +} - mes "[Markie]"; - mes "8) Choose the monster that receives more damage when attacked by a weapon with a Vadon card attached to it?"; - mes "(Vadon card inflicts 20% more damage to fire property monsters)"; +in_rogue,272,135,1 script Hermanthorn Jr#rg 85,{ + if (ROGUE_Q == 8) { + mes "[HermanthornJr.]"; + mes "I see..."; + mes "You must be from"; + mes "the Rogue guild."; + mes "You must be one of the"; + mes "ones Mr. Smith wasn't"; + mes "too happy with..."; next; - menu "Vadon",sM2_8, "Deviruchi",sM2_8, "Elder Willow",-, "Baphomet",sM2_8; - - set @score, @score + 10; - - sM2_8: - - mes "[Markie]"; - mes "9) How much SP does the ^5533FFDouble Attack^000000 skill require when used with a dagger?"; + mes "[HermanthornJr.]"; + mes "He threw a fit and you brought him all the items he asked for, didn't you? Well, I can see that you're still pretty naive. Hahaha~"; next; - menu "15 SP",sM2_9, "No SP needed",-, "10 SP",sM2_9, "54 SP",sM2_9; - - set @score, @score + 10; - - sM2_9: - - mes "[Markie]"; - mes "10) Choose an effective dagger to use in the Byalan Dungeon?"; + mes "[HermanthornJr.]"; + mes "I suppose he suckered you into gathering those items, and then passed you on to me. Sad, really."; next; - menu "Wind Main-Gauche",-, "Ice Main-Gauche",sM2_10, "Earth Main-Gauche",sM2_10, "Fire Main-Gauche",sM2_10; - - set @score, @score + 10; - - sM2_10: - - - L_Score: - mes "[Markie]"; - mes "Okay, those are all of the questions I have. Now that wasn't so bad was it sweetie?"; - mes "I hope you don't mind, but I've been grading your answers."; + mes "[HermanthornJr.]"; + mes "Well, since you were tortured by him, I'll try to be especially generous to you. My test for you will be simple, so simple."; next; - mes "[Markie]"; - mes "I like to give people scores on their interviews so that they can know how well they did."; - mes "It looks like you got a ^FF3355" + @score +"^000000/100............"; + mes "[HermanthornJr.]"; + mes "All you have to do is go through a underground tunnel, and walk all the way back to the Rogue Guild."; next; - mes "[Markie]"; - - if(@score< 90) goto sL_Failed; - if(@score<100) goto sL_Passed; - - sL_Perfect: - mes "A perfect score! I knew you had what it takes to be a Rogue....."; - mes "But don't get ahead of yourself honey cause there is still plenty more....."; - next; - mes "[Markie]"; - set ROGUE_Q, 2; - goto L_Test2; - - sL_Passed: - mes "Good, good. You did a good job shuga. But there is still more so don't get excited just yet....."; - next; - mes "[Markie]"; - set ROGUE_Q, 2; - goto L_Test2; - return; - - sL_Failed: - mes "*sigh*..... this is not the type of score I was expecting......"; - mes "What can I say excecpt, with a score like this you're definitely not cut out to be a Rogue.........."; - emotion e_swt; - next; - mes "[Markie]"; - mes "Why don't you go do some more training shuga..... you need it..... *mumbles ( what a waste of my time...)*"; - close; + mes "[HermanthornJr.]"; + mes "There is one thing I should tell you, though. You might want to be careful inside, alright?"; + next; + mes "[HermanthornJr.]"; + mes "A bunch of pricks have been throwing Dead Branches and casting Hocus Pocus all over the place..."; + next; + 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; + close; + } + else if (ROGUE_Q == 12) { + mes "[HermanthornJr.]"; + mes "Oh right. This is really important. You need a password to enter the tunnel. To unlock the door, the four number combination is ^0000FF3019^000000."; + close; + } + else { + mes "[HermanthornJr.]"; + mes "Huh...?"; + mes "What the hell"; + mes "are you doing here."; + mes "Scram, why don't you?"; + close; + } +} -L_ReTest: - mes "You again? Are you sure you're ready this time?...... Okay honey, just relax...."; +in_rogue,270,130,0 script he_to_rogue#rg 45,1,1,{ +OnTouch: + mes "^3355FFThe door is locked. You'll need to enter the four number combination to open it.^000000"; next; - goto L_Test1; + input .@input; + if (.@input < 1 || .@input > 10000) { + if (ROGUE_Q == 12) + mes "^3355FFIt didn't work. Please re-enter the four number combination.^000000"; + else + mes "^3355FFPlease enter a combination of four numbers.^000000"; + close; + } + else if (.@input == 3019) { + if (ROGUE_Q == 12) { + mes "^3355FFThe door"; + mes "has opened.^000000"; + close2; + warp "in_rogue",10,21; + set ROGUE_Q,12; + end; + } + else { + mes "[HermanthornJr.]"; + mes "Well..."; + mes "Didn't I tell you"; + mes "that I changed the"; + mes "password? *Wink Wink*"; + close; + } + } + else { + mes "^3355FFThe door"; + mes "is still locked.^000000"; + close; + } +} -L_Test2: - mes "Your second test will be given by ^5533FFMr. Smith^000000."; - mes "I have to warn you though, Mr. Smith can be difficult and hard to please. So be careful how you act around him."; - close; -L_Test3: - mes "I know those guys are hard to find. Just be patient and keep on searching. Make sure you have the correct password as well.."; - close; -L_Test4: - mes "What are you doing here? I hope your not trying to skip the last test?........."; - emotion e_what; - next; - mes "[Markie]"; - mes "Your almost finished so just keep trying. I know you can do it."; - close; +in_rogue,200,389,0 script gen_ro#1 -1,3,3,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",200,389,"Zombie",1015,1,"gen_ro#1::OnMyMobDead"; + monster "in_rogue",201,389,"Zombie",1015,1,"gen_ro#1::OnMyMobDead"; + donpcevent "gen_ro#2::OnDisable"; + donpcevent "gen_ro#3::OnDisable"; + donpcevent "gen_ro#4::OnDisable"; + } + else + warp "mag_dun02",181,176; + end; +OnDisable: + killmonster "in_rogue","gen_ro#1"; + end; +} -//======================================================================= -L_Change: -//=========== - mes "Oh, you're back and your in one piece! It looks like you've passed all of the tests sweetie."; - mes "You have proven that you are ready to become a Rogue!"; - emotion e_ic; - next; - if(SkillPoint != 0) goto L_SkillP; - mes "[Markie]"; - mes "Tada! Congratulations on becoming a Rogue. You showed a lot of effort and deserve a reward for it......"; - setlook 7,0; - callfunc "Job_Change",Job_Rogue; - emotion e_grat; - next; - mes "[Markie]"; - mes "Now that you are a Rogue you are free to go where ever you want to and do what ever you want."; - if(JBLVL != 50) { - getitem 1219,1; // 2 slott gladius - } else { - getitem 1220,1; // 3 slott gladius - } - callfunc "F_ClearJobVar"; - next; - mes "[Markie]"; - mes "Just keep in mind that freedom requires responsibility. Treat people the way you expect to be treated."; - next; - mes "[Markie]"; - mes "Have fun shuga! See ya around!"; - close; +in_rogue,100,389,0 script gen_ro#2 -1,3,3,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",100,389,"Mummy",1041,1,"gen_ro#2::OnMyMobDead"; + donpcevent "gen_ro#1::OnDisable"; + } + else + warp "mag_dun02",181,176; + end; -//======================================================================= -L_SkillP: -//=========== - mes "[Markie]"; - mes "Oh but one thing honey... you have leftover skill points!"; - mes "Finish them first and come back, 'kay?"; - close; +OnDisable: + killmonster "in_rogue","gen_ro#2"; + end; } +in_rogue,150,389,0 script gen_ro#3 -1,3,3,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",145,389,"Zombie",1015,1,"gen_ro#3::OnMyMobDead"; + monster "in_rogue",143,389,"Mummy",1041,1,"gen_ro#3::OnMyMobDead"; + donpcevent "gen_ro#2::OnDisable"; + } + else + warp "mag_dun02",181,176; + end; +OnDisable: + killmonster "in_rogue","gen_ro#3"; + end; +} -//=======================================================================================================// -// Mr. Smith: Tests 2 and 3 // -//***********************************************************************************************************************************************************// -in_rogue,376,23,3 script Mr. Smith 57,{ - - mes "[Mr. Smith]"; - if(BaseJob == Job_Thief) goto L_Thief; - if(BaseJob == Job_Rogue) goto L_Rogue; +in_rogue,250,389,0 script gen_ro#4 -1,3,3,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",200,389,"Abysmal Knight",1219,1,"gen_ro#4::OnMyMobDead"; + donpcevent "gen_ro#3::OnDisable"; + } + else + warp "mag_dun02",181,176; + end; -L_OtherJob: - mes "Go away! I'm busy....."; - close; -L_Rogue: - mes "Looking good there my Rogue friend"; - close; -L_Thief: - if(ROGUE_Q == 2) goto L_Test2; - if(ROGUE_Q == 3) goto L_Test3; - if(ROGUE_Q > 3) goto L_Done; - mes "Ok ok.... one... two.... three.... Where do you do you business... is it.... Morroc... Geffen.... Comodo??......."; - next; - mes "[Mr. Smith]"; - mes "Uhh..... this is giving me a headache......."; - next; - mes "[Mr. Smith]"; - mes "Huh? Who are you? If you want to become a rogue go talk to ^5533FFMarkie^000000...."; - next; - mes "[Mr. Smith]"; - mes "...... CRAP! I forgot what I was counting!!"; - emotion e_wah; - close; +OnDisable: + killmonster "in_rogue","gen_ro#4"; + end; +} -//---------------------------------------------------------------------------------------------------- -L_Test2: -//-------------- - if(ROGUE_Q2 > 0) goto L_Check2; - mes "So you're here to take the second test.... good......."; - next; - mes "[Mr. Smith]"; - mes "Before we get started, let me tell you about the test application fee."; - mes "Our guild is involved in alot of business *cough* 'transactions' *cough* and therefore we are in constant needs of funds."; - next; - mes "[Mr. Smith]"; - mes "This is why we require a fee of ^5533FF10,000 zeny^000000 to be paid when taking the Rogue tests."; - mes "The fee will be collected when you have completed this second test so don't have to worry if you don't have it now."; - next; - mes "[Mr. Smith]"; - mes "Now for your test..... You will be required to collect the following items:"; - next; - mes "[Mr. Smith]"; - set ROGUE_Q2, rand(1,3); - if(ROGUE_Q2 == 1) callsub sF2_R1; - if(ROGUE_Q2 == 2) callsub sF2_R2; - if(ROGUE_Q2 == 3) callsub sF2_R3; - next; - mes "[Mr. Smith]"; - mes "Once you have ALL of these items and 10,000 zeny, come back and see me okay? Good."; - close; +in_rogue,9,389,0 script oneway_to_gu 45,1,1,{ +OnTouch: + donpcevent "gen_ro#4::OnDisable"; + set ROGUE_Q,17; + warp "in_rogue",367,10; + end; +} - sF2_R1: - mes "^5533FF6 Blue Herbs,"; - mes "10 Skel Bones,"; - mes "10 Decayed Nails,"; - mes "10 Horrendous Mouths^000000."; - return; - sF2_R2: - mes "^5533FF10 Green Herbs,"; - mes "10 Garlets,"; - mes "10 Snake Scales"; - mes "10 Crab Shells.^000000"; - return; - sF2_R3: - mes "^5533FF10 Yellow Herbs,"; - mes "10 Bear's Footskin,"; - mes "10 Shells"; - mes "10 Grasshopper's Legs^000000."; - return; - -L_Check2: - set @count, 0; - if(ROGUE_Q2 == 2) goto L_2; - if(ROGUE_Q2 == 3) goto L_3; - - L_1: - set @R, 1; - if(countitem(510)<6 || countitem(932)<10 || countitem(957)<10 || countitem(958)<10 || Zeny < 10000) goto L_NotEnuf; - delitem 510,6; - delitem 932,10; - delitem 957,10; - delitem 958,10; - goto L_Done2; - - L_2: - set @R, 2; - if(countitem(511)<10 || countitem(910)<10 || countitem(926)<10 || countitem(964)<10 || Zeny < 10000) goto L_NotEnuf; - delitem 511,10; - delitem 910,10; - delitem 926,10; - delitem 964,10; - goto L_Done2; - - L_3: - set @R, 3; - if(countitem(508)<10 || countitem(948)<10 || countitem(935)<10 || countitem(940)<10 || Zeny < 10000) goto L_NotEnuf; - delitem 508,10; - delitem 948,10; - delitem 935,10; - delitem 940,10; - - L_Done2: - mes "Let's see here.... application fee.... check..... items....... check...... Alright, everything looks in order. You've passed the second test."; +in_rogue,244,39,1 script Aragham Junior#rg 99,{ + if (ROGUE_Q == 9) { + mes "[Aragham Jr.]"; + mes "Oh, you must be"; + mes "from the Rogue Guild..."; next; - mes "[Mr. Smith]"; - mes "When you are ready to take the next test let me know."; - set Zeny, Zeny - 10000; - set ROGUE_Q, 3; - set ROGUE_Q2, 0; + mes "[Aragham Jr.]"; + mes "My name is"; + mes "Aragham Junior,"; + mes "Rogue of the Desert."; + mes "Are you ready to learn"; + mes "how to be a Rogue?"; + next; + mes "[Aragham Jr.]"; + mes "See, as a Rogue, our motto is, '^0000FFAvoid the strong! Be malicious to the weak!^000000' That rule especially goes true for monsters."; + next; + mes "[Aragham Jr.]"; + mes "Avoid the strong!"; + mes "Be malicious to the weak!"; + mes "It's a simple rule..."; + next; + mes "[Aragham Jr.]"; + mes "Now, remember it as you go through ^0000FFthe Underground Tunnel^000000. Try to walk all the way to the Rogue Guild."; + next; + mes "[Aragham Jr.]"; + mes "There will be a few monsters, but don't worry. I know you're strong. Alright, are you ready to go or what?"; + next; + if (select("Yes, let's go.:Nah~") == 1) { + mes "[Aragham Jr.]"; + mes "Alright..."; + mes "Good luck, then."; + close2; + warp "in_rogue",15,105; + set ROGUE_Q,13; + end; + } + mes "[Aragham Jr.]"; + mes "Fine, fine."; + mes "Take your time"; + mes "and come back"; + mes "when you're ready."; close; - - L_NotEnuf: - mes ".... What the f@&#!?!? You don't have all of the items? Then why did you come back?? Don't tell me you forgot what to get....."; - emotion e_what; + } + else if (ROGUE_Q == 13) { + mes "[Aragham Jr.]"; + mes "Oh, you're back."; + mes "I think you'll do well this time. Another motto Rogues have is '^0000FFFailure teaches success^000000.' Well, then again..."; next; - mes "[Mr. Smith]"; - mes "Write this down! You need ^5533FF10,000^000000 zeny and:"; - if(ROGUE_Q2 == 1) callsub sF2_R1; - if(ROGUE_Q2 == 2) callsub sF2_R2; - if(ROGUE_Q2 == 3) callsub sF2_R3; + if (select("Re-Test:Cancel") == 1) { + mes "[Aragham Jr.]"; + mes "Good luck."; + close2; + warp "in_rogue",15,105; + end; + } + mes "[Aragham Jr.]"; + mes "Fine, fine."; + mes "Take your time"; + mes "and come back"; + mes "when you're ready."; + close; + } + else if (BaseJob != Job_Rogue) { + mes "[Aragham Jr.]"; + mes "Huh...?"; + mes "Who are you?!"; + mes "You're not from"; + mes "the Rogue Guild!!"; next; - mes "[Mr. Smith]"; - mes "Got it? DON'T come back until you have everything........."; - emotion e_pif; + mes "[Aragham Jr.]"; + mes "You've come here to kill me, haven't you? N-no! I'm can't die yet! Get lost! Otherwise, I'll kill you first!"; close; + } + else { + mes "[Aragham Jr.]"; + mes "Hey..."; + mes "what brings"; + mes "you back here?"; + mes "Why don't you"; + mes "take a rest"; + mes "before you leave?"; + close; + } +} - -//---------------------------------------------------------------------------------------------- -L_Test3: -//--------------- - if(ROGUE_Q2 > 0) goto L_Check3; - mes "Let me see..... Who should I have you go find........ hmm........."; - emotion e_hmm; - next; - mes "[Mr. Smith]"; - mes "Ah I know! Alright, in the previous test I had you go find some items. For this test you will need to find a specific person."; - emotion e_ic; - next; - mes "[Mr. Smith]"; - set ROGUE_Q2, rand(1,3); - if(ROGUE_Q2 == 1) callsub sF3_R1; - if(ROGUE_Q2 == 2) callsub sF3_R2; - if(ROGUE_Q2 == 3) callsub sF3_R3; - next; - mes "[Mr. Smith]"; - mes "Good luck to you. Try to finish this test as soon as possible. Getting things done quickly is one of a Rogue's traits."; - close; - - sF3_R1: - mes "You will have to go and find ^5533FFAragham Junior^000000."; +in_rogue,160,34,1 script Hollgrehenn junior#rg 85,{ + if (ROGUE_Q == 11) { + mes "[Hollgrehenn Jr.]"; + mes "Huh..."; + mes "From the"; + mes "Rogue guild, huh?"; next; - mes "[Mr. Smith]"; - mes "He lives in a little house somewhere ^5533FFSouthWest^000000 of the Fortress of Sandarman."; - mes "That area is located ^5533FFone map East^000000 from here and is on the ^000000SouthWestern land mass^000000."; + mes "[Hollgrehenn Jr.]"; + mes "I'm Hollgrehenn Junior. I tend to a lot of our underground business. So are you ready to take on my test?"; next; - mes "[Mr. Smith]"; - mes "He's a really nice guy who works real hard and is very good at collecting unpaid debts."; - mes "Unfortunately people were trying to kill him because of something his father had done in the past."; + mes "[Hollgrehenn Jr.]"; + mes "We Rogues share this motto: ^0000FFAvoid the strong! Be malicious to the weak!^000000 This rule applies to any threat, especially monsters."; next; - mes "[Mr. Smith]"; - mes "When he joined the Rogue guild, he decided he was going to keep low which is why he's in his current hiding place."; - mes "No one is supposed to know where he is except for those of us at the Rogue Guild."; + mes "[Hollgrehenn Jr.]"; + mes "It's easy to remember."; + mes "Just don't forget to put it into practice. You got it?"; next; - mes "[Mr. Smith]"; - mes "That's why you will need this password in order to talk to him."; - mes "The password is: '^5533FFAragham never hoarded upgrade items.^000000'"; - return; - sF3_R2: - mes "You will have to go and find ^5533FFHollgrehen Junior^000000."; + mes "[Hollgrehenn Jr.]"; + mes "For my test, you'll go through the ^0000FFUnderground Tunnel^000000. Follow it all the way back to the Rogue Guild."; next; - mes "[Mr. Smith]"; - mes "He lives in a little house somewhere ^5533FFSouthEast^000000 of the Fortress of Sandarman."; - mes "That area is located ^5533FFone map East^000000 from here and is on the ^5533FFEastern land mass^000000."; + mes "[Hollgrehenn Jr.]"; + mes "There are some monsters there, but that'll be part of your training. Now, are you ready to go or not?"; next; - mes "[Mr. Smith]"; - mes "He's a really nice guy who works real hard and is very good at collecting unpaid debts."; - mes "Unfortunately people were trying to kill him because of something his father had done in the past."; + if (select("Yes, I am.:Nah~") == 1) { + mes "[Hollgrehenn Jr.]"; + mes "Good luck."; + close2; + warp "in_rogue",15,105; + set ROGUE_Q,15; + end; + } + mes "[Hollgrehenn Jr.]"; + mes "Take your time."; + mes "Come back here"; + mes "when you're ready."; + close; + } + else if (ROGUE_Q == 15) { + mes "[Hollgrehenn Jr.]"; + mes "Huh."; + mes "You failed."; + mes "Gonna try again?"; next; - mes "[Mr. Smith]"; - mes "When he joined the Rogue guild, he decided he was going to keep low which is why he's in his current hiding place."; - mes "No one is supposed to know where he is except for those of us at the Rogue Guild."; + if (select("Re-Test:Cancel.") == 1) { + mes "[Hollgrehenn Jr.]"; + mes "Good luck."; + close2; + warp "in_rogue",15,105; + end; + } + mes "[Hollgrehenn Jr.]"; + mes "Take your time."; + mes "Come back here"; + mes "when you're ready."; + close; + } + else if (BaseJob != Job_Rogue) { + mes "[Hollgrehenn Jr.]"; + mes "Huh...?"; + mes "You're not from"; + mes "the Rogue Guild..."; next; - mes "[Mr. Smith]"; - mes "That's why you will need this password in order to talk to him."; - mes "The password is: '^5533FFMy Father never hoarded upgrade items.^000000'"; - return; - sF3_R3: - mes "You will have to go and find ^5533FFAntonio Junior.^000000."; + mes "[Hollgrehenn Jr.]"; + mes "You better get out"; + mes "of here right now"; + mes "if you know what's"; + mes "good for you..."; next; - mes "[Mr. Smith]"; - mes "He lives in a little hut somewhere on the ^5533FFEastern end of Kokomo Beach^000000."; - mes "That area is located ^5533FF1 map North, and 1 map West^000000 from here."; + mes "[Hollgrehenn Jr.]"; + mes "Now..."; + mes "Beat it before"; + mes "I change my mind"; + mes "about killing you."; + close; + } + else { + mes "[Hollgrehenn Jr.]"; + mes "Hey..."; + mes "Come to visit?"; + mes "We Rogues gotta"; + mes "stick together, huh?"; + close; + } +} + +in_rogue,177,109,1 script Antonio junior#rg 88,{ + if (ROGUE_Q == 10) { + mes "[Antonio Jr.]"; + mes "You're from"; + mes "the Rogue guild?"; + mes "If you wanna learn"; + mes "about becoming a Rogue,"; + mes "then shut up and stay put."; next; - mes "[Mr. Smith]"; - mes "He's a really nice guy who works real hard and is very good at collecting unpaid debts."; - mes "Unfortunately people were trying to kill him because of something his father had done in the past."; + mes "[Antonio Jr.]"; + mes "^0000FFAvoid the strong! Be malicious to the weak!^000000 That's our motto for battling monsters."; next; - mes "[Mr. Smith]"; - mes "When he joined the Rogue guild, he decided he was going to keep low which is why he's in his current hiding place."; - mes "No one is supposed to know where he is except for those of us at the Rogue Guild."; + mes "[Antonio Jr.]"; + mes "Show no mercy when you fight weaker monsters, and try to keep away from stronger monsters."; next; - mes "[Mr. Smith]"; - mes "That's why you will need this password in order to talk to him."; - mes "The password is: '^5533FFAntonio doesn't like breaking refining material.^000000'"; - return; - - -L_Check3: - mes "What!?! Did you just say you forgot where to go?........"; - emotion e_what; - next; - mes "[Mr. Smith]"; - mes "GRRRR!!! That's why you need to WRITE down important things! Geez......"; - emotion e_an; - next; - mes "[Mr. Smith]"; - if(ROGUE_Q2 == 1) callsub sF3_R1; - if(ROGUE_Q2 == 2) callsub sF3_R2; - if(ROGUE_Q2 == 3) callsub sF3_R3; - close; - -//------------------------------------------------------------------------------------------------- -L_Done: -//---------------- - mes "I have no more busisness with you........."; - close; + mes "[Antonio Jr.]"; + mes "Now, I want you to walk all the way to the Rogue Guild through this ^0000FFUnderground Tunnel^000000."; + next; + mes "[Antonio Jr.]"; + mes "There are monsters there, but if you avoid the strong and be malicious to the weak, you'll be fine."; + next; + if (select("Let's go!:W-wait~") == 1) { + mes "[Antonio Jr.]"; + mes "I hope you do"; + mes "not fail this test"; + mes "You can only become"; + mes "a Rogue if you pass..."; + close2; + warp "in_rogue",15,105; + set ROGUE_Q,14; + end; + } + mes "[Antonio Jr.]"; + mes "I don't have time"; + mes "to fool around with"; + mes "you. Hurry up, get"; + mes "ready, then take"; + mes "the test."; + close; + } + else if (ROGUE_Q == 14) { + mes "[Antonio Jr.]"; + mes "You failed...?"; + mes "I guess that's life."; + mes "Are you gonna try"; + mes "again or what?"; + next; + if (select("Re-test:Cancel") == 1) { + mes "[Antonio Jr.]"; + mes "Remember, I'm doing"; + mes "you a favor here..."; + mes "Now, don't come back"; + mes "until you're a Rogue."; + close2; + warp "in_rogue",15,105; + end; + } + mes "[Antonio Jr.]"; + mes "I don't have time"; + mes "to fool around with"; + mes "you. Hurry up, get"; + mes "ready, then take"; + mes "the test."; + close; + } + else if (BaseJob != Job_Rogue) { + mes "Huh...?"; + mes "Who are you?!"; + mes "You're not from"; + mes "the Rogue Guild!!"; + next; + mes "[Antonio Jr.]"; + mes "You've come here to kill me?! I won't let you!! Come on, give me your best shot! You can't fight if I rip out your eyes!"; + close; + } + else { + mes "[Antonio Jr.]"; + mes "Hey, how's it goin'?"; + mes "Take it easy, and just"; + mes "relax before you leave."; + close; + } } +in_rogue,370,320,0 script quest_out 45,1,1,{ +OnTouch: + set ROGUE_Q,16; + warp "in_rogue",378,113; + end; +} -//=========================================================== -// Guildsman that need to be found -//=========================================================== +in_rogue,15,184,0 script mob_rogue#1 -1,8,1,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",14,187,"Zombie",1015,1,"mob_rogue#1::OnMyMobDead"; + monster "in_rogue",15,188,"Zombie",1015,1,"mob_rogue#1::OnMyMobDead"; + monster "in_rogue",16,189,"Zombie",1015,1,"mob_rogue#1::OnMyMobDead"; + monster "in_rogue",17,187,"Zombie",1015,1,"mob_rogue#1::OnMyMobDead"; + monster "in_rogue",18,188,"Zombie",1015,1,"mob_rogue#1::OnMyMobDead"; + monster "in_rogue",19,189,"Zombie",1015,1,"mob_rogue#1::OnMyMobDead"; + } + else + warp "mag_dun02",181,176; + end; -//------------------------------------------------------------------------------ -in_rogue,272,136,3 script Hermanthorn Jr. 85,{ - mes "[Hermanthorn Jr.]"; - mes "Huh? Wha.... who are you?! You're not from the Rogue guild!! Get out of here!"; - emotion e_what; - next; - mes "[Hermanthorn Jr.]"; - mes "You're..... I see! You're one of them!!! You've come here to kill me haven't you??!! No... NO!! I'm not ready to die yet!"; - emotion e_gasp; - next; - mes "[Hermanthorn Jr.]"; - mes "Aaaaaaaaaaaaaahhhh!! Go away! Get lost! Otherwise I am gonna KILL YOU!!!"; - emotion e_wah; - close; +OnDisable: + killmonster "in_rogue","mob_rogue#1::OnMyMobDead"; + end; } -// -------------------------------------------------------------------------- -cmd_fild09,106,195,0 script Aragham Junior#01 45,1,1,{ - callfunc "F_RogueTest3", 1, "Aragham", "never", "hoarded", "upgrade items.", 244, 24; -} +in_rogue,15,273,0 script mob_rogue#2 -1,8,1,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",15,276,"Mummy",1041,1,"mob_rogue#2::OnMyMobDead"; + monster "in_rogue",13,276,"Mummy",1041,1,"mob_rogue#2::OnMyMobDead"; + monster "in_rogue",11,276,"Mummy",1041,1,"mob_rogue#2::OnMyMobDead"; + } + else + warp "mag_dun02",181,176; + end; -// ----------------------------------------------------------------------------- -cmd_fild09,335,143,0 script Hollgrehen Junior#01 45,1,1,{ - callfunc "F_RogueTest3", 2, "My father", "never", "hoarded", "upgrade items.", 168, 34; +OnDisable: + killmonster "in_rogue","mob_rogue#2::OnMyMobDead"; + end; } -// ------------------------------------------------------------------------------ -cmd_fild04,304,179,0 script Antonio Junior#01 45,1,1,{ - callfunc "F_RogueTest3", 3, "Antonio", "doesn't like", "breaking", "refining materials.", 165, 104; -} +in_rogue,15,333,0 script mob_rogue#3 -1,8,1,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",15,336,"Zombie",1015,1,"mob_rogue#3::OnMyMobDead"; + monster "in_rogue",15,336,"Zombie",1015,1,"mob_rogue#3::OnMyMobDead"; + monster "in_rogue",15,336,"Zombie",1015,1,"mob_rogue#3::OnMyMobDead"; + monster "in_rogue",15,336,"Zombie",1015,1,"mob_rogue#3::OnMyMobDead"; + donpcevent "mob_rogue#4::OnDisable"; + donpcevent "mob_rogue#7::OnDisable"; + donpcevent "mob_rogue#8::OnDisable"; + } + else + warp "mag_dun02",181,176; + end; -// Function for Guildsman =================================== -function script F_RogueTest3 { +OnDisable: + killmonster "in_rogue","mob_rogue#3::OnMyMObDead"; + end; +} - mes "[???]"; - mes "Who's there?!!!"; - mes "Who dares to trespass on my territory?"; - if(god_megin_2 > 0 && getarg(1) == "Aragham") goto L_Pass; - if(BaseJob != Job_Thief || ROGUE_Q<3 || ROGUE_Q2==0) close; -L_Pass: - deletearray @choice$[1], 4; - next; - menu "My father",M_1a, "Aragham",M_1b, "Antonio",M_1c, "Legolas",M_1d; - - M_1a: - set @choice$[1], "My father"; - goto M_Menu2; - M_1b: - set @choice$[1], "Aragham"; - goto M_Menu2; - M_1c: - set @choice$[1], "Antonio"; - goto M_Menu2; - M_1d: - set @choice$[1], "Legolas"; - - M_Menu2: - callsub sF_Password; - menu "did not",M_2a, "doesn't like",M_2b, "never",M_2c, "ever",M_2d; - - M_2a: - set @choice$[2], "did not"; - goto M_Menu3; - M_2b: - set @choice$[2], "doesn't like"; - goto M_Menu3; - M_2c: - set @choice$[2], "never"; - goto M_Menu3; - M_2d: - set @choice$[2], "ever"; - - M_Menu3: - callsub sF_Password; - menu "hoard",M_3a, "hoarded",M_3b, "hide",M_3c, "took",M_3d, "breaking",M_3e; - - M_3a: - set @choice$[3], "hoard"; - goto M_Menu4; - M_3b: - set @choice$[3], "hoarded"; - goto M_Menu4; - M_3c: - set @choice$[3], "hide"; - goto M_Menu4; - M_3d: - set @choice$[3], "took"; - goto M_Menu4; - M_3e: - set @choice$[3], "breaking"; - - M_Menu4: - callsub sF_Password; - menu "upgrade items.",M_4a, "forging items.",M_4b, "refining materials.",M_4c, "upgrade equipment.",M_4d; - - M_4a: - set @choice$[4], "upgrade items."; - goto L_Check; - M_4b: - set @choice$[4], "forging items."; - goto L_Check; - M_4c: - set @choice$[4], "refining materials."; - goto L_Check; - M_4d: - set @choice$[4], "upgrade equipment."; - -L_Check: - callsub sF_Password; - if(god_megin_2 > 0) goto L_Enter; - if(ROGUE_Q2 != getarg(0)) goto L_Wrong; -L_Enter: - if((@choice$[1] != getarg(1)) || (@choice$[2] != getarg(2)) || (@choice$[3] != getarg(3)) || (@choice$[4] != getarg(4))) goto L_Wrong; - mes "~ creeek ~"; - mes "You hear the door begining to open........"; - next; - deletearray @choice$[1], 4; - warp "in_rogue", getarg(5), getarg(6); +in_rogue,39,341,0 script mob_rogue#4 -1,1,8,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",39,341,"Mummy",1041,1,"mob_rogue#4::OnMyMobDead"; + monster "in_rogue",40,341,"Ghoul",1036,1,"mob_rogue#4::OnMyMobDead"; + monster "in_rogue",41,341,"Abysmal Knight",1219,1,"mob_rogue#4::OnMyMobDead"; + monster "in_rogue",42,341,"Mummy",1041,1,"mob_rogue#4::OnMyMobDead"; + } + else + warp "mag_dun02",181,176; end; - L_Wrong: - mes "[???]"; - mes "Get lost!!"; - close; -sF_Password: - mes "[^5533FF" + strcharinfo(0) + "^000000]"; - mes @choice$[1]; - mes @choice$[2]; - mes @choice$[3]; - mes @choice$[4]; - next; - return; +OnDisable: + killmonster "in_rogue","mob_rogue#4::OnMyMobDead"; + end; } +in_rogue,102,334,0 script mob_rogue#5 -1,1,4,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",92,334,"Khalitzburg",1132,1,"mob_rogue#5::OnMyMobDead"; + donpcevent "mob_rogue#1::OnDisable"; + donpcevent "mob_rogue#2::OnDisable"; + donpcevent "mob_rogue#3::OnDisable"; + } + else + warp "mag_dun02",181,176; + end; -//=======================================================================================================// -// Test 4: Last Test // -//***********************************************************************************************************************************************************// -// Other path -// warp "in_rogue", 11, 388; -// 390,389 end warp -// 9,9 -> 9,21 -//=============================================== -// Guildsman -//=============================================== -//--------------------------------------------------------------------------- -in_rogue,244,39,4 script Aragham Junior#02 99,{ - callfunc "F_RogueTest4", 1, "Aragham Junior", 245, 27; -} -//--------------------------------------------------------------------------- -in_rogue,152,27,6 script Hollgrehen Junior#02 85,{ - callfunc "F_RogueTest4", 2, "Hollgrehen Junior", 160, 32; -} -//--------------------------------------------------------------------------- -in_rogue,183,105,4 script Antonio Junior#02 88,{ - callfunc "F_RogueTest4", 3, "Antonio Junior", 175, 107; +OnDisable: + killmonster "in_rogue","mob_rogue#5::OnMyMobDead"; + end; } -// Function for Guildsman ============================= -function script F_RogueTest4 { +in_rogue,58,309,0 script mob_rogue#6 -1,4,1,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",57,301,"Khalitzburg",1132,1,"mob_rogue#6::OnMyMobDead"; + donpcevent "mob_rogue#1::OnDisable"; + donpcevent "mob_rogue#2::OnDisable"; + donpcevent "mob_rogue#3::OnDisable"; + } + else + warp "mag_dun02",181,176; + end; - if(BaseJob != Job_Thief || ROGUE_Q2 != getarg(0)) goto L_NoThief; - if(ROGUE_Q == 4) goto L_Restart; - mes "[" + getarg(1) + "]"; - mes "Hello there... You must be from the Rogue guild. My name is " + getarg(1) + "...... I am the Rogue of the Desert.............."; - next; - mes "[" + getarg(1) + "]"; - mes "Aww who am I kidding...... Let's cut the crap. So are you ready to become a rogue?"; - emotion e_swt; - next; - mes "[" + getarg(1) + "]"; - mes "You see, the Rogue motto is...... ^5533FF'Avoid the strong! Be malicious to the weak!'^000000"; - mes "This simple rule applys to fighting monsters as well."; - next; - mes "[" + getarg(1) + "]"; - mes "The very last thing you will have to do before you can become a Rogue, is to walk through an underground passage to the Rogue Guild."; - next; - mes "[" + getarg(1) + "]"; - mes "Sounds easy huh? Well it's not! But don't worry...."; - mes "If you stay true to the Rogue motto and use a lot of hide, and do a lot of running, you should be just fine."; +OnDisable: + killmonster "in_rogue","mob_rogue#6::OnMyMobDead"; + end; +} - M_Menu: - next; - mes "[" + getarg(1) + "]"; - mes "Ok, are you ready to go?"; - next; - menu "As ready as I'll ever be.",-, "Actually I'm kinda scared...",M_End; +in_rogue,101,264,0 script mob_rogue#7 -1,5,5,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",101,264,"Abysmal Knight",1219,1,"mob_rogue#7::OnMyMobDead"; + monster "in_rogue",102,264,"Abysmal Knight",1219,1,"mob_rogue#7::OnMyMobDead"; + } + else + warp "mag_dun02",181,176; + end; - mes "[" + getarg(1) + "]"; - mes "Good luck then."; - next; - set ROGUE_Q, 4; - killmonsterall "in_rogue"; - savepoint "in_rogue", getarg(2), getarg(3); - warp "in_rogue", 15, 105; - end; +OnDisable: + killmonster "in_rogue","mob_rogue#7::OnMyMobDead"; + end; +} - M_End: - mes "[" + getarg(1) + "]"; - mes "....................."; - next; - mes "[" + getarg(1) + "]"; - mes "Well take your time then...... I guess......."; - close; +in_rogue,140,312,0 script mob_rogue#8 -1,5,5,{ +OnTouch: + if (BaseJob == Job_Thief) + monster "in_rogue",140,312,"Abysmal Knight",1219,1,"mob_rogue#8::OnMyMobDead"; + else + warp "mag_dun02",181,176; + end; -L_Restart: - mes "[" + getarg(1) + "]"; - mes "....... Looks like you got creamed......."; - emotion e_swt; - next; - mes "[" + getarg(1) + "]"; - mes "If you're up for it, I'll send you back in. Failure has a way of teaching success.... yada yada yada...."; - percentheal 100,100; - goto M_Menu; - -L_NoThief: - mes "[" + getarg(1) +"]"; - mes "I don't know how you got the"; - if(ROGUE_Q2) - { - mes "pass, but I am not the one"; - mes "in charge of your test."; - } - else - { - mes "pass, but looking at your face,"; - mes "I guess you're not here for the"; - mes "Rogue test."; - } - next; - mes "[" + getarg(1) +"]"; - mes "Please hurry up and leave"; - mes "this place as soon as you can!"; - close; +OnDisable: + killmonster "in_rogue","mob_rogue#8::OnMyMobDead"; + end; } -//================================================ -// Monster Spawns -//================================================ -in_rogue,15,185,0 script rogue_mob1 139,8,0,{ - monster "in_rogue",14,188,"Zombie",1015,1; - monster "in_rogue",15,188,"Zombie",1015,1; - monster "in_rogue",16,188,"Zombie",1015,1; - monster "in_rogue",14,189,"Zombie",1015,1; - monster "in_rogue",15,189,"Zombie",1015,1; - monster "in_rogue",16,189,"Zombie",1015,1; +in_rogue,139,246,0 script mob_rogue#9 -1,4,4,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",139,246,"Zombie",1015,1,"mob_rogue#9::OnMyMobDead"; + monster "in_rogue",149,246,"Zombie",1015,1,"mob_rogue#9::OnMyMobDead"; + monster "in_rogue",140,246,"Zombie",1015,1,"mob_rogue#9::OnMyMobDead"; + monster "in_rogue",141,246,"Zombie",1015,1,"mob_rogue#9::OnMyMobDead"; + monster "in_rogue",150,246,"Zombie",1015,1,"mob_rogue#9::OnMyMobDead"; + monster "in_rogue",151,246,"Zombie",1015,1,"mob_rogue#9::OnMyMobDead"; + } + else + warp "mag_dun02",181,176; end; -} -in_rogue,15,245,0 script rogue_mob2 139,8,0,{ - monster "in_rogue",14,247,"Mummy",1041,1; - monster "in_rogue",15,247,"Mummy",1041,1; - monster "in_rogue",16,247,"Mummy",1041,1; - monster "in_rogue",14,248,"Mummy",1041,1; - monster "in_rogue",15,248,"Mummy",1041,1; - monster "in_rogue",16,248,"Mummy",1041,1; + +OnDisable: + killmonster "in_rogue","mob_rogue#9::OnMyMobDead"; end; } -in_rogue,15,328,0 script rogue_mob3 139,8,0,{ - monster "in_rogue",14,331,"Zombie",1015,1; - monster "in_rogue",15,331,"Zombie",1015,1; - monster "in_rogue",16,331,"Zombie",1015,1; - monster "in_rogue",14,332,"Zombie",1015,1; - monster "in_rogue",15,332,"Zombie",1015,1; - monster "in_rogue",16,332,"Zombie",1015,1; + +in_rogue,197,249,0 script mob_rogue#10 -1,1,8,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",176,211,"Ghoul",1036,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",176,212,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",176,213,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",177,214,"Abysmal Knight",1219,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",177,211,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",177,212,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",177,213,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",177,214,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",178,211,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",178,212,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",178,213,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",178,214,"Archer Skeleton",1016,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",179,211,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",179,212,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",179,213,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + monster "in_rogue",179,214,"Zombie",1015,1,"mob_rogue#10::OnMyMobDead"; + donpcevent "mob_rogue#4::OnDisable"; + donpcevent "mob_rogue#5::OnDisable"; + donpcevent "mob_rogue#6::OnDisable"; + } + else + warp "mag_dun02",181,176; end; -} -in_rogue,35,342,0 script rogue_mob4 139,0,8,{ - monster "in_rogue",38,340,"Mummy",1041,1; - monster "in_rogue",37,342,"Abyss Knight",1219,1; - monster "in_rogue",39,342,"Ghoul",1036,1; - monster "in_rogue",38,344,"Mummy",1041,1; + +OnDisable: + killmonster "in_rogue","mob_rogue#10::OnMyMobDead"; end; } -in_rogue,57,306,0 script rogue_mob5 139,4,0,{ - monster "in_rogue",59,301,"Khalitzburg",1132,1; + +in_rogue,96,205,0 script mob_rogue#11 -1,1,8,{ +OnTouch: + if (BaseJob == Job_Thief) { + donpcevent "mob_rogue#7::OnDisable"; + donpcevent "mob_rogue#8::OnDisable"; + donpcevent "mob_rogue#9::OnDisable"; + donpcevent "mob_rogue#10::OnDisable"; + } + else + warp "mag_dun02",181,176; end; } -in_rogue,96,333,0 script rogue_mob6 139,0,4,{ - monster "in_rogue",92,325,"Khalitzburg",1132,1; + +in_rogue,86,187,0 script mob_rogue#12 -1,1,8,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",90,187,"Mummy",1041,1,"mob_rogue#12::OnMyMobDead"; + monster "in_rogue",90,183,"Mummy",1041,1,"mob_rogue#12::OnMyMobDead"; + monster "in_rogue",90,190,"Mummy",1041,1,"mob_rogue#12::OnMyMobDead"; + } + else + warp "mag_dun02",181,176; end; -} -in_rogue,139,313,0 script rogue_mob7 139,4,0,{ - monster "in_rogue",139,309,"Abyss Knight",1219,1; + +OnDisable: + killmonster "in_rogue","mob_rogue#12::OnMyMobDead"; end; } -in_rogue,135,246,0 script rogue_mob8 139,0,4,{ - monster "in_rogue",139,245,"Zombie",1015,2; - monster "in_rogue",139,246,"Zombie",1015,2; - monster "in_rogue",139,247,"Zombie",1015,2; + +in_rogue,223,187,0 script mob_rogue#13 -1,1,8,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",236,186,"Abysmal Knight",1219,1,"mob_rogue#13::OnMyMobDead"; + monster "in_rogue",238,186,"Abysmal Knight",1219,1,"mob_rogue#13::OnMyMobDead"; + monster "in_rogue",234,186,"Abysmal Knight",1219,1,"mob_rogue#13::OnMyMobDead"; + donpcevent "mob_rogue#12::OnDisable"; + } + else + warp "mag_dun02",181,176; end; -} -in_rogue,62,302,0 script rogue_mob9 139,0,4,{ - monster "in_rogue",57,305,"Khalitzburg",1132,1; + +OnDisable: + killmonster "in_rogue","mob_rogue#13::OnMyMobDead"; end; } -in_rogue,199,218,0 script rogue_mob10 139,0,8,{ - monster "in_rogue",157,218,"Zombie",1015,10; - monster "in_rogue",157,218,"Abyss Knight",1219,1; - monster "in_rogue",157,218,"Ghoul",1036,1; - monster "in_rogue",157,218,"Archer Skeleton",1016,1; + +in_rogue,233,207,0 script mob_rogue#14 -1,8,3,{ +OnTouch: + if (BaseJob == Job_Thief) + donpcevent "mob_rogue#13::OnDisable"; + else + warp "mag_dun02",181,176; end; } -in_rogue,86,187,0 script rogue_mob11 139,0,8,{ - monster "in_rogue",88,186,"Mummy",1041,1; - monster "in_rogue",88,187,"Mummy",1041,1; - monster "in_rogue",88,188,"Mummy",1041,1; + +in_rogue,244,319,0 script mob_rogue#15 -1,1,8,{ +OnTouch: + if (BaseJob == Job_Thief) { + monster "in_rogue",240,319,"Mummy",1041,1,"mob_rogue#15::OnMyMobDead"; + monster "in_rogue",259,319,"Archer Skeleton",1016,1,"mob_rogue#15::OnMyMobDead"; + monster "in_rogue",259,320,"Ghoul",1036,1,"mob_rogue#15::OnMyMobDead"; + monster "in_rogue",240,319,"Mummy",1041,1,"mob_rogue#15::OnMyMobDead"; + monster "in_rogue",259,319,"Archer Skeleton",1016,1,"mob_rogue#15::OnMyMobDead"; + monster "in_rogue",259,320,"Ghoul",1036,1,"mob_rogue#15::OnMyMobDead"; + } + else + warp "mag_dun02",181,176; end; -} -in_rogue,225,187,0 script rogue_mob12 139,0,8,{ - monster "in_rogue",232,191,"Abyss Knight",1219,1; - monster "in_rogue",233,190,"Abyss Knight",1219,1; - monster "in_rogue",234,189,"Abyss Knight",1219,1; + +OnDisable: + killmonster "in_rogue","mob_rogue#15::OnMyMobDead"; end; } -in_rogue,252,320,0 script rogue_mob13 139,0,8,{ - monster "in_rogue",252,319,"Mummy",1041,1; - monster "in_rogue",252,321,"Mummy",1041,1; - monster "in_rogue",252,319,"Ghoul",1036,1; - monster "in_rogue",252,321,"Ghoul",1036,1; - monster "in_rogue",257,320,"Archer Skeleton",1016,1; - monster "in_rogue",248,320,"Archer Skeleton",1016,1; + +in_rogue,334,319,0 script mob_rogue#16 -1,8,8,{ +OnTouch: + if (BaseJob == Job_Thief) + donpcevent "mob_rogue#15::OnDisable"; + else + warp "mag_dun02",181,176; end; } -//================================================ -// End Warp -//================================================ -in_rogue,370,320,0 script rogue04 45,1,1,{ - set ROGUE_Q, 5; - killmonsterall "in_rogue"; - warp "in_rogue",378,113; +in_rogue,3,3,0 script resetter#rogue -1,{ +OnTimer500000: + donpcevent "mob_rogue#1::OnDisable"; + donpcevent "mob_rogue#2::OnDisable"; + donpcevent "mob_rogue#3::OnDisable"; + donpcevent "mob_rogue#4::OnDisable"; + donpcevent "mob_rogue#5::OnDisable"; + donpcevent "mob_rogue#6::OnDisable"; + donpcevent "mob_rogue#7::OnDisable"; + donpcevent "mob_rogue#8::OnDisable"; + donpcevent "mob_rogue#9::OnDisable"; + donpcevent "mob_rogue#10::OnDisable"; + donpcevent "mob_rogue#12::OnDisable"; + donpcevent "mob_rogue#13::OnDisable"; + donpcevent "mob_rogue#15::OnDisable"; + initnpctimer; end; -} -//================================================ -// Timer: Keeps monsters from overspawning -//================================================ -- script RogueTest3 -1,{ +OnEnable: + initnpctimer; end; -OnMinute10: -OnMinute20: -OnMinute30: -OnMinute40: -OnMinute50: -OnMinute60: - killmonsterall "in_rogue"; +OnInit: + donpcevent "resetter#rogue::OnEnable"; end; } -//============================================================================== +in_rogue,399,286,1 script switch#rogreset 88,{ + mes "^F08080Tah dah~"; + mes "Monsters for the"; + mes "Rogue Job Change"; + mes "have been reset^000000."; + donpcevent "mob_rogue#1::OnDisable"; + donpcevent "mob_rogue#2::OnDisable"; + donpcevent "mob_rogue#3::OnDisable"; + donpcevent "mob_rogue#4::OnDisable"; + donpcevent "mob_rogue#5::OnDisable"; + donpcevent "mob_rogue#6::OnDisable"; + donpcevent "mob_rogue#7::OnDisable"; + donpcevent "mob_rogue#8::OnDisable"; + donpcevent "mob_rogue#9::OnDisable"; + donpcevent "mob_rogue#10::OnDisable"; + donpcevent "mob_rogue#12::OnDisable"; + donpcevent "mob_rogue#13::OnDisable"; + donpcevent "mob_rogue#15::OnDisable"; + donpcevent "resetter#rogue::OnEnable"; + close; +} + +//============================================================ // mapflag -//============================================================================== +//============================================================ in_rogue mapflag nomemo in_rogue mapflag noteleport in_rogue mapflag nosave SavePoint in_rogue mapflag nopenalty in_rogue mapflag nobranch -in_rogue mapflag noexp -in_rogue mapflag noloot + +//============================================================ +// Old changelog +//============================================================ +//= 1.1 fixed 3 wrong questions, added missing lines [Lupus] +//= 1.3 Baby Class Support + 40/50 JobLevel Item fix [Lupus] +//= 1.5 Fixed possible EXP abuse [Lupus] +//= 1.6 Added a func which prevent advanced classes passing +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] +//= 2.0 Changed numbers to constants. [Vicious] +//= 2.1 Removed Duplicates [Silent] +//= 2.2 Merged JFunc [Lupus] +//= 2.3 Added a possibility for players doing Meginjyard quest +//= to enter Rogue guild as there's a NPC inside [SinSloth] +//= 2.3a fixed test4 person interaction, let BABY thieves pass +//= the test, too [Lupus] |