[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,53,39,3 script Paladin#Valkyrie 752,{ |
---|
| 19 | if (ADVJOB == 0 || Upper != 1) { |
---|
| 20 | set .@karma_d,rand(1,10); |
---|
| 21 | if (.@karma_d > 4) { |
---|
| 22 | mes "[Paladin]"; |
---|
| 23 | mes "Congratulations."; |
---|
| 24 | mes "Honor to the warriors!"; |
---|
| 25 | close; |
---|
| 26 | } |
---|
| 27 | mes "[Paladin]"; |
---|
| 28 | mes "Do not forget"; |
---|
| 29 | mes "that the Holy War"; |
---|
| 30 | mes "is fast approaching!"; |
---|
| 31 | mes "We must ready ourselves!"; |
---|
| 32 | mes "May the light of justice"; |
---|
| 33 | mes "always brighten our path!"; |
---|
| 34 | close; |
---|
| 35 | } |
---|
| 36 | else if (ADVJOB == Job_Paladin && Class == Job_Swordman_High && JobLevel > 39) { |
---|
| 37 | mes "[Paladin]"; |
---|
| 38 | mes "The Holy War will"; |
---|
| 39 | mes "be upon us before we"; |
---|
| 40 | mes "know it. More than ever,"; |
---|
| 41 | mes "we have need of strong men"; |
---|
| 42 | mes "and women to fight for what"; |
---|
| 43 | mes "is good and right."; |
---|
| 44 | next; |
---|
| 45 | mes "[Paladin]"; |
---|
| 46 | mes "Will you fight on"; |
---|
| 47 | mes "the side of righteousness"; |
---|
| 48 | mes "as a Paladin?"; |
---|
| 49 | next; |
---|
| 50 | if (select("No.:Yes.") == 1) { |
---|
| 51 | mes "[Paladin]"; |
---|
| 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 "[Paladin]"; |
---|
| 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_Paladin; |
---|
| 64 | set ADVJOB,0; |
---|
| 65 | mes "[Paladin]"; |
---|
| 66 | mes "Congratulations."; |
---|
| 67 | mes "As a Paladin, I hope"; |
---|
| 68 | mes "you will protect those"; |
---|
| 69 | mes "weaker than you, and bring"; |
---|
| 70 | mes "us victory in the upcoming"; |
---|
| 71 | mes "war between good and evil."; |
---|
| 72 | close; |
---|
| 73 | } |
---|
| 74 | mes "[Paladin]"; |
---|
| 75 | mes "Welcome"; |
---|
| 76 | mes "to Valhalla,"; |
---|
| 77 | mes "the Hall of Honor."; |
---|
| 78 | next; |
---|
| 79 | mes "[Paladin]"; |
---|
| 80 | mes "Please make"; |
---|
| 81 | mes "yourself comfortable"; |
---|
| 82 | mes "while you are here."; |
---|
| 83 | mes "Honor to the warriors!"; |
---|
| 84 | close; |
---|
| 85 | } |
---|