diff options
Diffstat (limited to 'npc/jobs/2-2-1/Professor.txt')
-rw-r--r-- | npc/jobs/2-2-1/Professor.txt | 101 |
1 files changed, 16 insertions, 85 deletions
diff --git a/npc/jobs/2-2-1/Professor.txt b/npc/jobs/2-2-1/Professor.txt index e7d94d9ac..9582345a3 100644 --- a/npc/jobs/2-2-1/Professor.txt +++ b/npc/jobs/2-2-1/Professor.txt @@ -1,88 +1,19 @@ -// Advance Class jobchanger after kRO Normals. -// Checks if the player have any questskills, cart\falcon, level and such. -// Made by Nana. +//===== eAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.1 +//===== Compatible With: ===================================== +//= eAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//============================================================ // -== Professor ==- valkyrie.gat,53,47,4 script Professor 743,{ - if(getskilllv(157) > 0) set @qsk,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) == 4003) && (readparam(55) >= 45)) goto L_HMAG; - if(readparam(19) < 7) goto L_Class; - if(readparam(19) == 4001) goto L_Class1; - if(readparam(19) == 4003) 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 "[Professor]"; - mes "Hi there..."; - close; - -L_Change: - mes "[Professor]"; - 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 Professor,"; - mes "I wish you good fortune in the near future!"; - jobchange 24; - resetlvl(1); - close; - -L_Cart: - mes "[Professor]"; - mes "Please un-equip that cart before continuing."; - close; - -L_Class1: - mes "[Professor]"; - mes "You're not ready to become an High Mage yet."; - close; - -L_Class: - mes "[Professor]"; - mes "You've come far to get here. unfortunately, you're not ready to become an Professor yet."; - close; - -L_Levels: - mes "[Professor]"; - mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Professor"; - close; - -L_HNov: - mes "[Professor]"; - mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok."; - mes "Must great fortune follow you!"; - jobchange 26; - next; - mes "[Professor]"; - 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; - next; -qsk: - skill 157,1,0; - set @qsk,0; - goto L_HNov_2; - -L_HNov_2: - mes "[Professor]"; - mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Mage"; - close; -L_HMAG: - mes "[Professor]"; - mes "Congratulations!"; - mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Professor!"; - jobchange 40; - close; - -Skill_Points: - mes "[Professor]"; - mes "Please use all of your skillpoints before proceeding."; - close; - -L_Advance: - mes "[Professor]"; - mes "Hey there! You are already an Reborn. You cannot reach any higher"; - mes "*whistles*"; - close; -}
\ No newline at end of file + callfunc "F_Rebirth",26,"High Mage",40,"Professor",157,0,0,0; +} |