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,56,3 script Gypsy#Valkyrie 101,{ |
---|
19 | if (ADVJOB == 0 || Upper != 1) { |
---|
20 | set .@karma_d,rand(1,10); |
---|
21 | if (.@karma_d > 4) { |
---|
22 | mes "[Gypsy]"; |
---|
23 | mes "Congratulations."; |
---|
24 | mes "Honor to the warriors!"; |
---|
25 | close; |
---|
26 | } |
---|
27 | mes "[Gypsy]"; |
---|
28 | mes "Move left,"; |
---|
29 | mes "move right~!"; |
---|
30 | mes "And step...!"; |
---|
31 | mes "Dancing can be"; |
---|
32 | mes "more than a hobby."; |
---|
33 | mes "For me, it's a way of life~"; |
---|
34 | close; |
---|
35 | } |
---|
36 | else if (ADVJOB == Job_Gypsy && Class == Job_Archer_High && JobLevel > 39) { |
---|
37 | mes "[Gypsy]"; |
---|
38 | mes "The land of Rune-Midgard"; |
---|
39 | mes "is in need of talented women"; |
---|
40 | mes "to subtly change the balances"; |
---|
41 | mes "in the battle between good"; |
---|
42 | mes "and evil."; |
---|
43 | next; |
---|
44 | mes "[Gypsy]"; |
---|
45 | mes "Are you ready"; |
---|
46 | mes "to take up this role,"; |
---|
47 | mes "and become a Gypsy?"; |
---|
48 | next; |
---|
49 | if (select("No.:Yes.") == 1) { |
---|
50 | mes "[Gypsy]"; |
---|
51 | mes "When you're ready,"; |
---|
52 | mes "feel free to come back."; |
---|
53 | mes "Honor to the warriors!"; |
---|
54 | close; |
---|
55 | } |
---|
56 | if (SkillPoint) { |
---|
57 | mes "[Gypsy]"; |
---|
58 | mes "It is still possible for you to learn more skills. Please use"; |
---|
59 | mes "all of your remaining Skill Points before returning to me."; |
---|
60 | close; |
---|
61 | } |
---|
62 | jobchange Job_Gypsy; |
---|
63 | set ADVJOB,0; |
---|
64 | mes "[Gypsy]"; |
---|
65 | mes "Congratulations!"; |
---|
66 | mes "As a Gypsy, I know"; |
---|
67 | mes "that your performances"; |
---|
68 | mes "sway the hearts of all"; |
---|
69 | mes "those who will be watching..."; |
---|
70 | close; |
---|
71 | } |
---|
72 | mes "[Gypsy]"; |
---|
73 | mes "Welcome"; |
---|
74 | mes "to Valhalla,"; |
---|
75 | mes "the Hall of Honor."; |
---|
76 | next; |
---|
77 | mes "[Gypsy]"; |
---|
78 | mes "Please make"; |
---|
79 | mes "yourself comfortable"; |
---|
80 | mes "while you are here."; |
---|
81 | mes "Honor to the warriors!"; |
---|
82 | close; |
---|
83 | } |
---|