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,50,3 script Biochemist#Valkyrie 122,{ |
---|
19 | if (ADVJOB == 0 || Upper != 1) { |
---|
20 | set .@karma_d,rand(1,10); |
---|
21 | if (.@karma_d > 4) { |
---|
22 | mes "[Biochemist]"; |
---|
23 | mes "Congratulations."; |
---|
24 | mes "Honor to the warriors!"; |
---|
25 | close; |
---|
26 | } |
---|
27 | mes "[Biochemist]"; |
---|
28 | mes "It's strange that"; |
---|
29 | mes "someone like me is here."; |
---|
30 | mes "But even someone skilled"; |
---|
31 | mes "in the ways of science"; |
---|
32 | mes "can manage to be a hero."; |
---|
33 | next; |
---|
34 | mes "[Biochemist]"; |
---|
35 | mes "In this instance,"; |
---|
36 | mes "it's not necessarily"; |
---|
37 | mes "the means I've used, but"; |
---|
38 | mes "the ends for which I've"; |
---|
39 | mes "fought that earned me"; |
---|
40 | mes "a place in Valhalla..."; |
---|
41 | close; |
---|
42 | } |
---|
43 | else if (ADVJOB == Job_Creator && Class == Job_Merchant_High && JobLevel > 39) { |
---|
44 | mes "[Biochemist]"; |
---|
45 | mes "Yes..."; |
---|
46 | mes "It's about time."; |
---|
47 | mes "We need more geniuses"; |
---|
48 | mes "like you on Rune-Midgard."; |
---|
49 | next; |
---|
50 | mes "[Biochemist]"; |
---|
51 | mes "Would you like to"; |
---|
52 | mes "become a Biochemist?"; |
---|
53 | next; |
---|
54 | if (select("No.:Yes.") == 1) { |
---|
55 | mes "[Biochemist]"; |
---|
56 | mes "When you're ready,"; |
---|
57 | mes "feel free to come back."; |
---|
58 | mes "Honor to the warriors!"; |
---|
59 | close; |
---|
60 | } |
---|
61 | if (SkillPoint) { |
---|
62 | mes "[Biochemist]"; |
---|
63 | mes "It is still possible for you to learn more skills. Please use"; |
---|
64 | mes "all of your remaining Skill Points before returning to me."; |
---|
65 | close; |
---|
66 | } |
---|
67 | jobchange Job_Creator; |
---|
68 | set ADVJOB,0; |
---|
69 | mes "[Biochemist]"; |
---|
70 | mes "Congratulations!"; |
---|
71 | mes "As a Biochemist,"; |
---|
72 | mes "I hope you use your"; |
---|
73 | mes "vast knowledge for the"; |
---|
74 | mes "right purposes."; |
---|
75 | close; |
---|
76 | } |
---|
77 | else { |
---|
78 | if (Class == Job_Creator && MISC_QUEST & 64 && getskilllv("AM_BIOETHICS") == 0) { |
---|
79 | mes "[Biochemist]"; |
---|
80 | mes "Ah, have you come to"; |
---|
81 | mes "retrieve the memories"; |
---|
82 | mes "lost to you? Yes, you"; |
---|
83 | mes "must be here for the"; |
---|
84 | mes "secrets of life that"; |
---|
85 | mes "were once yours..."; |
---|
86 | next; |
---|
87 | if (select("Yes:No") == 1) { |
---|
88 | mes "[Biochemist]"; |
---|
89 | mes "Close your eyes and"; |
---|
90 | mes "put your mind at rest."; |
---|
91 | mes "We will return to your"; |
---|
92 | mes "past to recollect the"; |
---|
93 | mes "fragments of your lost"; |
---|
94 | mes "memories."; |
---|
95 | next; |
---|
96 | mes "[Biochemist]"; |
---|
97 | mes "When you open your eyes,"; |
---|
98 | mes "you will clearly remember"; |
---|
99 | mes "the secret of life. You will"; |
---|
100 | mes "also remember the weight of"; |
---|
101 | mes "responsibility in using these"; |
---|
102 | mes "secrets for the right ends..."; |
---|
103 | next; |
---|
104 | skill 238,1,0; |
---|
105 | mes "[Biochemist]"; |
---|
106 | mes "Open your eyes..."; |
---|
107 | mes "Now that you have"; |
---|
108 | mes "remembered how to"; |
---|
109 | mes "create artificial life, I only"; |
---|
110 | mes "ask that you treat all of your"; |
---|
111 | mes "creations with respect."; |
---|
112 | close; |
---|
113 | } |
---|
114 | mes "[Biochemist]"; |
---|
115 | mes "If you wish to"; |
---|
116 | mes "retrieve your lost"; |
---|
117 | mes "memories, please"; |
---|
118 | mes "come back to me."; |
---|
119 | mes "The secret to creating"; |
---|
120 | mes "life is no trifling thing..."; |
---|
121 | close; |
---|
122 | } |
---|
123 | mes "[Biochemist]"; |
---|
124 | mes "Welcome"; |
---|
125 | mes "to Valhalla,"; |
---|
126 | mes "the Hall of Honor."; |
---|
127 | next; |
---|
128 | mes "[Biochemist]"; |
---|
129 | mes "Please make"; |
---|
130 | mes "yourself comfortable"; |
---|
131 | mes "while you are here."; |
---|
132 | mes "Honor to the warriors!"; |
---|
133 | close; |
---|
134 | } |
---|
135 | } |
---|
136 | |
---|