1 //===== rAthena Script =======================================
2 //= Thief Class Tutorial and Job Specific Quest
3 //===== By: ==================================================
5 //===== Current Version: =====================================
7 //===== Compatible With: =====================================
9 //===== Description: =========================================
10 //= [Official Conversion]
11 //= Thief training quest.
12 //===== Additional Comments: =================================
14 //= 1.1 optimized [Lupus]
15 //= 1.2 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
16 //= 1.3 Fixed a few minor mistakes [Playtester]
17 //= 1.4 Misc. updates. [L0ne_W0lf]
18 //= 1.5 Added Pre-Renewal support. [Euphy]
19 //= 2.0 Fixed a wrong exp value & clean-up. [Capuche]
20 //============================================================
23 //============================================================
24 moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
26 if(Class == Job_Novice){
30 mes "what job you're";
31 mes "gonna choose...";
35 mes "Listen, if you ever decide to become a Thief--a smart choice";
36 mes "I might add--come and talk to me. I'll show you the ropes!";
39 else if (BaseClass == Job_Thief && Upper != 2) {
40 if (Class != Job_Thief && tu_thief01 < 8) {
41 mes "Whaaaat are you";
42 mes "doin' here? There's";
43 mes "nothing I can teach you!";
44 mes "You're waaay beyond me!";
47 mes "In fact, I think";
48 mes "you're qualified";
49 mes "to teach me some stuff!";
50 mes "Come on! I need new moves!";
57 mes "the guy in charge";
58 mes "of training new Thieves.";
60 switch(select("Training?:Training? Right now?")){
63 mes "Yeah, training. I mean, this kind of stuff is second nature to some people, but other guys need a little more help. So this is one of those 'just in case' things.";
69 mes "Yeah, right now!";
70 mes "But if you're not ready for some reason, I guess I can wait.";
74 mes "Alright, first of all, Thieves use melee attacks. Well, most of us do. There are a few who like using long range Bows. But all of us are good at bein' fast!";
77 mes "So for melee attacks, which stat increases your damage? Come on";
78 mes "now, you should know this if you didn't skip the Novice Training Grounds.";
80 switch(select("^6B8E23INT^000000:^2F4F2FSTR^000000:^23238EDEX^000000")){
83 mes "Say whaaat? ^6B8E23INT^000000 affects magic damage, magic defense and some skills. Thieves don't even work with magic!";
86 mes "You musta skipped the Novice Training Grounds altogether! Not that I blame you though. Anyway, it's ^2F4F2FSTR^000000 that increases your attack damage, got it?";
89 mes "So if you're feeling like the damage you're making is pretty weak, you might want more stat points in ^2F4F2FSTR^000000. How high your raise your own STR is really up to you.";
94 mes "Yeah, that's right! If you wanna increase your damage, you need";
95 mes "to put some stat points into ^2F4F2FSTR^000000. Increasing STR also increases";
96 mes "your Max Weight Limit too.";
99 mes "So if you're feeling like the damage you're making is pretty weak, you might want more stat points in ^2F4F2FSTR^000000. How high your raise your own STR is really up to you.";
102 mes "Sure, ^23238EDEX^000000 and LUK can";
103 mes "also increase your attack damage, but they're insignificant compared to STR. I repeat: ^660000insignificant^000000.";
108 mes "Say whaaat? ^23238EDEX^000000 affects";
109 mes "your attack accuracy, not your damage! Well, unless you're using";
110 mes "a Bow. Otherwise, it increases your damage only by a tiny bit.";
113 mes "You musta skipped the Novice Training Grounds altogether! Not that I blame you though. Anyway, it's ^2F4F2FSTR^000000 that increases your attack damage, got it?";
116 mes "So if you're feeling like the damage you're making is pretty weak, you might want more stat points in ^2F4F2FSTR^000000. How high your raise your own STR is really up to you.";
120 specialeffect2 EF_HIT5;
123 else if(tu_thief01 == 1){
124 mes "Alright, enough about stats.";
125 mes "You know what? I think I'll just talk to you about the skills that we Thieves use.";
128 mes "So level up your skills, learn a few new ones if you want, and";
129 mes "then come back over here.";
133 else if(tu_thief01 == 2){
134 mes "Okay, let me see your skills. You know you gotta change your battle strategy depending on what skills you have, right? Skills are just as important as stats!";
136 .@chk_th_skill1 = getskilllv("TF_DOUBLE");
137 .@chk_th_skill2 = getskilllv("TF_MISS");
138 .@chk_th_skill3 = getskilllv("TF_STEAL");
139 .@chk_th_skill4 = getskilllv("TF_HIDING");
140 .@chk_th_skill5 = getskilllv("TF_POISON");
141 .@chk_th_skill6 = getskilllv("TF_DETOXIFY");
143 if(.@chk_th_skill1 == 0 && .@chk_th_skill2 == 0 && .@chk_th_skill3 == 0 && .@chk_th_skill4 == 0 && .@chk_th_skill5 == 0 && .@chk_th_skill6 == 0){
145 mes "You haven't learned any skills yet? Come on, it's your skills that'll set you apart from Novices and everyone else!";
148 if(.@chk_th_skill1 > 0){
150 mes "Ah, so you've learned";
151 mes "Level "+.@chk_th_skill1+" Double Attack.";
152 mes "Nice! This skill gives you the chance to attack twice in one";
153 mes "attack. Wicked!";
156 mes "It's a Passive skill, so it's always in effect and won't have to use any SP to use it. The higher your Double Attack skill level, the more double attacks you'll do.";
159 if(.@chk_th_skill2 > 0){
162 mes "Level "+.@chk_th_skill2+" Increase Dodge?";
163 mes "That increases your Flee Rate, meaning you've got a better chance of dodging attacks from your enemies.";
166 mes "Just like the Double Attack skill, Increase Dodge is a Passive skill. It won't use SP and it's always in";
167 mes "effect. If you don't like to bruise, this is your skill.";
170 if(.@chk_th_skill3 > 0){
172 mes "Whoa, so you've";
173 mes "got Level "+.@chk_th_skill3+" Steal~";
174 mes "Now that's the skill which gives our job its name! You can't use";
175 mes "it against people, though...";
178 mes "But you can use Steal to take items from monsters. If you're lucky, you can get some good items that way. Oh, and Steal doesn't affect monster drop rates.";
181 if(.@chk_th_skill4 > 0){
183 mes "You've learned";
184 mes "Level "+.@chk_th_skill4+" Hiding?";
185 mes "Let's see, you can only learn";
186 mes "that after learning the Steal skill up to a certain level.";
189 mes "Of course, you use ";
190 mes "the Hiding skill to hide underground in an emergency, like when you're surrounded by tough enemies. Be careful though...";
193 mes "Certain monsters will still be able to find you, no matter how well you hide. There are even a few monsters that can flush you out of hiding!";
196 if(.@chk_th_skill5 > 0){
198 mes "Alright, I see that you";
199 mes "know Level "+.@chk_th_skill5+" Envenom.";
200 mes "You like being dangerous,";
204 mes "This attack skill has the chance";
205 mes "to poison your enemy for a set amount of time. While poisoned, an enemy will constantly lose its HP and will have decreased defense.";
208 mes "Eh, but remember.";
209 mes "If the monster's too strong for you, you might not be able to poison it. So don't go crazy.";
212 if(.@chk_th_skill6 > 0){
214 mes "Level "+.@chk_th_skill6+" Detoxify.";
215 mes "If you took the trouble to learn that, you must be the cautious";
216 mes "type or something.";
219 mes "You can only learn Detoxify";
220 mes "after you learn the Envenom skill. Detoxify allows you to counteract the effects of poison on a target.";
224 mes "Alright, I guess";
225 mes "if you want to know";
226 mes "about any other skills,";
227 mes "I can explain real quick.";
229 getexp BaseLevel*30,BaseLevel*15;
230 specialeffect2 EF_HIT5;
233 else if(tu_thief01 == 3){
236 mes "skills you want";
237 mes "explained or is this";
238 mes "pretty much stuff you";
242 switch(select("Double Attack:Increase Dodge:Steal:Hiding:Envenom:Detoxify:I know enough.")) {
245 mes "Just like its name,";
246 mes "Double Attack gives your attacks the chance to be a double attack, two strikes in one blow.";
249 mes "It's a Passive skill, so it's always in effect and won't have to use any SP to use it. The higher your Double Attack skill level, the more double attacks you'll do.";
254 mes "Increase Dodge";
255 mes "gives a nice boost";
256 mes "to your Flee Rate that";
257 mes "the other jobs don't offer.";
258 mes "Why take your lumps when you";
259 mes "can avoid them altogether?";
262 mes "Just like the Double Attack skill, Increase Dodge is a Passive skill. It won't use SP and it's always in";
263 mes "effect. If you don't like to bruise, this is your skill.";
268 mes "Steal is an Active Skill that has the chance of nabbing you some";
269 mes "free items! You can't use it against other people, though.";
271 specialeffect2 EF_STEAL;
273 mes "But you can use Steal to take items from monsters! If you're lucky, you can get some good items that way. Oh, and Steal doesn't affect monster drop rates.";
278 mes "Hiding is an active skill where you submerge yourself underground. You can only stay hidden so long, and you can't move, but sometimes it's better than being found!";
281 mes "Of course, you use ";
282 mes "the Hiding skill to hide underground in an emergency, like when you're surrounded by tough enemies. Be careful though...";
285 mes "Certain monsters will still be able to find you, no matter how well you hide. There are even a few monsters that can flush you out of hiding!";
290 mes "Envenom is an offensive Active Skill that every Thief should know. But that's just what I think.";
293 mes "This attack skill has the chance";
294 mes "to poison your enemy for a set amount of time. While poisoned, an enemy will constantly lose its HP and will have decreased defense.";
295 mes "Remember that.";
300 mes "Since Thieves deal";
301 mes "quite a bit with poison,";
302 mes "we've got to have a way";
303 mes "to, well, have a taste";
304 mes "of our own medicine.";
307 mes "You can learn Detoxify";
308 mes "after you learn the Envenom skill. Detoxify allows you to counteract the effects of poison on a target.";
311 specialeffect2 EF_DETOXICATION;
316 mes "I'm tired of explaining these skills anyway. Let's move on to";
317 mes "the next part of Thief training...";
320 mes "Now that you're such an expert on skills, I want you to level up your skills and come back, got it?";
322 specialeffect2 EF_HIT5;
323 .@total = .@read_d + .@read_f + .@read_s + .@read_p + .@read_h + .@read_r;
325 getexp (.@total*300),(.@total*100);
330 else if(tu_thief01 == 4){
331 mes "Alright, we studied the skills and you've been practicing a little, right? You better have...";
334 mes "Alright, now I got some actual fight training I want you to do. Here's a chance for you to figure what skills are best for which situations.";
338 mes "10 ^ff0000Feather of Birds^000000.";
339 mes "You can go ahead and kill Pickies to get those. It really shouldn't be that hard. Oh, and use this Wing thingee to come back.";
341 savepoint "moc_ruins",80,164,1,1;
342 getitem 602,1; //Wing_Of_Butterfly
344 specialeffect2 EF_HIT5;
346 warp "moc_fild12",158,373;
349 else if(tu_thief01 == 5 || tu_thief01 == 6){
350 if(countitem(916) < 10){
351 mes "'Ey, you don't have the 10 ^ff0000Feather of Birds^000000 I asked you for! You gotta apply what you know, you know.";
352 mes "Now hurry up and do it!";
354 warp "moc_fild07",203,38;
359 mes "Nice work, pal.";
360 mes "Seeing as you got these feathers, you must be really gung-ho about becoming a good Thief.";
363 mes "I hope you keep";
364 mes "putting in the work";
365 mes "to get better and better.";
366 mes "Always do your best! Oh,";
367 mes "and do you have any questions?";
370 switch(select("About those traces...:Nope.")) {
373 mes "You found out, eh?";
374 mes "Well, I didn't really";
375 mes "wanna tell you this, on";
376 mes "account of you bein' a brand";
377 mes "brand new Thief and all, but...";
380 mes "There was this";
381 mes "fight that was in";
382 mes "the Southern part";
386 mes "Since it happened late at night, only a few people actually know about it. As for me, I stayed late at a guild meeting, so it was";
387 mes "dumb luck that I saw it.";
390 mes "I went back to where the fight happened and I found traces that showed that the guys who were fighting went south.";
393 mes "Since poison was used in";
394 mes "the fight, I'm guessing an Assassin was involved, but I can't be too sure. If you wanna check it out, follow the traces of that fight.";
397 mes "Eh, but be careful";
398 mes "not to get too close";
399 mes "to the poison! That stuff";
400 mes "is pretty strong!";
402 getitem 1207,1; //Main_Gauche
404 specialeffect2 EF_HIT5;
409 mes "Less work for me!";
410 mes "Alright, you better get stronger the next time I see you. Oh, and you can have this stuff. You know, since you're so gangster and all.";
412 getitem 1207,1; //Main_Gauche
414 specialeffect2 EF_HIT5;
419 switch(select("It was nice to meet you.:Nope.")) {
422 mes "Yeah, it was pretty cool just hanging out. Keep fighting";
423 mes "monsters the way you do and";
424 mes "you'll be a great Thief in no time.";
427 mes "And since I like";
428 mes "you so much, kid,";
429 mes "you can have this.";
430 mes "Take it, it's yours!";
436 mes "Less work for me!";
437 mes "Alright, you better get stronger the next time I see you. Oh, and you can have this stuff. You know, since you're so gangster and all.";
442 getitem 1207,1; //Main_Gauche
443 specialeffect2 EF_HIT5;
448 else if(tu_thief01 == 7){
451 mes "There was this";
452 mes "fight that was in";
453 mes "the Southern part";
457 mes "Since it happened late at night, only a few people actually know about it. As for me, I stayed late at a guild meeting, so it was";
458 mes "dumb luck that I saw it.";
461 mes "I went back to where the fight happened and I found traces that showed that the guys who were fighting went south.";
464 mes "Since poison was used in";
465 mes "the fight, I'm guessing an Assassin was involved, but I can't be too sure. If you wanna check it out, follow the traces of that fight.";
468 mes "Eh, but be careful";
469 mes "not to get too close";
470 mes "to the poison! That stuff";
471 mes "is pretty strong!";
474 mes "Hey, you might run into";
475 mes "poison, so remember that";
476 mes "Green Herbs and Green Potions";
477 mes "will counteract it. Oh, and keep in mind that Red Gemstones can";
478 mes "be used in poison attacks.";
481 mes "Hey, if you do";
482 mes "decide to check it";
483 mes "out, be real careful";
484 mes "other there, okay?";
487 specialeffect2 EF_HIT5;
490 else if(tu_thief01 == 8){
492 mes "You doin' alright?";
495 mes "Fighting against something";
496 mes "you know nothing about is always risky. Since I've heard there are outsiders around flaunting their power, you better be careful.";
499 mes "It's a good policy to just be really careful on your adventures. Look out for monsters and look";
500 mes "out for people! Got it?";
503 else if(tu_thief01 < 26){
504 mes "I heard there was";
505 mes "this one Assassin";
506 mes "that went on a mission";
507 mes "and never returned.";
510 mes "What's so weird about it was that the Assassin Guild reported that the mission was completed!";
511 mes "I remember hearing that guy";
512 mes "was really good...";
515 mes "Crazy, isn't it?";
517 mes "care of yourself.";
520 else if(tu_thief01 == 26){
522 mes "complete your mission?";
523 mes "I know, I know, the thing you've gotta do is pretty rough.";
525 switch(select("I'm still investigating.:Not yet.:Yes, I did.")) {
528 mes "Ah, gotcha. Well, that's understandable. I mean, these things take time, you know?";
533 mes "That's alright.";
534 mes "I guess these kinds of things require patience. And thinking.";
535 mes "You know, things I'm horrible at.";
541 mes "Hit me up with";
542 mes "what you know~";
544 mes "^3355FFYou explain the results of your investigation to Yierhan and tell him about the scrap of cloth you found on your mission.^000000";
547 mes "Scrap of cloth?";
548 mes "Huh, alright. Say,";
549 mes "lemme have a looksee.";
553 mes "You did great.";
554 mes "This is some pretty";
555 mes "important information!";
558 mes "You see, the pattern on this cloth is sort of like one of the codes Assassins use. And this particular pattern looks like something from one of those higher Assassins.";
561 mes "I might be able to figure out what happened that night with the new information this cloth might lead me to. Thanks a lot!";
565 mes "the higher ups in the";
566 mes "guild will take over this investigation. You did your job perfectly, so it's time for you to hone your skills.";
569 mes "Hey, this stuff is yours. Think of it as a reward for helping us out. Take care of yourself now~";
571 getitem 2307,1; //Mantle
580 mes "You got dreams,";
581 mes "don't you? I know,";
582 mes "it's a bit of a deep";
583 mes "subject I pulled outta";
584 mes "nowhere, but...";
587 mes "I just like telling people to follow their dreams. So do it. Life without anything to look forward to is pretty boring, doncha think?";
591 else if (BaseClass == Job_Mage && Upper != 2){
592 if(tu_magician01 < 7){
595 mes "I'm the Thief trainer around here. Sure, it looks like we don't got much in common, but...";
598 mes "I actually got a few magic using friends here and there. That mystic stuff is waaay over my head, but";
599 mes "I got a lotta respect for it.";
602 else if(tu_magician01 == 7){
604 mes "That's weird, usually only";
605 mes "Thieves hang around this joint. What's someone like you doing";
606 mes "here? Unless...";
608 select("I'm here on behalf of 'Mana.'");
610 mes "Right, you must be the help that Mana sent! You came just at the right time. You see, we found something weird in South Morroc.";
613 mes "Basically, we found traces of poison that were used in a fight. We were going to investigate it, but we've been swamped with all this other work.";
616 mes "That's why we've been asking";
617 mes "for help from the Mage Guild. Fortunately, I'm pals with Mana, so...";
620 mes "Anyway, head over to";
621 mes "South Morroc since it seems to be a good place to start investigating. You'll see what we found right outside the South Morroc gate.";
625 else if(tu_magician01 < 26){
626 mes "I heard there was";
627 mes "this one Assassin";
628 mes "that went on a mission";
629 mes "and never returned.";
632 mes "What's so weird about it was that the Assassin Guild reported that the mission was completed!";
633 mes "I remember hearing that guy";
634 mes "was really good...";
637 mes "Be careful, pal.";
640 mes "might be related to";
641 mes "that mysterious Assassin...";
644 else if(tu_magician01 == 26){
648 mes "I've been so busy,";
649 mes "I couldn't focus";
650 mes "on it at all...";
652 switch(select("I'm still investigating.:I'm not done yet...:Oh, I finished~")) {
655 mes "Ah, gotcha. Well, that's understandable. I mean, these things take time, you know?";
660 mes "That's alright.";
661 mes "I guess these kinds of things require patience. And thinking.";
662 mes "You know, things I'm horrible at.";
668 mes "Hit me up with";
669 mes "what you know~";
671 mes "^3355FFYou explain the results of your investigation to Yierhan and tell him about the scrap of cloth you found on your mission.^000000";
674 mes "Scrap of cloth?";
675 mes "Huh, alright. Say,";
676 mes "lemme have a looksee.";
680 mes "You did great.";
681 mes "This is some pretty";
682 mes "important information!";
685 mes "You see, the pattern on this cloth is sort of like one of the codes Assassins use. And this particular pattern looks like something from one of those higher Assassins.";
688 mes "I might be able to figure out what happened that night with the new information this cloth might lead me to. Thanks a lot!";
692 mes "the higher ups in the";
693 mes "guild will take over this investigation. You did your job perfectly, so it's time for you to hone your skills.";
696 mes "Hey, this stuff is yours. Think of it as a reward for helping us out. Right, and I'll let Mana know you did a great job. Take care of yourself now~";
704 mes "Just as I thought,";
705 mes "more than one group";
706 mes "was involved in all this.";
707 mes "Huh. Something real bad";
708 mes "might happen soon...";
712 mes "Some people think";
713 mes "the desert is just a";
714 mes "dangerous, uncomfortable";
715 mes "place where no one wants";
716 mes "to be. But there's all";
717 mes "sorts of great stuff here.";
720 mes "We got the blazing heat that encourages skimpy outfits, we got... Cacti. We got more sand than the beach. Um... Sandstorms?";