[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,42,5 script High Priest#Valkyrie 60,{ |
---|
| 19 | if (ADVJOB == 0 || Upper != 1) { |
---|
| 20 | set .@karma_d,rand(1,10); |
---|
| 21 | if (.@karma_d > 4) { |
---|
| 22 | mes "[High Priest]"; |
---|
| 23 | mes "Congratulations."; |
---|
| 24 | mes "Honor to the warriors!"; |
---|
| 25 | close; |
---|
| 26 | } |
---|
| 27 | mes "[High Priest]"; |
---|
| 28 | mes "Through the power"; |
---|
| 29 | mes "of holiness, may we"; |
---|
| 30 | mes "find peace, strength"; |
---|
| 31 | mes "and protection. Deliver"; |
---|
| 32 | mes "us from the forces of evil..."; |
---|
| 33 | close; |
---|
| 34 | } |
---|
| 35 | else if (ADVJOB == Job_High_Priest && Class == Job_Acolyte_High && JobLevel > 39) { |
---|
| 36 | mes "[High Priest]"; |
---|
| 37 | mes "Our world is in"; |
---|
| 38 | mes "need of people of"; |
---|
| 39 | mes "talent and conviction."; |
---|
| 40 | mes "Please continue your"; |
---|
| 41 | mes "good works as an even"; |
---|
| 42 | mes "greater hero of holiness..."; |
---|
| 43 | next; |
---|
| 44 | mes "[High Priest]"; |
---|
| 45 | mes "Would you like"; |
---|
| 46 | mes "to become a High Priest?"; |
---|
| 47 | next; |
---|
| 48 | if (select("No.:Yes.") == 1) { |
---|
| 49 | mes "[High Priest]"; |
---|
| 50 | mes "When you're ready,"; |
---|
| 51 | mes "feel free to come back."; |
---|
| 52 | mes "Honor to the warriors!"; |
---|
| 53 | close; |
---|
| 54 | } |
---|
| 55 | if (SkillPoint) { |
---|
| 56 | mes "[High Priest]"; |
---|
| 57 | mes "It is still possible for you to learn more skills. Please use"; |
---|
| 58 | mes "all of your remaining Skill Points before returning to me."; |
---|
| 59 | close; |
---|
| 60 | } |
---|
| 61 | jobchange Job_High_Priest; |
---|
| 62 | set ADVJOB,0; |
---|
| 63 | mes "[High Priest]"; |
---|
| 64 | mes "Congratulations."; |
---|
| 65 | mes "As a High Priest,"; |
---|
| 66 | mes "I hope you will guide"; |
---|
| 67 | mes "others upon the path"; |
---|
| 68 | mes "to holiness..."; |
---|
| 69 | close; |
---|
| 70 | } |
---|
| 71 | mes "[High Priest]"; |
---|
| 72 | mes "Welcome"; |
---|
| 73 | mes "to Valhalla,"; |
---|
| 74 | mes "the Hall of Honor."; |
---|
| 75 | next; |
---|
| 76 | mes "[High Priest]"; |
---|
| 77 | mes "Please make"; |
---|
| 78 | mes "yourself comfortable"; |
---|
| 79 | mes "while you are here."; |
---|
| 80 | mes "Honor to the warriors!"; |
---|
| 81 | close; |
---|
| 82 | } |
---|