root/npc/quests/skills/swordman_skills.txt @ 1

Revision 1, 16.2 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Swordsman 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//= Quests for skills: Fatal Blow, Mobile HP Recovery,
12//  Auto-Berserk
13//===== Additional Comments: =================================
14//= 1.6 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
15//============================================================
16
17izlude_in,175,130,2     script  Knight De Thomas#qsk_sm 98,{
18        if (BaseClass == Job_Swordman) {
19                if (SWORD_SK < 1 && getskilllv("SM_MOVINGRECOVERY") == 0) {
20                        mes "[De Thomas]";
21                        mes "Oh, no! You must have been hurt! Are you ok?";
22                        mes "You must have fought hard to get such serious injuries..";
23                        mes "Being a swordsman must come with a lot of responsibility and sacrifice.";
24                        next;
25                        mes "[De Thomas]";
26                        if (Sex == 0)
27                                mes "For these swordsmen and knights, there is a wonderful skill.";
28                        else
29                                mes "For these swordswomen and knights, there is a wonderful skill young lady.";
30                        mes "I present to you - HP Recovery While Moving!";
31                        mes "Body moving is a splendid skill";
32                        mes "that allows you to regain strength(HP)";
33                        mes "while you are moving!";
34                        next;
35                        mes "[De Thomas]";
36                        mes "It is currently under development";
37                        mes "so it may not recover that much,";
38                        mes "but it will help a little.";
39                        mes "What do you think? Would you like to learn this skill?";
40                        next;
41                        if (select("What a nice skill! I want to learn it!:No, thank you.") == 1) {
42                                mes "[De Thomas]";
43                                mes "Very well. I will tell you what you need to learn this skill.";
44                                mes "First, your job level must be higher than ^00880035^000000.";
45                                mes "You will also need ^008800200 empty bottles^000000.";
46                                mes "Why? Because it is proof that you fought fiercely to have used that many potions.";
47                                next;
48                                mes "[De Thomas]";
49                                mes "Also, the armor you used in battle.";
50                                mes "This is also proof of an experienced fighter.";
51                                mes "For the armor... your armor is perfect!";
52                                mes "Bring your armor!";
53                                mes "Last but not least... bring me one ^008800Moth Wing^000000.";
54                                next;
55                                select("Eh? You need that, too?");
56                                mes "[De Thomas]";
57                                mes "Not really.. I don't really NEED it.";
58                                mes "It's just that my niece has gotten a bug hunting as a holiday task during the summer vacation.";
59                                mes "Of course! It would be much easier for me to get it myself.";
60                                mes "but I must work here all the time so I don't exactly have the time to go out and get it.";
61                                next;
62                                mes "[De Thomas]";
63                                mes "Don't you think it is pitiful that I have to stay in once place everyday, not being able to go outside?";
64                                mes "Please, find me one...*sniffsniff*";
65                                mes "If you don't...";
66                                set SWORD_SK,1;
67                                mes "You won't get anything! Muahahaha.";
68                                close;
69                        }
70                        mes "[De Thomas]";
71                        mes "...";
72                        close;
73                }
74                else if (SWORD_SK == 1 && getskilllv("SM_MOVINGRECOVERY") == 0) {
75                        mes "[De Thomas]";
76                        mes "Welcome back...";
77                        mes "are you ready to learn Body Movin'?";
78                        next;
79                        switch(select("Yes.:No, I'm not ready yet.")) {
80                        case 1:
81                                if (JobLevel > 34 && countitem(713) > 199 && countitem(1058) > 0) {
82                                        mes "[De Thomas]";
83                                        mes "Let's see.....";
84                                        next;
85                                        mes "[De Thomas]";
86                                        mes "Ok! I shall now teach you...";
87                                        mes "..The Body Movin' skill!";
88                                        next;
89                                        delitem 713,200; //Empty_Bottle
90                                        delitem 1058,1; //Wing_Of_Moth
91                                        skill "SM_MOVINGRECOVERY",1,0;
92                                        set SWORD_SK,0;
93                                        mes "[De Thomas]";
94                                        mes "There you go!";
95                                        mes "Try it yourself.";
96                                        mes "But don't overdo it.";
97                                        next;
98                                        mes "[De Thomas]";
99                                        mes "Oh yeah, I won't be needing your";
100                                        mes "armor so you can keep it.";
101                                        mes "..Good luck now!";
102                                        close;
103                                }
104                                else if (JobLevel < 35) {
105                                        mes "[De Thomas]";
106                                        mes "Wait a second your Job level isn't above ^00880035^000000!";
107                                        mes "Come back when it is.";
108                                        close;
109                                }
110                                else if (countitem(713) < 200 || countitem(1058) < 1) {
111                                        mes "[De Thomas]";
112                                        mes "You do not have all the items I asked for.";
113                                        next;
114                                        mes "[De Thomas]";
115                                        mes "Remember I need, ^008800200 empty bottles^000000, your armor, and a ^008800Moth Wing^000000. Come back when you have it all.";
116                                        close;
117                                }
118                                else {
119                                        mes "[De Thomas]";
120                                        mes "You do not have all the items I asked for.";
121                                        next;
122                                        mes "[De Thomas]";
123                                        mes "Remember I need, ^008800200 empty bottles^000000, your armor, and a ^008800Moth Wing^000000. Come back when you have it all.";
124                                        close;
125                                }
126                        case 2:
127                                mes "[De Thomas]";
128                                mes "Is that so?";
129                                mes "Then come when you are prepared.";
130                                close;
131                        }
132                }
133                else {
134                        mes "[De Thomas]";
135                        mes "Oh, it's you?";
136                        mes "Long time no see!";
137                        mes "You seem healthier than before.";
138                        mes "Hahahaha!";
139                        mes "Take care! See you again!";
140                        close;
141                }
142        }
143        else {
144                mes "[De Thomas]";
145                mes "My name is De Thomas Carlos.";
146                mes "Knight of Prontera's 3rd Calvary.";
147                mes "I have a certain duty these days.";
148                mes "Ehem! Need I say more.";
149                close;
150        }
151}
152
153prt_in,75,88,5  script  Leon Von Frich#qsk_sm   85,3,3,{
154        if ((BaseJob == Job_Swordman && JobLevel >= 25) || BaseJob == Job_Knight || BaseJob == Job_Crusader) {
155                if (getskilllv("SM_FATALBLOW") == 1) {
156                        mes "[Leon]";
157                        mes "Eh?";
158                        mes "I was wondering who that was!";
159                        mes "Why it's you from before!";
160                        mes "Nice to see you again! How are you?";
161                        mes "Be careful! Hahaha!";
162                        close;
163                }
164                else if (countitem(1752) > 9 && countitem(1751) > 9 && countitem(532) > 0 && countitem(962) > 29 && countitem(526) > 4) {
165                        mes "[Leon]";
166                        mes "Ooh! You are more than ready";
167                        mes "to learn Fatal Blow!";
168                        mes "So how about it? Would you like to learn?";
169                        next;
170                        switch(select("Yes!:No, I don't want to.:But, what is Fatal Blow?")) {
171                        case 1:
172                                mes "[Leon]";
173                                mes "OK, lets begin!";
174                                next;
175                                delitem 1752,10; //Fire_Arrow
176                                delitem 1751,10; //Silver_Arrow
177                                delitem 532,1; //Banana_Juice
178                                delitem 962,30; //Tentacle
179                                delitem 526,5; //Royal_Jelly
180                                skill "SM_FATALBLOW",1,0;
181                                mes "[Leon]";
182                                mes "Success!";
183                                mes "Go use your new skill to its full potential.";
184                                mes "Hahahahahahahaha!";
185                                close;
186                        case 2:
187                                mes "[Leon]";
188                                mes "I don't like you!!!";
189                                close;
190                        case 3:
191                                mes "[Leon]";
192                                mes "I developed this skill recently.";
193                                mes "When you use bash, depending ";
194                                mes "on your level, you can stun ";
195                                mes "your opponent. .";
196                                mes "You have learned bash, haven't you?";
197                                next;
198                                mes "[Leon]";
199                                mes "What do you think. Stun is";
200                                mes "a very useful technique. Don't you find this skill attractive?";
201                                mes "When you think you do, just come right back to me!";
202                                close;
203                        }
204                }
205                else {
206                        mes "[Leon]";
207                        mes "Ooh! A young and strong swordsman!";
208                        next;
209                        mes "[Leon]";
210                        mes "Wow, seeing your arm, you must enjoy using bash?";
211                        next;
212                        select("Eh, I.. just...");
213                        mes "[Leon]";
214                        if (Sex == 0) {
215                                mes "No need to be surprised.";
216                                mes "If you use a sword, of course you ought to have a good arm!";
217                        }
218                        else {
219                                mes "Nothing to be embarrassed about.";
220                                mes "Even if you are a female you need a strong arm to use a sword!";
221                        }
222                        mes "In times of only useless and lazy youngsters,";
223                        mes "I'm glad I met someone strong like you.";
224                        next;
225                        mes "[Leon]";
226                        mes "Yes, I would like to give a present to an awesome swordsman like you.";
227                        next;
228                        switch(select("What present?:It's ok.")) {
229                        case 1:
230                                mes "[Leon]";
231                                mes "Haha nothing special, but a skill to attack the vital point!";
232                                next;
233                                break;
234                        case 2:
235                                mes "[Leon]";
236                                mes "...Haha nothing special, just a skill that aims at the vital spot!";
237                                next;
238                                break;
239                        }
240                        mes "[Leon]";
241                        mes "It's a skill I developed recently.";
242                        mes "When you use bash, depending on";
243                        mes "your level, your opponent can";
244                        mes "become stunned.";
245                        mes "You have learned bash, haven¡¯t you?";
246                        next;
247                        mes "[Leon]";
248                        mes "When I was a swordsman like you,";
249                        mes "I used to enjoy using Bash. Every time, I thought";
250                        mes "- maybe the attack would be more powerful";
251                        mes "if I use stun at the same time.";
252                        next;
253                        mes "[Leon]";
254                        mes "I drew back from the battlefield to do research";
255                        mes "and finally, I developed this wonderful new skill!";
256                        mes "Would you like to learn this skill?";
257                        next;
258                        switch(select("Yes.:No.:Do you have any advice on how to eat sushi?")) {
259                        case 1:
260                                mes "[Leon]";
261                                mes "Ok. I'll tell you the requirements.";
262                                mes "First you need to have level 5 Bash.";
263                                mes "You will also need to prepare 10 Fire Arrows, 10 Silver Arrows, 1 bottle of Banana Juice, 30 Tentacles, and 5 bottles of Royal Jelly.";
264                                mes "They are.. somewhat like ingredients.";
265                                next;
266                                mes "[Leon]";
267                                mes "come to me again once you have all the materials.";
268                                mes "We shall talk then.";
269                                close;
270                        case 2:
271                                mes "[Leon]";
272                                mes "Hahahahahahahahahaha!";
273                                mes "... ";
274                                mes " ... ";
275                                mes " ...";
276                                mes "I'm at a loss of words!?";
277                                close;
278                        case 3:
279                                mes "[Sushi King Leon]";
280                                mes "The best way to eat sushi is";
281                                mes "with your hands.";
282                                mes "That is the basic.";
283                                mes "And dip the fish, not the rice,";
284                                mes "in the soy sauce.";
285                                next;
286                                mes "[Sushi King Leon]";
287                                mes "That way you get a richer flavor.";
288                                mes "Also, always eat the kind that is in season.";
289                                mes "Eating in the order of white fish then";
290                                mes "blue fish will make it taste better!";
291                                mes "Mmm! I like sushi~~!";
292                                close;
293                        }
294                }
295                close;
296        }
297        else {
298                mes "[Leon]";
299                mes "Oh, no! I have nothing to offer you!";
300                mes "I can't say nice and fun things to anyone";
301                mes "other than swordsmen!";
302                mes "See you in a better world!";
303                close;
304        }
305
306OnTouch:
307        mes "[Leon]";
308        mes "Hahahahahahaha!";
309        mes "Hahahahahahaha!";
310        close;
311}
312
313prt_in,94,57,3  script  Juan#qsk_sm     85,{
314        if (BaseClass == Job_Swordman) {
315                if (getskilllv("SM_AUTOBERSERK") == 1) {
316                        mes "[Juan]";
317                        mes "Mmm? Long time no see!";
318                        mes "How are you?";
319                        mes "You got stronger than before.";
320                        mes "Many expect great things from you.";
321                        mes "You can do it.";
322                        close;
323                }
324                else if (BaseJob == Job_Swordman && JobLevel < 10) {
325                        mes "[?]";
326                        mes "What are you?";
327                        mes "Eh, still a beginner.";
328                        mes "I'm busy, so go train a little more";
329                        mes "before coming back.";
330                        close;
331                }
332                else if (BaseJob == Job_Swordman && JobLevel > 10 && JobLevel < 30) {
333                        mes "[Juan]";
334                        mes "Oh, nice to meet you.";
335                        mes "You can be on your way. (smiley~)";
336                        close;
337                }
338                else if (countitem(924) > 34 && countitem(958) > 9 && countitem(957) > 9 && countitem(518) > 9) {
339                        if ((BaseJob == Job_Swordman && JobLevel >= 30) || BaseJob == Job_Knight || BaseJob == Job_Crusader) {
340                                mes "[Juan]";
341                                mes "Ooh. Young swordsman!";
342                                mes "You are ready to learn the";
343                                mes "newest skill, Auto Berserk?!";
344                                next;
345                                switch(select("Hoho, I would like to learn it now.:What is that?")) {
346                                case 1:
347                                        mes "[Juan]";
348                                        mes "Ok. Then..";
349                                        next;
350                                        delitem 924,35; //Powder_Of_Butterfly
351                                        delitem 958,10; //Horrendous_Mouth
352                                        delitem 957,10; //Decayed_Nail
353                                        delitem 518,10; //Honey
354                                        skill "SM_AUTOBERSERK",1,0;
355                                        mes "[Juan]";
356                                        mes "You have just become a swordsman";
357                                        mes "that can use Auto Berserk.";
358                                        mes "You can go about ";
359                                        mes "and achieve great things!";
360                                        next;
361                                        mes "[Juan]";
362                                        mes "Good luck!";
363                                        next;
364                                        mes "[Juan]";
365                                        mes "....................................oh yeah.";
366                                        mes "I forgot to say something.";
367                                        mes "There are some things you must keep in mind.";
368                                        next;
369                                        mes "[Juan]";
370                                        mes "Once you regain health,";
371                                        mes "this skill will subside.";
372                                        mes "Also, there isn't really a time limit";
373                                        mes "but it can still disappear when";
374                                        mes "it is attacked with a skill that can";
375                                        mes "nullify provoke.";
376                                        next;
377                                        mes "[Juan]";
378                                        mes "If you don't remember these characteristics,";
379                                        mes "you may run into some problems on the battlefield";
380                                        mes "when the skill disappears all of a sudden.";
381                                        next;
382                                        mes "[Juan]";
383                                        mes "Then... bye for real~";
384                                        close;
385                                case 2:
386                                        mes "[Juan]";
387                                        mes "Auto Berserk?";
388                                        mes "It's a skill crucial on the battlefield.";
389                                        mes "When your health is in red,";
390                                        mes "your hidden potential provokes yourself";
391                                        mes "to help you in battle.";
392                                        next;
393                                        mes "[Juan]";
394                                        mes "It is perfect for those that";
395                                        mes "fight on the battlefield like fire!";
396                                        mes "With your ability, you can learn";
397                                        mes "this skill right now.";
398                                        mes "Then, I shall tell you the necessary materials.";
399                                        next;
400                                        mes "[Juan]";
401                                        mes "You need 35 Powder of Butterfly.";
402                                        mes "The energy from the magnificent";
403                                        mes "wings of a butterfly will";
404                                        mes "help you gather your strength!";
405                                        mes "And 10 Horrendous Mouth.";
406                                        mes "10 Decayed Nail.";
407                                        mes "and last but not least...";
408                                        mes "10 Honey!";
409                                        next;
410                                        mes "[Juan]";
411                                        mes "Did you get all that down?";
412                                        mes "As always, please come back";
413                                        mes "when you are ready.";
414                                        mes "I look forward to seeing you again.";
415                                        close;
416                                }
417                        }
418                }
419                mes "[Juan]";
420                mes "Oh no, you have more injuries";
421                mes "since the last time I saw you.";
422                mes "You went into battle like this?";
423                mes "Seems like you are straining yourself.";
424                next;
425                mes "[Juan]";
426                mes "Even though you may have a lot of strength";
427                mes "you can't do much when you reach your limits so";
428                mes "don't overestimate your powers.";
429                mes "Of course you could always use the";
430                mes "skill we developed to overcome these limits.";
431                next;
432                switch(select("Eh! What are you talking about?:Haha, there can't be such a thing.:Keuuuuuuuh!")) {
433                case 1:
434                        mes "[Juan]";
435                        mes "The skill is called Berserk.";
436                        mes "It is deemed the flower of a battlefield.";
437                        mes "When your health is red,";
438                        mes "your hidden potential is provokes yourself";
439                        mes "to help you in battle.";
440                        next;
441                        mes "[Juan]";
442                        mes "It is perfect for those that";
443                        mes "fight on the battlefield like fire!";
444                        mes "With your ability, you can learn";
445                        mes "this skill right now.";
446                        mes "Then, I shall tell you the necessary materials.";
447                        next;
448                        mes "[Juan]";
449                        mes "You need 35 Powder of Butterfly.";
450                        mes "The energy from the magnificent";
451                        mes "wings of a butterfly will";
452                        mes "help you gather your strength!";
453                        mes "And 10 Horrendous Mouth.";
454                        mes "10 Decayed Nail.";
455                        mes "and last but not least...";
456                        mes "10 Honeys!";
457                        next;
458                        mes "[Juan]";
459                        mes "Did you get all that down?";
460                        mes "As always, please come back";
461                        mes "when you are ready.";
462                        mes "I look forward to seeing you again.";
463                        close;
464                case 2:
465                        mes "[Juan]";
466                        mes "Bleh, were you fooled all your life.";
467                        mes "I don't know. Don't talk to me.";
468                        close;
469                case 3:
470                        mes "[Juan]";
471                        mes "Keuuuuuuuuuuuuuh!";
472                        mes "Ooowwwwwuuuuuuuuuuuuuhhh!";
473                        mes "Keuaaaaaaaaaaah!";
474                        close;
475                }
476        }
477        else {
478                mes "[Juan]";
479                mes "Are you enjoying your trip?";
480                mes "I hope you have nice days ahead of you.";
481                mes "Ah, I am just a kind knight Juan.";
482                mes "Don't worry about me too much. Hahaha...";
483                close;
484        }
485}
486
487//============================================================
488// Old changelog
489//============================================================
490//= Fully working
491//= 1.0a Now using functions found in "Global_Functions.txt"
492//= for class checks.
493//= 1.1 Added missing delitem [Lupus]
494//= 1.2 Added Baby Class Support [Lupus]
495//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
496//= 1.4 Updated the NPC to allow subclasses of swordsman to learn the skills, [MasterOfMuppets]
497//=     1.5 Fixed exploits [Lupus]
498//= 1.5a Fixed some typos [IVBela]
499//============================================================
Note: See TracBrowser for help on using the browser.