1 | //===== eAthena Script ======================================= |
---|
2 | //= Novice Skills Quests |
---|
3 | //===== By: ================================================== |
---|
4 | //= kobra_k88 |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.6 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena SVN |
---|
9 | //===== Description: ========================================= |
---|
10 | //= [Aegis Conversion] |
---|
11 | //= Quest for skills: First Aid, Trick Dead |
---|
12 | //===== Additional Comments: ================================= |
---|
13 | //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] |
---|
14 | //= 1.6 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] |
---|
15 | //============================================================ |
---|
16 | |
---|
17 | prt_in,234,133,4 script Nami#qsk_nv 66,{ |
---|
18 | if ((BaseClass == Job_Novice && JobLevel > 3) || (BaseLevel > 11 && NOV_SK < 3)) { |
---|
19 | mes "[Nami]"; |
---|
20 | mes "Hello!"; |
---|
21 | mes "I want to be a nurse so bad!"; |
---|
22 | mes "I always go and try to learn more."; |
---|
23 | mes "Actually, I'm really good."; |
---|
24 | mes "Do you want me to try on you? ? ? . ."; |
---|
25 | next; |
---|
26 | if (select("Continue conversation:Slowly slink away. . . .") == 1) { |
---|
27 | if (NOV_SK >= 0 && NOV_SK <= 2) { |
---|
28 | switch(NOV_SK) { |
---|
29 | case 0: |
---|
30 | mes "[Nami]"; |
---|
31 | mes "Thank you for giving me this chance!"; |
---|
32 | mes "I will do the best I can."; |
---|
33 | mes "When I am nursing people, I never"; |
---|
34 | mes "give half effort. -"; |
---|
35 | next; |
---|
36 | mes "[Nami]"; |
---|
37 | mes "Let me explain to you about"; |
---|
38 | mes "this skill I am using, ^3355FF' First Aid '^000000 "; |
---|
39 | mes "It doesn't take any special"; |
---|
40 | mes "equipment or items . ."; |
---|
41 | mes "Using only old cloth, left over potions,"; |
---|
42 | mes "and some other unsubstantial materials"; |
---|
43 | next; |
---|
44 | mes "[Nami]"; |
---|
45 | mes "you can perform first aid. -"; |
---|
46 | mes "It is a simple skill that you can use"; |
---|
47 | mes "to regain a small amount of HP."; |
---|
48 | mes "I wouldn't mind teaching you. . ."; |
---|
49 | mes "If you want to learn this skill,"; |
---|
50 | mes "it does not take much to learn. . ."; |
---|
51 | next; |
---|
52 | mes "[Nami]"; |
---|
53 | mes "First aid does require"; |
---|
54 | mes "some small preparations. . ."; |
---|
55 | mes "Some simple items you should have on hand are"; |
---|
56 | mes "^3355FF' 3 Red Herb '^000000 "; |
---|
57 | mes "^3355FF' 3 Clover '^000000 "; |
---|
58 | mes "^3355FF' 1 Sterilized Bandages '^000000 "; |
---|
59 | next; |
---|
60 | mes "[Nami]"; |
---|
61 | mes "You can find these items being"; |
---|
62 | mes "carried by monsters close by or"; |
---|
63 | mes "even buy them from a merchant."; |
---|
64 | mes "It shouldn't be difficult to prepare"; |
---|
65 | mes "these items for your first aid skill."; |
---|
66 | next; |
---|
67 | mes "[Nami]"; |
---|
68 | mes "The only item you must take"; |
---|
69 | mes "a special trip for is the bandage."; |
---|
70 | mes "On the eastern side second floor "; |
---|
71 | mes "of the prontera castle you can find"; |
---|
72 | mes "a nurse who will supply you with this"; |
---|
73 | mes "item readily. You should see her for this item"; |
---|
74 | next; |
---|
75 | mes "[Nami]"; |
---|
76 | mes "If you go and find these items, "; |
---|
77 | mes "I will be happy to teach you this skill."; |
---|
78 | mes "Well, I will be awaiting your return."; |
---|
79 | set NOV_SK,1; |
---|
80 | close; |
---|
81 | case 1: |
---|
82 | mes "[Nami]"; |
---|
83 | mes "First aid does require"; |
---|
84 | mes "some small preparations. . ."; |
---|
85 | mes "Some simple items you should have on hand are"; |
---|
86 | mes "^3355FF' 3 Red Herb '^000000 "; |
---|
87 | mes "^3355FF' 3 Clover '^000000 "; |
---|
88 | mes "^3355FF' 1 Sterilized Bandages '^000000 "; |
---|
89 | next; |
---|
90 | mes "[Nami]"; |
---|
91 | mes "You can find these items being"; |
---|
92 | mes "carried by monsters close by or"; |
---|
93 | mes "even buy them from a merchant."; |
---|
94 | mes "It shouldn't be difficult to prepare"; |
---|
95 | mes "these items for your first aid skill."; |
---|
96 | next; |
---|
97 | mes "[Nami]"; |
---|
98 | mes "The only item you must take"; |
---|
99 | mes "a special trip for is the bandage."; |
---|
100 | mes "Two maps east of here you can find"; |
---|
101 | mes "a nurse who will supply you with this"; |
---|
102 | mes "item readily. You should see her for"; |
---|
103 | mes "this item. . . "; |
---|
104 | close; |
---|
105 | case 2: |
---|
106 | if (countitem(507) > 2 && countitem(705) > 2) { |
---|
107 | delitem 507,3; //Red_Herb |
---|
108 | delitem 705,3; //Clover |
---|
109 | mes "[Nami]"; |
---|
110 | mes "Hello, welcome back!"; |
---|
111 | mes "You have done well at finding"; |
---|
112 | mes "the necessary items."; |
---|
113 | mes "I know that the Nurse is a little"; |
---|
114 | mes "strange, I am sure it was a little perplexing. . ."; |
---|
115 | mes "hee hee hee . . . . ."; |
---|
116 | next; |
---|
117 | mes "[Nami]"; |
---|
118 | mes "Well, let us begin our training."; |
---|
119 | mes "When using the first aid skill"; |
---|
120 | mes "you will use about 3 SP and convert"; |
---|
121 | mes "this energy into about 5 HP."; |
---|
122 | mes "This is done with your first aid skill"; |
---|
123 | mes "and supplies."; |
---|
124 | next; |
---|
125 | mes "[Nami]"; |
---|
126 | mes "You should take this and place it here. . ."; |
---|
127 | mes "Then you can stop the bleeding. . ."; |
---|
128 | mes "After that you should apply this. . ."; |
---|
129 | mes "There!!! Isn't it easy? ! ? !"; |
---|
130 | next; |
---|
131 | mes "[Nami]"; |
---|
132 | mes ". . Basically."; |
---|
133 | mes "You can take a little of left"; |
---|
134 | mes "herbs and common items"; |
---|
135 | mes "and combine them together and. . ."; |
---|
136 | mes "Presto !!"; |
---|
137 | next; |
---|
138 | skill 142,1,0; |
---|
139 | set NOV_SK,3; |
---|
140 | mes "[Nami]"; |
---|
141 | mes "Yes yes, that¡¯s right!"; |
---|
142 | mes "Now that you have this"; |
---|
143 | mes "skill, I hope that it helps you"; |
---|
144 | mes "in the future."; |
---|
145 | mes "Thank you and have a great day !~~~"; |
---|
146 | close; |
---|
147 | } |
---|
148 | else { |
---|
149 | mes "[Nami]"; |
---|
150 | mes "First aid does require"; |
---|
151 | mes "some small preparations. . ."; |
---|
152 | mes "Some simple items you should have on hand are"; |
---|
153 | mes "^3355FF' 3 Red_Herb '^000000 "; |
---|
154 | mes "^3355FF' 3 Clover '^000000 "; |
---|
155 | mes "^3355FF' 1 Sterilized Bandages '^000000 "; |
---|
156 | close; |
---|
157 | } |
---|
158 | } |
---|
159 | } |
---|
160 | else { |
---|
161 | mes "[Nami]"; |
---|
162 | mes ". . . . . Z z z"; |
---|
163 | mes "I am so sorry!!!...I know I did it wrong...!!"; |
---|
164 | mes "Wahhhh .."; |
---|
165 | mes "!! *sigh* !!"; |
---|
166 | mes "- *rolls her eyes* -"; |
---|
167 | close; |
---|
168 | } |
---|
169 | } |
---|
170 | else { |
---|
171 | mes "[Nami]"; |
---|
172 | mes "Hey! .. Where are you going? !"; |
---|
173 | mes "Come over here and have a shot !"; |
---|
174 | mes "Prick and its over !!"; |
---|
175 | mes "Grab that patient! ! !"; |
---|
176 | close; |
---|
177 | } |
---|
178 | } |
---|
179 | else { |
---|
180 | mes "[Nami]"; |
---|
181 | mes "I am working hard to receive"; |
---|
182 | mes "my nursing license . . ."; |
---|
183 | mes "I don't think that I lack anything"; |
---|
184 | mes "to become a nurse . ."; |
---|
185 | mes "It must be because of my lack of my experience ?"; |
---|
186 | next; |
---|
187 | mes "[Nami]"; |
---|
188 | mes "If only you had at least"; |
---|
189 | mes "a first job . ."; |
---|
190 | mes "or maybe be over ^3355FF novice job level 4^000000"; |
---|
191 | mes "I could have talked to"; |
---|
192 | mes "you a little longer. . . . . . ."; |
---|
193 | close; |
---|
194 | } |
---|
195 | } |
---|
196 | |
---|
197 | prt_in,73,87,4 script Chivalry Member#qsk_nv 65,{ |
---|
198 | if ((BaseJob == Job_Novice && Upper != 1 && JobLevel > 6) && NOV_SK >= 3 && NOV_SK <= 5) { |
---|
199 | mes "[Bulma]"; |
---|
200 | mes "Yeah. . . I look great. . ."; |
---|
201 | mes "I am a knight in the knight's"; |
---|
202 | mes "guild of Prontera! Kuhahhahhahah !!"; |
---|
203 | mes "It hasn't been long since I became a"; |
---|
204 | mes " knight, but I still look great huh?"; |
---|
205 | mes "What do you think? ? ?"; |
---|
206 | next; |
---|
207 | switch(NOV_SK) { |
---|
208 | case 3: |
---|
209 | mes "[Bulma]"; |
---|
210 | mes "Hello my young friend -"; |
---|
211 | mes "You remind me of myself as young"; |
---|
212 | mes "sword man. . . "; |
---|
213 | mes "Kekekkek, Oh I miss those days . ."; |
---|
214 | mes "Look at me acting like an old man."; |
---|
215 | mes "Heh heh Sorry..."; |
---|
216 | next; |
---|
217 | mes "[Bulma]"; |
---|
218 | mes "I'm still young!!! Aren't I???"; |
---|
219 | mes "If you just work hard and be patient,"; |
---|
220 | mes "you will soon receive the job you desire as well."; |
---|
221 | mes "It takes patience, but this is"; |
---|
222 | mes "good life kekkeke"; |
---|
223 | mes "Hmm, I would like to help you out . ."; |
---|
224 | next; |
---|
225 | mes "[Bulma]"; |
---|
226 | mes ". . . . . I'm not sure why you are looking"; |
---|
227 | mes "at me like that. I assure you that this"; |
---|
228 | mes "might seem a little weird at first, but"; |
---|
229 | mes "what I tell you will most likely be a great aid to you.."; |
---|
230 | next; |
---|
231 | mes "[Bulma]"; |
---|
232 | mes "Ha ha... It looks like you are getting"; |
---|
233 | mes "a bit interested in what I have to say."; |
---|
234 | mes "I can teach you a very useful skill!"; |
---|
235 | mes "This skill is acting like you are dead! '"; |
---|
236 | mes "No No, it is more than acting, you "; |
---|
237 | mes "actually look dead!!! .."; |
---|
238 | next; |
---|
239 | mes "[Bulma]"; |
---|
240 | mes "The name of the skill is ^3355FF' Play Dead '^000000"; |
---|
241 | mes "It is a skill I used as a novice."; |
---|
242 | mes "But don't think little of it because"; |
---|
243 | mes "it is a novice skill. In fact, it takes"; |
---|
244 | mes "extreme concentration and skill"; |
---|
245 | mes "to even make this skill pass as believable."; |
---|
246 | next; |
---|
247 | mes "[Bulma]"; |
---|
248 | mes "For example,"; |
---|
249 | mes "What if you are attacked by a strong"; |
---|
250 | mes "monster and can't survive."; |
---|
251 | mes "You must play dead!"; |
---|
252 | mes "But if the monster was to tickle you,"; |
---|
253 | mes "could you control yourself?"; |
---|
254 | next; |
---|
255 | mes "[Bulma]"; |
---|
256 | mes "The skill will help you deal with"; |
---|
257 | mes "many situations such as this."; |
---|
258 | mes "It is truly a skill for the strong minded."; |
---|
259 | mes "The goal of the skill is to look"; |
---|
260 | mes "perfectly dead. . ."; |
---|
261 | next; |
---|
262 | mes "[Bulma]"; |
---|
263 | mes "I think that¡¯s enough explanation."; |
---|
264 | mes "I can tell by the look in your eyes"; |
---|
265 | mes "that you are ready for your training."; |
---|
266 | mes "Lets not delay!"; |
---|
267 | mes "Ok, take this pill first. . ."; |
---|
268 | mes "Let¡¯s see how this goes. . ."; |
---|
269 | next; |
---|
270 | mes "[Bulma]"; |
---|
271 | mes "Within in 10 minutes, you must"; |
---|
272 | mes "go to the 2nd floor of the Prontera Castle's"; |
---|
273 | mes "East wing. ^3355FF' Newbie Tag '^000000 is"; |
---|
274 | mes "the item you are seeking. ! . ."; |
---|
275 | next; |
---|
276 | mes "^3355FF- *Gulp* (You have swallowed the pill) -^000000"; |
---|
277 | next; |
---|
278 | mes "[Bulma]"; |
---|
279 | mes "The pill that you have just taken"; |
---|
280 | mes "will make it difficult for you to breathe. . ."; |
---|
281 | mes "Kekekk . .AH HA - Just joking !"; |
---|
282 | mes "It is actually a pill to gives you"; |
---|
283 | mes "a mental calm so you can be patient."; |
---|
284 | mes "I think that nothing is better"; |
---|
285 | next; |
---|
286 | mes "[Bulma]"; |
---|
287 | mes "training than running."; |
---|
288 | mes "Okay? GO! ! ! ! ~~~~~"; |
---|
289 | mes "If you are late, you have to do it again! !"; |
---|
290 | mes "Now GO ! GO ! GO !"; |
---|
291 | mes "Run ~~~~~!!!!"; |
---|
292 | set NOV_SK,4; |
---|
293 | close; |
---|
294 | case 4: |
---|
295 | mes "[Bulma]"; |
---|
296 | mes "HEY! what are you doing here ? !"; |
---|
297 | mes "You must be very irresponsible to be"; |
---|
298 | mes "here when your time is running out."; |
---|
299 | mes "Run Run Run! - - - - -"; |
---|
300 | next; |
---|
301 | mes "[Bulma]"; |
---|
302 | mes "On the 2nd floor of the east wing!"; |
---|
303 | mes "It's in the Prontera castle!"; |
---|
304 | mes "Okayyyyy~~~!! *waves goodbye*"; |
---|
305 | close; |
---|
306 | case 5: |
---|
307 | if (countitem(7039) > 0) { |
---|
308 | mes "[Bulma]"; |
---|
309 | mes "Hey... I see that you have -"; |
---|
310 | mes "finished your quest! ! ! . ."; |
---|
311 | mes "If you can endure all this,"; |
---|
312 | mes "it shouldn't be a problem to use"; |
---|
313 | mes "this skill. You are a natural!"; |
---|
314 | next; |
---|
315 | mes "[Bulma]"; |
---|
316 | mes "Now, if you ever feel threatened,"; |
---|
317 | mes "use this skill as you see fit."; |
---|
318 | mes " ' Play Dead ' "; |
---|
319 | mes "Okay okay, See you around ! ! !"; |
---|
320 | set NOV_SK,6; |
---|
321 | delitem 7039,1; //Novice_Nametag |
---|
322 | skill 143,1,0; |
---|
323 | close; |
---|
324 | } |
---|
325 | else { |
---|
326 | mes "[Bulma]"; |
---|
327 | mes "What? -"; |
---|
328 | mes "Why haven't you finished your quest?"; |
---|
329 | mes " *Tsk* *Tsk* You must have lost the pass . . ."; |
---|
330 | mes "Such irresponsibility is not acceptable."; |
---|
331 | mes "I can't accept you into training until"; |
---|
332 | mes "I know you are capable. Go and try again."; |
---|
333 | next; |
---|
334 | mes "[Bulma]"; |
---|
335 | mes "Don't take me lightly. . ."; |
---|
336 | mes "If I tell you to come in 10 minutes,"; |
---|
337 | mes "I expect that of you."; |
---|
338 | mes "In order for you to have another chance,"; |
---|
339 | mes "you must start from the beginning. . ."; |
---|
340 | mes "Do it right this time ! ! ! !"; |
---|
341 | set NOV_SK,4; |
---|
342 | close; |
---|
343 | } |
---|
344 | } |
---|
345 | } |
---|
346 | else { |
---|
347 | mes "[Bulma]"; |
---|
348 | mes "Yeah... I remember back to long ago !"; |
---|
349 | mes "Especially those embarrassing Novice years."; |
---|
350 | mes "Wow... It is funny to think about those years now."; |
---|
351 | mes "Those years were difficult. . ."; |
---|
352 | mes "Thankfully you can use the First Aid"; |
---|
353 | mes "skill when you reach novice job level 7."; |
---|
354 | next; |
---|
355 | mes "[Bulma]"; |
---|
356 | mes "That saved me many times in the past. . ."; |
---|
357 | mes "I am sure it will help you much as well."; |
---|
358 | mes "Hopefully, it will be something you use well . ."; |
---|
359 | next; |
---|
360 | mes "[Bulma]"; |
---|
361 | mes "If you have any friends who are novices,"; |
---|
362 | mes "tell them about me."; |
---|
363 | mes "If I can, I will help them out"; |
---|
364 | mes "as best as I can . . . ."; |
---|
365 | close; |
---|
366 | } |
---|
367 | } |
---|
368 | |
---|
369 | prt_castle,175,146,4 script Nursing Instructor#qsk_n 50,{ |
---|
370 | mes "[Dread Lord]"; |
---|
371 | mes ". . . . . . . . . ."; |
---|
372 | mes ". . . . . . . . . ."; |
---|
373 | mes "Stop pestering me! ! !"; |
---|
374 | mes "I am very busy ! ! !"; |
---|
375 | mes "Would you just bug off ? ! ? !"; |
---|
376 | next; |
---|
377 | if (NOV_SK >= 0 || NOV_SK <= 5) { |
---|
378 | switch(NOV_SK) { |
---|
379 | case 0: |
---|
380 | mes "[Dread Lord]"; |
---|
381 | mes "The people who work here at"; |
---|
382 | mes "Prontera clinic are battling life"; |
---|
383 | mes "and death everyday."; |
---|
384 | mes "It takes a lot of patience and "; |
---|
385 | mes "puts a lot of tension on us."; |
---|
386 | mes "Sorry if we seem a bit uptight. . ."; |
---|
387 | next; |
---|
388 | mes "[Dread Lord]"; |
---|
389 | mes "I am the Nursing director."; |
---|
390 | mes "There are many things I must do."; |
---|
391 | mes "If your business is complete, please leave."; |
---|
392 | close; |
---|
393 | case 1: |
---|
394 | mes "[Dread Lord]"; |
---|
395 | mes "Ohhh . ."; |
---|
396 | mes "You have come here for bandages ?"; |
---|
397 | mes "Do you even know how we get these"; |
---|
398 | mes "precious bandages ?"; |
---|
399 | mes "They come from a powerful monster"; |
---|
400 | mes "that is found in the pyramids of Moroc."; |
---|
401 | next; |
---|
402 | mes "[Dread Lord]"; |
---|
403 | mes "The monster is some sort of mummy."; |
---|
404 | mes "We take the rotten bandages from it's"; |
---|
405 | mes "diseased body and sanitize them. . ."; |
---|
406 | mes "Do you believe me ? . ."; |
---|
407 | mes "Heh heh... There is even poison"; |
---|
408 | mes "in the bandages."; |
---|
409 | next; |
---|
410 | mes "[Dread Lord]"; |
---|
411 | mes "Fortunately, the poison kills other poisons"; |
---|
412 | mes "and does not hurt the patient . ."; |
---|
413 | mes "You must destroy poison with poison. . ."; |
---|
414 | mes "I think I heard something similar that. . ."; |
---|
415 | mes ". . . . . Anyway, I would usually give you a"; |
---|
416 | mes "hard time for taking these bandages lightly,"; |
---|
417 | next; |
---|
418 | mes "[Dread Lord]"; |
---|
419 | mes "but I am much too tired today to"; |
---|
420 | mes "give you any trouble. . ."; |
---|
421 | mes "If you ever get skilled in medicine and first aid,"; |
---|
422 | mes "please consider joining our clinic."; |
---|
423 | mes "Now don't take these bandages and then"; |
---|
424 | mes "go and get killed, be careful. -"; |
---|
425 | next; |
---|
426 | mes "^3355FF- Got 1 Sterilized Bandages -^000000"; |
---|
427 | set NOV_SK,2; |
---|
428 | close; |
---|
429 | case 2: |
---|
430 | mes "[Dread Lord]"; |
---|
431 | mes "Look, if your business is done"; |
---|
432 | mes "get out of my site! ! !"; |
---|
433 | mes "I have no time for this nonsense .."; |
---|
434 | mes ". . . . ."; |
---|
435 | mes "- Click Click *Walks away* . . . . . -"; |
---|
436 | close; |
---|
437 | case 4: |
---|
438 | if (countitem(7039) == 0) { |
---|
439 | mes "[Dread Lord]"; |
---|
440 | mes "Look at this guy!"; |
---|
441 | mes "Wake up and watch where you are going."; |
---|
442 | mes "What are you thinking running around our clinic!"; |
---|
443 | mes "Running ?!?!"; |
---|
444 | mes "*Sigh* . . "; |
---|
445 | mes "What do you want? ! ? !"; |
---|
446 | next; |
---|
447 | mes "[Dread Lord]"; |
---|
448 | mes "I see. . . ."; |
---|
449 | mes ". . . . . what ?"; |
---|
450 | mes "You want to have a bandage to learn first aid?"; |
---|
451 | mes " *Arhg* Here take it !"; |
---|
452 | mes "-woosh - *storms away*"; |
---|
453 | next; |
---|
454 | mes "^3355FF- Got 1 Newbie Tag -^000000"; |
---|
455 | set NOV_SK,5; |
---|
456 | getitem 7039,1; //Novice_Nametag |
---|
457 | close; |
---|
458 | } |
---|
459 | else { |
---|
460 | mes "[Dread Lord]"; |
---|
461 | mes "What ! !"; |
---|
462 | mes "I'm only going to give you one!"; |
---|
463 | mes "You don't need any more for the test !"; |
---|
464 | mes "Do you want to stay a novice forever???"; |
---|
465 | mes "I would be happy to arrange that !"; |
---|
466 | close; |
---|
467 | } |
---|
468 | break; |
---|
469 | case 5: |
---|
470 | mes "[Dread Lord]"; |
---|
471 | mes "What more do you want !"; |
---|
472 | mes "Get out of here !"; |
---|
473 | mes "OUT !"; |
---|
474 | close; |
---|
475 | } |
---|
476 | } |
---|
477 | else { |
---|
478 | mes "[Dread Lord]"; |
---|
479 | mes "Argh, Get out of here !!"; |
---|
480 | mes "I don't like shouting but .."; |
---|
481 | mes "GET OUT OF HERE! ! ! ! ! !"; |
---|
482 | close; |
---|
483 | } |
---|
484 | } |
---|
485 | |
---|
486 | //============================================================ |
---|
487 | // Old changelog |
---|
488 | //============================================================ |
---|
489 | //= Fully working |
---|
490 | //= 1.2 Added Baby Class Support [Lupus] |
---|
491 | //= 1.3 Fixed a Zeny exploit, made more variables clear |
---|
492 | //= on finishing quests. [Lupus] |
---|
493 | //= 1.4 Fixed exploits [Lupus] |
---|
494 | //= 1.4a Fixed some typos [IVBela] |
---|
495 | //============================================================ |
---|