From 206d9e2affc46aede0fe7cfc632501273f902d5f Mon Sep 17 00:00:00 2001 From: Lupus Date: Fri, 23 Jun 2006 09:35:34 +0000 Subject: done merging jFunc 8) fixed some typos, etc git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7309 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/2-2/rogue.txt | 234 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 219 insertions(+), 15 deletions(-) (limited to 'npc/jobs/2-2/rogue.txt') diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt index e1f9f140d..8988b799e 100644 --- a/npc/jobs/2-2/rogue.txt +++ b/npc/jobs/2-2/rogue.txt @@ -3,13 +3,13 @@ //===== By: ================================================== //= kobra_k88 //===== Current Version: ===================================== -//= 2.1 +//= 2.2 //===== Compatible With: ===================================== //= eAthena 1.0 + //===== 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. +//= There are some differences from official quest due to +//= scripting issues. Missing some message text. //===== Additional Comments: ================================= //= 1.1 fixed 3 wrong questions, added missing lines [Lupus] //= 1.3 Baby Class Support + 40/50 JobLevel Item fix [Lupus] @@ -19,6 +19,7 @@ //= to go. [Lupus] //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Removed Duplicates [Silent] +//= 2.2 Merged JFunc [Lupus] //============================================================ @@ -41,12 +42,11 @@ L_Rogue: close; L_Thief: - if(JobLevel >= 40) goto L_Start; - 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; - -L_Start: + 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; @@ -69,8 +69,7 @@ L_Start: 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, 40; // used to determine what item to get at the end - if(JobLevel == 50) set JBLVL, 50; // used to determine what item to get at the end + 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."; @@ -93,7 +92,209 @@ 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?"; next; - callfunc "RogQ_check"; + + savepoint "in_rogue.gat",366,114; + set @score, 0; + set ROGUE_Q, 1; + if(rand(2)) goto L_QSet2; + + mes "[Markie]"; + mes "1) What is the added flee rate that a Thief recieves when the ^5533FFImprove Dodge^000000 skill is ^5533FFmastered^000000?"; + 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?"; + 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?"; + 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?"; + 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..."; + next; + menu "Rocker Card",sM1_5, "Mummy Card",-, "Zerom Card",sM1_5, "Drops",sM1_5; + + set @score, @score + 10; + + sM1_5: + + 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 "[Markie]"; + mes "7) At what job level can you change from a Thief to a Rogue?"; + 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?"; + 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?"; + 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?"; + 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?"; + 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?"; + 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?"; + 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 "[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; + + sM2_4: + + mes "[Markie]"; + mes "5) After increasing ^5533FFDivest Helm^000000 to level 5, what other skill becomes available for you learn?"; + 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?"; + next; + menu "Hiding",sM2_6, "Back Slide",sM2_6, "Tunnel Drive",-, "Sand Attack",sM2_6; + + set @score, @score + 10; + + sM2_6: + + 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; + + set @score, @score + 10; + + sM2_7: + + 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)"; + 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?"; + 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?"; + 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."; + 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............"; + next; + mes "[Markie]"; + if(@score< 90) goto sL_Failed; if(@score<100) goto sL_Passed; @@ -159,8 +360,11 @@ L_Change: 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 - if(JBLVL == 50) getitem 1220,1; // 3 slott gladius + if(JBLVL != 50) { + getitem 1219,1; // 2 slott gladius + } else { + getitem 1220,1; // 3 slott gladius + } callfunc "F_ClearJobVar"; next; mes "[Markie]"; @@ -460,7 +664,7 @@ function script F_RogueTest3 { mes "Who's there?!!!"; mes "Who dares to trespass on my territory?"; if(BaseJob!=Job_Thief || ROGUE_Q<3 || ROGUE_Q2==0) close; -L_Start: + deletearray @choice$[1], 4; next; menu "My father",M_1a, "Aragham",M_1b, "Antonio",M_1c, "Legolas",M_1d; -- cgit v1.2.3-70-g09d2