[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Advance Class jobchanger after kRO Normals. |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= Nana |
---|
| 5 | //= finished, optimized and tested by Lupus |
---|
| 6 | //===== Current Version: ===================================== |
---|
| 7 | //= 1.3 |
---|
| 8 | //===== Compatible With: ===================================== |
---|
| 9 | //= eAthena 1.0 + |
---|
| 10 | //===== Description: ========================================= |
---|
| 11 | //= Advance Class jobchanger after kRO Normals. |
---|
| 12 | //===== Additional Comments: ================================= |
---|
| 13 | //= v1.1 Made all into functions, additional checks, etc. [Lupus] |
---|
| 14 | //= v1.2 Made numbers into constants. [Vicious] |
---|
| 15 | //= 1.3 Now saves/restores all the quest skills [Lupus] |
---|
| 16 | //============================================================ |
---|
| 17 | |
---|
| 18 | valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{ |
---|
| 19 | if (ADVJOB == 0 || Upper != 1) { |
---|
| 20 | set .@karma_d,rand(1,10); |
---|
| 21 | if (.@karma_d > 4) { |
---|
| 22 | mes "[Lord Knight]"; |
---|
| 23 | mes "Congratulations."; |
---|
| 24 | mes "Honor to the warriors!"; |
---|
| 25 | close; |
---|
| 26 | } |
---|
| 27 | mes "[Lord Knight]"; |
---|
| 28 | mes "We Knights have an"; |
---|
| 29 | mes "awesome responsibility..."; |
---|
| 30 | mes "To serve and protect."; |
---|
| 31 | next; |
---|
| 32 | mes "[Lord Knight]"; |
---|
| 33 | mes "Even at the cost"; |
---|
| 34 | mes "of our own lives,"; |
---|
| 35 | mes "we must safeguard the"; |
---|
| 36 | mes "well being of our comrades."; |
---|
| 37 | close; |
---|
| 38 | } |
---|
| 39 | else if (ADVJOB == Job_Lord_Knight && Class == Job_Swordman_High && JobLevel > 39) { |
---|
| 40 | mes "[Lord Knight]"; |
---|
| 41 | mes "Your time has come!"; |
---|
| 42 | mes "The world still needs you."; |
---|
| 43 | mes "Please continue your life"; |
---|
| 44 | mes "as a hero with a new appearance."; |
---|
| 45 | next; |
---|
| 46 | mes "[Lord Knight]"; |
---|
| 47 | mes "Would you like"; |
---|
| 48 | mes "to become a Lord Knight?"; |
---|
| 49 | next; |
---|
| 50 | if (select("No.:Yes.") == 1) { |
---|
| 51 | mes "[Lord Knight]"; |
---|
| 52 | mes "When you're ready,"; |
---|
| 53 | mes "feel free to come back."; |
---|
| 54 | mes "Honor to the warriors!"; |
---|
| 55 | close; |
---|
| 56 | } |
---|
| 57 | if (SkillPoint) { |
---|
| 58 | mes "[Lord Knight]"; |
---|
| 59 | mes "It is still possible for you to learn more skills. Please use"; |
---|
| 60 | mes "all of your remaining Skill Points before returning to me."; |
---|
| 61 | close; |
---|
| 62 | } |
---|
| 63 | jobchange Job_Lord_Knight; |
---|
| 64 | set ADVJOB,0; |
---|
| 65 | mes "[Lord Knight]"; |
---|
| 66 | mes "Congratulations!"; |
---|
| 67 | mes "As a Lord Knight,"; |
---|
| 68 | mes "I hope that you will be"; |
---|
| 69 | mes "at the forefront of battle,"; |
---|
| 70 | mes "and lead your allies to victory!"; |
---|
| 71 | close; |
---|
| 72 | } |
---|
| 73 | mes "[Lord Knight]"; |
---|
| 74 | mes "Welcome"; |
---|
| 75 | mes "to Valhalla,"; |
---|
| 76 | mes "the Hall of Honor."; |
---|
| 77 | next; |
---|
| 78 | mes "[Lord Knight]"; |
---|
| 79 | mes "Please make"; |
---|
| 80 | mes "yourself comfortable"; |
---|
| 81 | mes "while you are here."; |
---|
| 82 | mes "Honor to the warriors!"; |
---|
| 83 | close; |
---|
| 84 | } |
---|