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/Paladin.txt | 139 ++++++++++++++++++++++++++++++--------------- 1 file changed, 92 insertions(+), 47 deletions(-) (limited to 'npc/jobs/2-2-1/Paladin.txt') diff --git a/npc/jobs/2-2-1/Paladin.txt b/npc/jobs/2-2-1/Paladin.txt index 245660c34..6694c973a 100644 --- a/npc/jobs/2-2-1/Paladin.txt +++ b/npc/jobs/2-2-1/Paladin.txt @@ -1,62 +1,107 @@ -//Paladin Made by Evera/Lorri -//Fixed by PoW +// Advance Class jobchanger after kRO Normals. +// Checks if the player have any questskills, cart\falcon, level and such. +// Made by Nana. + +// -== Paladin ==- valkyrie.gat,53,39,4 script Paladin 752,{ - if (SkillPoint != 0) goto Lskpt; - if ((readparam(11) >= 99) && (readparam(19) == 14) && (readparam(55) >= 50)) goto Lnovice; - if ((readparam(11) >= 99) && (readparam(19) == 21) && (readparam(55) >= 50)) goto Lnovice; - if ((readparam(19) == 4001) && (readparam(55) >= 10)) goto Lh1; - if ((readparam(19) == 4001) && (readparam(55) < 10)) goto LCem; - if ((readparam(19) == 4002) && (readparam(55) >= 40)) goto Lh2; - if ((readparam(19) == 4002) && (readparam(55) < 40)) goto LCem; - if (readparam(19) == 4015) goto Lcrazy; - mes "[Paladin]"; - mes "Hello"; - mes "God will always be there to help."; - close; -Lnovice: - mes "[Paladin]"; - mes "Your holy aura is strong. Will you become a paladin?"; - mes "There is a catch though, you have to go back through novice and merchant."; - mes "You wanna do it?"; - menu "Yes",Lnovice2,"No",Lcancel; -Lnovice2: - mes "We shall start the ceremony...."; - next; - jobchange 24;// Job: Job_Novice_High + if(getskilllv(144) > 0) set @qsk,1; + if(getskilllv(145) > 0) set @qsk1,1; + if(getskilllv(146) > 0) set @qsk2,1; + 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) == 4002) && (readparam(55) >= 45)) goto L_HSWM; + if(readparam(19) < 7) goto L_Class; + if(readparam(19) == 4001) goto L_Class1; + if(readparam(19) == 4002) 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 "[Paladin]"; + mes "Hi there..."; + close; + +L_Change: + mes "[Paladin]"; + 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 Paladin,"; + mes "I wish you good fortune in the near future!"; + jobchange 24; resetlvl(1); close; -Lh1: + +L_Cart: mes "[Paladin]"; - mes "Ready to become a high swordsman?"; - menu "Yes",Lh12,"No",Lcancel; -Lh12: + mes "Please un-equip that cart before continuing."; + close; + +L_Class1: mes "[Paladin]"; - mes "By the holy resovoir in this blessed sword, I crown you."; - next; - jobchange 25;// Job: Job_Swordman_High + mes "You're not ready to become an High Swordsman yet."; + close; + +L_Class: + mes "[Paladin]"; + mes "You've come far to get here. unfortunately, you're not ready to become an Paladin yet."; + close; + +L_Levels: + mes "[Paladin]"; + mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Paladin"; close; -Lh2: + +L_HNov: mes "[Paladin]"; - mes "Your holy aura is extremely high. You are ready. Will you become a paladin?"; - menu "Yes",Lh22,"No",Lcancel; -Lh22: + mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok."; + mes "Must great fortune follow you!"; + jobchange 25; + next; + mes "[Paladin]"; + 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 144,1,0; + set @qsk,0; + if(@qsk1 > 0) goto qsk1; + if(@qsk2 > 0) goto qsk2; + goto L_HNov_2; +qsk1: + skill 145,1,0; + set @qsk1,0; + if(@qsk > 0) goto qsk; + if(@qsk2 > 0) goto qsk2; + goto L_HNov_2; +qsk2: + skill 146,1,0; + set @qsk2,0; + if(@qsk > 0) goto qsk; + if(@qsk1 > 0) goto qsk1; + goto L_HNov_2; + +L_HNov_2: mes "[Paladin]"; - mes "By the holy resovoir in this blessed sword, I crown you."; - jobchange 38;// Job: Job_Paladin + mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Swordsman"; close; -Lcrazy: +L_HSWM: mes "[Paladin]"; - mes "God has helped you very much."; + mes "Congratulations!"; + mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Paladin!"; + jobchange 38; close; -Lskpt: + +Skill_Points: mes "[Paladin]"; - mes "Use your skillpoints first"; + mes "Please use all of your skillpoints before proceeding."; close; -LCem: + +L_Advance: mes "[Paladin]"; - mes "You're not ready to go to the next level"; - close; -Lcancel: - mes "Bye"; + mes "Hey there! You are already an Reborn. You cannot reach any higher"; + mes "*whistles*"; close; -} +} \ No newline at end of file -- cgit v1.2.3-70-g09d2