[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,47,5 script High Wizard#Valkyrie 735,{ |
---|
| 19 | if (ADVJOB == 0 || Upper != 1) { |
---|
| 20 | set .@karma_d,rand(1,10); |
---|
| 21 | if (.@karma_d > 4) { |
---|
| 22 | mes "[High Wizard]"; |
---|
| 23 | mes "Congratulations."; |
---|
| 24 | mes "Honor to the warriors!"; |
---|
| 25 | close; |
---|
| 26 | } |
---|
| 27 | mes "[High Wizard]"; |
---|
| 28 | mes "We High Wizards have"; |
---|
| 29 | mes "the responsibility of"; |
---|
| 30 | mes "using our destructive magic"; |
---|
| 31 | mes "for the right purposes."; |
---|
| 32 | next; |
---|
| 33 | mes "[High Wizard]"; |
---|
| 34 | mes "A lifetime of training"; |
---|
| 35 | mes "is required before becoming"; |
---|
| 36 | mes "a High Wizard. Can you imagine"; |
---|
| 37 | mes "what would happen if our power"; |
---|
| 38 | mes "was placed in the wrong hands?!"; |
---|
| 39 | close; |
---|
| 40 | } |
---|
| 41 | else if (ADVJOB == Job_High_Wizard && Class == Job_Mage_High && JobLevel > 39) { |
---|
| 42 | mes "[High Wizard]"; |
---|
| 43 | mes "It is time."; |
---|
| 44 | mes "And Rune-Midgard has"; |
---|
| 45 | mes "need of those who can"; |
---|
| 46 | mes "wield the strongest of magic..."; |
---|
| 47 | next; |
---|
| 48 | mes "[High Wizard]"; |
---|
| 49 | mes "Would you like to"; |
---|
| 50 | mes "become a High Wizard?"; |
---|
| 51 | next; |
---|
| 52 | if (select("No.:Yes.") == 1) { |
---|
| 53 | mes "[High Wizard]"; |
---|
| 54 | mes "When you're ready,"; |
---|
| 55 | mes "feel free to come back."; |
---|
| 56 | mes "Honors to the warriors!"; |
---|
| 57 | close; |
---|
| 58 | } |
---|
| 59 | if (SkillPoint) { |
---|
| 60 | mes "[High Wizard]"; |
---|
| 61 | mes "It is still possible for you to learn more skills. Please use"; |
---|
| 62 | mes "all of your remaining Skill Points before returning to me."; |
---|
| 63 | close; |
---|
| 64 | } |
---|
| 65 | jobchange Job_high_Wizard; |
---|
| 66 | set ADVJOB,0; |
---|
| 67 | mes "[High Wizard]"; |
---|
| 68 | mes "Congratulations."; |
---|
| 69 | mes "As a High Wizard,"; |
---|
| 70 | mes "I hope use you use"; |
---|
| 71 | mes "your powers to bring"; |
---|
| 72 | mes "peace to the oppressed."; |
---|
| 73 | close; |
---|
| 74 | } |
---|
| 75 | mes "[High Wizard]"; |
---|
| 76 | mes "Welcome"; |
---|
| 77 | mes "to Valhalla,"; |
---|
| 78 | mes "the Hall of Honor."; |
---|
| 79 | next; |
---|
| 80 | mes "[High Wizard]"; |
---|
| 81 | mes "Please make"; |
---|
| 82 | mes "yourself comfortable"; |
---|
| 83 | mes "while you are here."; |
---|
| 84 | mes "Honor to the warriors!"; |
---|
| 85 | close; |
---|
| 86 | } |
---|