From 32ea1940a8a9a15e3ae8fe778cfbd4071f8e7a09 Mon Sep 17 00:00:00 2001 From: nana Date: Sun, 14 Nov 2004 23:27:51 +0000 Subject: Changed the Advance jobchangers to kRO normals. They now check if you are level 99/50 as a 2nd class or above, your Quest Skills (and gives them back when you reach 1st Advance Class) and if you have a Cart or Falcon equiped. Also, the minimum requirement to change from Advance 1st class is job level 45 so i added that in too. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@183 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/2-2-1/Clown.txt | 226 ++++++++++++++++++++++------------------------- 1 file changed, 107 insertions(+), 119 deletions(-) (limited to 'npc/jobs/2-2-1/Clown.txt') diff --git a/npc/jobs/2-2-1/Clown.txt b/npc/jobs/2-2-1/Clown.txt index 29b919382..9a7fe8e9e 100644 --- a/npc/jobs/2-2-1/Clown.txt +++ b/npc/jobs/2-2-1/Clown.txt @@ -1,122 +1,110 @@ -//Made by Veev for eAthena +// Advance Class jobchanger after kRO Normals. +// Checks if the player have any questskills, cart\falcon, level and such. +// Made by Nana. + +// -== Clown ==- valkyrie.gat,53,54,4z script Clown 741,{ + if(readparam(21) > 0) goto L_Female; + if(getskilllv(147) > 0) set @qsk,1; + if(getskilllv(148) > 0) set @qsk1,1; + if(checkfalcon(0) > 0) goto L_Falcon; + if(checkcart(0) > 0) goto L_Cart; + if(readparam(12) > 0) goto Skill_Points; + if(readparam(19) >= 4008) goto L_Advance; + if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov; + if((readparam(19) == 4004) && (readparam(55) >= 45)) goto L_HARC; + if(readparam(19) < 7) goto L_Class; + if(readparam(19) == 4001) goto L_Class1; + if(readparam(19) == 4004) goto L_Class; + if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change; + if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels; + mes "[Clown]"; + mes "Hi there..."; + close; + +L_Change: + mes "[Clown]"; + mes "Hello there "+strcharinfo(0)+"!"; + mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Clown,"; + mes "I wish you good fortune in the near future!"; + jobchange 24; + resetlvl(1); + close; + +L_Cart: + mes "[Clown]"; + mes "Please un-equip that cart before continuing."; + close; + +L_Class1: + mes "[Clown]"; + mes "You're not ready to become an High Archer yet."; + close; + +L_Class: + mes "[Clown]"; + mes "You've come far to get here. unfortunately, you're not ready to become an Clown yet."; + close; + +L_Levels: + mes "[Clown]"; + mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Clown"; + close; + +L_HNov: + mes "[Clown]"; + mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok."; + mes "Must great fortune follow you!"; + jobchange 27; + next; + mes "[Clown]"; + mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+"."; + next; + if(@qsk > 0) goto qsk; + if(@qsk1 > 0) goto qsk1; + if(@qsk2 > 0) goto qsk2; + if(@qsk3 > 0) goto qsk3; + next; +qsk: + skill 147,1,0; + set @qsk,0; + if(@qsk1 > 0) goto qsk1; + goto L_HNov_2; +qsk1: + skill 148,1,0; + set @qsk1,0; + if(@qsk > 0) goto qsk; + goto L_HNov_2; + +L_HNov_2: + mes "[Clown]"; + mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Archer"; + close; +L_HARC: + mes "[Clown]"; + mes "Congratulations!"; + mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Clown!"; + jobchange 43; + close; + +Skill_Points: + mes "[Clown]"; + mes "Please use all of your skillpoints before proceeding."; + close; + +L_Advance: + mes "[Clown]"; + mes "Hey there! You are already an Reborn. You cannot reach any higher"; + mes "*whistles*"; + close; -mes "[Clown]"; -mes "Well, would you like to sing a song...?"; -mes "But I'll start the song off for you..."; -goto cmenu; +L_Falcon: + mes "[Clown]"; + mes "Please take your Falcon off before proceeding "+strcharinfo(0)+"."; + close; - cmenu: - menu "I'm not here to sing.",nosing,"Alright...",alright; - - nosing: - mes "[Clown]"; - mes "Really?... I see. What brings you here then?"; - menu "I would like to become a Clown",clown,"Nothing...",nothing; - - clown: - mes "[Clown]"; - mes "Hmm... Let me make sure you are clown-material..."; - next; - if (sex==0) goto female; - if (SkillPoint != 0) goto useskpt; - if ((BaseLevel >= 99) && (Class == 19) && (readparam(55) >= 50)) goto highnovice; - if ((Class == 4001) && (readparam(55) >= 10)) goto higharcher; - if ((Class == 4004) && (readparam(55) >= 40)) goto turnclown; - if ((Class == 4004) && (readparam(55) < 40)) goto toolowha; - if (Class == 4020) goto alreadyclown; - mes "Sorry, but you can't become a clown just yet..."; - close; - - female: - mes "[Clown]"; - mes "This job is only for guys... Maybe you should talk to the Gypsy..."; - close; - - highnovice: - mes "[Clown]"; - mes "You are on the right track... But first I need to turn you into a High Novice..."; - mes "Would you like to become a High Novice now?"; - menu "Yes",hn_yes,"No",hn_no; - - hn_yes: - mes "[Clown]"; - mes "This will only be a second..."; - jobchange 24;// Job: Job_Novice_High - resetlvl(1); - close; - - hn_no: - mes "[Clown]"; - mes "Come back later if you want to change..."; - close; - - higharcher: - mes "[Clown]"; - mes "Even closer to clown now!"; - mes "Wanna change into a High Archer now?"; - menu "Yes",ha_yes,"No",ha_no; - - ha_yes: - mes "[Clown]"; - mes "After this step, you'll be a clown in no time!"; - jobchange 27;// Job: Job_Archer_High - close; - - ha_no: - mes "[Clown]"; - mes "Well... You can always come back."; - close; - - turnclown: - mes "[Clown]"; - mes "My favorite part of this job! This is exciting!"; - mes "I'll change you into a Clown now."; - menu "Alright!",tc_yes,"Not yet...",tc_no; - - tc_yes: - mes "[Clown]"; - mes "I love this job!"; - jobchange 43;// Job: Job_Clown - next; - mes "[Clown]"; - mes "Have fun!"; - close; - - tc_no: - mes "[Clown]"; - mes "Well... That kinda ruined my day..."; - close; - - alreadyclown: - mes "[Clown]"; - mes "You are already a Clown!"; - mes "Move out of the way and let other people become one"; - close; - - useskpt: - mes "[Clown]"; - mes "You need to use those skillpoitns up first."; - close; - - towlowha: - mes "[Clown]"; - mes "Aww, you aren't ready yet! Please come back again when you are ready."; - close; - - nothing: - mes "[Clown]"; - mes "Sigh..."; - close; - - alright: - mes "[Clown]"; - if (class != 19) goto notbard; - mes "Actually you know what... Maybe another time... You don't look like a singer..."; - close; - - notbard: - mes "[Clown]"; - mes "... Nice try, but you aren't a Bard... Go bother someone else."; - close; -} +L_Female: + mes "[Clown]"; + mes "Only males can become a Clown."; + close; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2