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,58,5 script Assassin Cross#Valkyrie 725,{ |
---|
19 | if (ADVJOB == 0 || Upper != 1) { |
---|
20 | set .@karma_d,rand(1,10); |
---|
21 | if (.@karma_d > 4) { |
---|
22 | mes "[Assassin Cross]"; |
---|
23 | mes "Congratulations..."; |
---|
24 | next; |
---|
25 | mes "[Assassin Cross]"; |
---|
26 | mes "..."; |
---|
27 | next; |
---|
28 | mes "[Assassin Cross]"; |
---|
29 | mes "..."; |
---|
30 | mes "......"; |
---|
31 | next; |
---|
32 | mes "[Assassin Cross]"; |
---|
33 | mes "..."; |
---|
34 | mes "......"; |
---|
35 | mes "Honor to"; |
---|
36 | mes "the warriors."; |
---|
37 | close; |
---|
38 | } |
---|
39 | mes "[Assassin Cross]"; |
---|
40 | mes "We are the warriors"; |
---|
41 | mes "of the desert. Nobody"; |
---|
42 | mes "looks down upon us."; |
---|
43 | mes "Nobody..."; |
---|
44 | close; |
---|
45 | } |
---|
46 | else if (ADVJOB == Job_Assassin_Cross && Class == Job_Thief_High && JobLevel > 39) { |
---|
47 | mes "[Assassin Cross]"; |
---|
48 | mes "The time has come."; |
---|
49 | mes "The world needs you..."; |
---|
50 | mes "More than ever."; |
---|
51 | next; |
---|
52 | mes "[Assassin Cross]"; |
---|
53 | mes "I ask that you continue to live in the shadows, but as an even greater Assassin with a new appearance."; |
---|
54 | next; |
---|
55 | mes "[Assassin Cross]"; |
---|
56 | mes "Will you become"; |
---|
57 | mes "an Assassin Cross?"; |
---|
58 | next; |
---|
59 | if (select("No.:Yes.") == 1) { |
---|
60 | mes "[Assassin Cross]"; |
---|
61 | mes "When you are"; |
---|
62 | mes "ready, come back."; |
---|
63 | next; |
---|
64 | mes "[Assassin Cross]"; |
---|
65 | mes "Honor to"; |
---|
66 | mes "the warriors."; |
---|
67 | close; |
---|
68 | } |
---|
69 | if (SkillPoint) { |
---|
70 | mes "[Assassin Cross]"; |
---|
71 | mes "You still haven't"; |
---|
72 | mes "learned everything"; |
---|
73 | mes "that you can."; |
---|
74 | next; |
---|
75 | mes "[Assassin Cross]"; |
---|
76 | mes "Use all your"; |
---|
77 | mes "Skill Points"; |
---|
78 | mes "and then come back."; |
---|
79 | close; |
---|
80 | } |
---|
81 | jobchange Job_Assassin_Cross; |
---|
82 | set ADVJOB,0; |
---|
83 | mes "[Assassin Cross]"; |
---|
84 | mes "Congratulations."; |
---|
85 | mes "As an Assassin Cross,"; |
---|
86 | mes "I hope that you fight for a brighter future within the darkness."; |
---|
87 | close; |
---|
88 | } |
---|
89 | mes "[Assassin Cross]"; |
---|
90 | mes "Welcome"; |
---|
91 | mes "to Valhalla,"; |
---|
92 | mes "the Hall of Honor."; |
---|
93 | next; |
---|
94 | mes "[Assassin Cross]"; |
---|
95 | mes "Please make"; |
---|
96 | mes "yourself comfortable"; |
---|
97 | mes "while you are here."; |
---|
98 | mes "Honor to the warriors."; |
---|
99 | close; |
---|
100 | } |
---|