1 //===== rAthena Script =======================================
2 //= Magician Class Tutorial and Job Specific Quest
3 //===== By: ==================================================
5 //===== Current Version: =====================================
7 //===== Compatible With: =====================================
9 //===== Description: =========================================
10 //= [Official Conversion]
11 //= Magician 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 Misc. updates. [L0ne_W0lf]
17 //= 1.4 Updated to match the official script. [Euphy]
18 //= 2.0 Replaced occurrence of PcName and clean-up. [Capuche]
19 //============================================================
22 //============================================================
23 geffen,61,174,4 script Sign#M HIDDEN_NPC,{
24 mes "- Mage Job Change -";
29 //============================================================
30 geffen,67,180,4 script New Mage Manager#M 8_F,{
32 if(Class == Job_Novice){
33 mes "You're not ready for";
34 mes "any of the training I have";
35 mes "to offer. You'll have to train";
36 mes "some more and become";
37 mes "a Mage first. Alright, dear?";
40 if(BaseClass != Job_Mage || (eaclass()&EAJL_BABY)){
41 mes "You know, sometimes";
42 mes "other jobs might look a";
43 mes "little better in some battle";
44 mes "situations, but always have";
45 mes "pride in yourself. Not just";
46 mes "anyone can do what you do~";
49 if(Class != Job_Mage && tu_magician01 < 7){
50 mes "Although I offer magic";
51 mes "training, it's not very helpful";
52 mes "if you're already experienced";
53 mes "in the use of magic. I'm sorry,";
54 mes "but you'll have to rely on your";
55 mes "own self to hone your skills.";
58 switch(tu_magician01){
61 mes "My name is Mana,";
62 mes "a trainer in charge";
63 mes "of new recruits in the";
64 mes "Mage Guild. That means";
65 mes "I'm responsible for you~";
68 mes "I've only been doing";
69 mes "this for just a little while,";
70 mes "but I'm here to help you if";
71 mes "you want to learn more on";
72 mes "the basics of the Mage job.";
74 switch(select("Will you teach me?:Perhaps later...")) {
78 mes "And don't worry,";
79 mes "everyone is a beginner";
80 mes "at one point or another.";
81 mes "You can only get better!";
87 mes "it'll all work out.";
88 mes "But I look forward";
89 mes "to meeting you again";
90 mes "if you decide that you";
91 mes "do want some instruction~";
95 mes "Alright, let's begin with";
96 mes "a general description";
97 mes "of our job, shall we?";
98 mes "What exactly are Mages?";
101 mes "Instead of physical strength,";
102 mes "Mages use the power of the";
103 mes "elements in battle. These are";
104 mes "^ff0000Fire^000000, ^5C4033Earth^000000, ^93DB70Wind^000000, ^0000FFWater^000000.";
105 mes "We also have access to spells";
106 mes "to spells with the ^CFB53BGhost^000000 property.";
109 mes "Now, when an enemy has";
110 mes "an elemental property, it will";
111 mes "be able to resist that element, but will be susceptible to others.";
112 mes "That's why knowing elemental properties is so important to us.";
115 mes "Listen carefully to these";
116 mes "elemental relationships.";
117 mes "^FF0000Fire^000000 is strong against Earth,";
118 mes "but is weak against Water.";
119 mes "^5C4033Earth^000000 is strong against Wind,";
120 mes "but is weak against Fire.";
123 mes "^0000FFWater^000000 is strong against";
124 mes "Fire, but weak against Wind.";
125 mes "Finally, ^93DB70Wind^000000 is strong against";
126 mes "Water, but weak against Earth.";
129 mes "I can't remember";
130 mes "the last time I've";
131 mes "spoken so much in one";
132 mes "sitting! I'm bushed, so it's";
133 mes "time for a break. But we'll";
134 mes "continue this later, okay?";
137 getexp BaseLevel*3,BaseLevel*2;
139 getexp BaseLevel*30,BaseLevel*15;
140 specialeffect2 EF_HIT5;
144 mes "to continue our";
145 mes "discussion on the";
146 mes "elemental properties?";
149 mes "You should know that";
150 mes "each monster has an";
151 mes "elemental property and that";
152 mes "there are different levels for";
153 mes "all of these elements. It's";
154 mes "important to understand this...";
157 mes "Let me explain to you";
158 mes "all of the nuances of";
159 mes "each element. Just ask";
160 mes "me which specific element";
161 mes "you'd like to learn more about.";
164 mes "In other words, even the same properties";
165 mes "have different features that must be considered.";
166 mes "I will explain the properties now.";
169 switch(select("^ff0000Fire^000000", "^5C4033Earth^000000", "^93DB70Wind^000000", "^0000FFWater^000000", "^CFB53BGhost^000000", "Quit.")){
172 mes "Monsters with the ^ff0000Fire^000000";
173 mes "property tend to have strong";
174 mes "attacks. Since we Mages are";
175 mes "physically weaker, even slight";
176 mes "hits from these monsters can";
177 mes "be extremely damaging to us.";
180 mes "So if we have to fight";
181 mes "monsters with the ^FF0000Fire^000000";
182 mes "property on our own, we";
183 mes "can use Frost Diver to";
184 mes "freeze them in their tracks.";
187 mes "But if we use Fire";
188 mes "property skills on Fire";
189 mes "monsters, we'd do little to no";
190 mes "damage and that's not good.";
193 mes "For reference, our Fire";
194 mes "property skills are Sight,";
195 mes "Fire Bolt, Fire Ball and Fire";
196 mes "Wall. Ooh, let me tell you";
197 mes "a little more about Fire Wall.";
200 mes "Fire Wall is very distinctive";
201 mes "in that it can be used up to";
202 mes "3 times on one screen. Any";
203 mes "monsters that run into it will";
204 mes "get damaged, then move away";
205 mes "in the opposite direction.";
208 mes "But if an Undead monster";
209 mes "runs into a Fire Wall, it's ";
210 mes "only slightly injured and the";
211 mes "Fire Wall won't necessarily";
212 mes "block its approach. So beware!";
217 mes "Alright, ^5C4033Earth^000000 property";
218 mes "monsters usually have";
219 mes "good targeting, so even";
220 mes "if your Dodge Rate is high,";
221 mes "you might find it hard to";
222 mes "evade all of their attacks.";
225 mes "When dealing with these";
226 mes "monsters, use Fire property";
227 mes "spells. Fire Wall is usually";
228 mes "pretty effective, since it'll";
229 mes "stop the monster and also";
230 mes "cause some good damage.";
233 mes "It's also handy to know";
234 mes "that when you use Stone";
235 mes "Curse on a monster, that";
236 mes "monster becomes Earth";
237 mes "property while the spell";
238 mes "is in effect. Cool, huh?";
241 mes "So if you use Stone Curse,";
242 mes "a good strategy would be to";
243 mes "use Fire property skills right";
244 mes "afterwards, like Fire Bolt and";
245 mes "Fire Ball, to take advantage of";
246 mes "the monster's Earth property.";
251 mes "Now, don't be too surprised";
252 mes "if you keep missing when you";
253 mes "attack ^93DB70Wind^000000 property monsters.";
254 mes "Most of them can avoid physical";
255 mes "attacks really well because of";
256 mes "their high Dodge Rates.";
259 mes "But since we Mages";
260 mes "mostly attack with our";
261 mes "spells, we don't need to";
262 mes "worry so much about that.";
263 mes "Still, Wind monsters tend to";
264 mes "be pretty quick, so be careful.";
267 mes "When it comes to attacking";
268 mes "Wind monsters, it'd be ideal";
269 mes "to use Earth property skills.";
270 mes "But since only Wizards have";
271 mes "access to Earth property attacks,";
272 mes "we should settle for Fire skills.";
275 mes "Fire property skills might";
276 mes "not do a whole lot of damage,";
277 mes "but they'll have a greater effect than Wind or Water property skills, which would do very little or no damage at all to Wind monsters.";
280 mes "Just so you know,";
281 mes "the ^93DB70Wind^000000 property skills";
282 mes "that we Mages can use are";
283 mes "Lighning Bolt and Thunder Storm.";
288 mes "^0000FFWater^000000 property monsters";
289 mes "tend to have a lot of health,";
290 mes "so they can take more damage";
291 mes "than other monsters, making";
292 mes "battles with them longer.";
295 mes "Now, remember how I said";
296 mes "that there are differing levels";
297 mes "for properties? Water property monsters are actually a bit more";
298 mes "sensitive to damage from their opposing element at higher levels.";
301 mes "In other words, monsters";
302 mes "that are higher in level for";
303 mes "the Water property are going";
304 mes "to take even more damage";
305 mes "from Wind property attacks.";
308 mes "Water property skills";
309 mes "in the Mage's repertoire";
310 mes "include Cold Bolt and Frost";
311 mes "Diver. These skills are very";
312 mes "effective against Fire monsters.";
315 mes "Frost Diver is special in";
316 mes "that it has the chance to";
317 mes "actually freeze monsters.";
318 mes "While monsters are frozen by";
319 mes "Frost Diver, they're considered Water monsters. Interesting, huh?";
324 mes "Now, there aren't many";
325 mes "^CFB53BGhost^000000 property monsters";
326 mes "around. But if you do run into";
327 mes "them, go ahead and use your";
328 mes "Ghost property skills, which";
329 mes "should be effective.";
332 mes "The Ghost property attacks";
333 mes "that we Mages can use are";
334 mes "Napalm Beat and Soul Strike.";
335 mes "These skills generally tend";
336 mes "to work pretty well, except on";
337 mes "high Holy property monsters.";
340 mes "Now, the Safety Wall spell";
341 mes "is sort of a Ghost property";
342 mes "skill, but it's hard to classify. Casting Safety Wall creates";
343 mes "a barrier than protects against";
344 mes "close range physical attacks.";
347 mes "However, this barrier only";
348 mes "fits one person and doesn't";
349 mes "shield against long range";
350 mes "attacks or strong property";
351 mes "attacks, so be really careful!";
356 mes "Are you sure that you've";
357 mes "heard enough about the";
358 mes "nuances of the elemental";
359 mes "properties? Because if you're";
360 mes "ready, we'll cover some new";
361 mes "material for you to learn.";
363 if(select("W-wait, not yet!:I'm ready to go on.") == 2) {
365 mes "Alrighty, we'll";
366 mes "move on to the next";
367 mes "subject then. Ho ho ho~!";
369 specialeffect2 EF_HIT5;
370 .@total = .@eread_1 + .@eread_2 + .@eread_3 + .@eread_4 + .@eread_5;
371 if (.@total) getexp (.@total*150),(.@total*70);
378 mes "I know that the concept";
379 mes "of properties might be";
380 mes "confusing now, but over";
381 mes "time you'll get the hang";
382 mes "of it. Now it's time to talk";
383 mes "about magic skills in depth~";
386 mes "Now, the most basic magic";
387 mes "attack spells are Fire Bolt,";
388 mes "Cold Bolt, Lightning Bolt and";
389 mes "Napalm Beat. Learning these";
390 mes "enables Mages to learn their";
391 mes "more advanced skills.";
392 specialeffect2 EF_NAPALMBEAT;
395 mes "Increasing the levels of";
396 mes "these skills not only opens";
397 mes "access to other spells, but";
398 mes "the damage of those basic";
399 mes "attack skills is also increased.";
400 specialeffect2 EF_LIGHTBOLT;
403 mes "Other skills that are";
404 mes "basic to the Mage class";
405 mes "are Sight, Stone Curse and";
406 mes "Increase SP Recovery. They're";
407 mes "not really attack spells, but are useful in certain situations.";
409 specialeffect2 EF_SIGHT;
411 mes "Sight is used to";
412 mes "reveal enemies that";
413 mes "are hiding. Keep in";
414 mes "mind that this skill's";
415 mes "range doesn't go too far.";
417 specialeffect2 EF_STONECURSE;
419 mes "Stone Curse has the chance";
420 mes "to curse a target, temporarily";
421 mes "immobilizing it and making it";
422 mes "^5C4033Earth^000000 property. However, each";
423 mes "attempt to cast Stone Curse";
424 mes "requires 1 Red Gemstone.";
427 mes "Increase SP Recovery is";
428 mes "a passive skill which helps";
429 mes "you recover more SP while sitting down to rest. It doesn't directly affect battle, but having more SP is always better.";
432 mes "Well, I feel like I've";
433 mes "explained the basic spells";
434 mes "enough. Now, before I talk";
435 mes "about our advanced skills,";
436 mes "there's an assignment I want";
437 mes "you to complete for training.";
440 mes "If you head west from";
441 mes "here, you'll find a big bridge";
442 mes "bridge where you can encounter";
443 mes "these monsters called Pupa.";
444 mes "Pupa don't move and can't";
445 mes "attack to save their lives.";
448 mes "Hunt these Pupa";
449 mes "until you've collected";
450 mes "10 Chrysalis from them.";
451 mes "Then bring them to me, okay?";
454 specialeffect2 EF_HIT5;
458 if (tu_magician01 == 3) {
459 mes "Ah, you're back?";
460 mes "Let's see if you gathered";
461 mes "all 10 Chrysalis from hunting";
462 mes "all of those Pupa. Hmmmm...";
468 mes "from hunting Pupa";
469 mes "like I asked? I hope so...";
470 mes "Because I'm going to check~";
474 if (countitem(915) < 10){// Chrysalis
475 if (tu_magician01 == 3) {
477 mes "have enough of";
478 mes "them yet. Head west";
479 mes "from here and hunt Pupa";
480 mes "to get more Chrysalis, okay?";
481 mes "For now, I'll just heal you up.";
486 mes "Whoa, you need";
487 mes "more than just this.";
488 mes "I know you can do it...";
489 mes "Pupas are completely";
490 mes "defenseless monsters!";
495 mes "Alright, you pass!";
496 mes "By now, you must be more";
497 mes "used to using your skills, huh?";
498 mes "Anyway, let me know when you're ready for the next lesson, okay?";
501 specialeffect2 EF_HIT5;
505 mes "Now I'll tell you";
506 mes "what I know about the";
507 mes "more advanced Mage";
508 mes "skills. Which one would";
509 mes "you like me to explain?";
512 switch(select("Soul Strike:Safety Wall:Fire Ball:Frost Diver:Thunderstorm:Fire Wall:Energy Coat:Quit.")) {
515 mes "Soul Strike is a ^CFB53BGhost^000000";
516 mes "property skill that you can";
517 mes "learn after increasing the";
518 mes "Napalm Beat skill up to";
519 mes "a certain level. It attacks";
520 mes "with ancient spiritual power~";
522 specialeffect2 EF_SOULSTRIKE;
525 mes "As you train in the use";
526 mes "of Soul Strike and increase";
527 mes "that skill's level, it will grow in strength and you'll be able";
528 mes "to cast it much more quickly.";
533 mes "You can learn Safety Wall";
534 mes "after training in the use of";
535 mes "Napalm Beat and Soul Strike.";
536 mes "Safety Wall protects against";
537 mes "most close range attacks.";
539 specialeffect2 EF_GLASSWALL;
542 mes "However, Safety Wall";
543 mes "has a time duration and";
544 mes "can only protect from a";
545 mes "certain number of attacks,";
546 mes "depending on the level of the";
547 mes "Safety Wall skill that you use.";
552 mes "Fire Ball is a ^FF0000Fire^000000";
553 mes "property skill that you";
554 mes "can learn after training";
555 mes "in the use of Fire Bolt.";
557 specialeffect2 EF_FIREBALL;
560 mes "Fire Ball can actually";
561 mes "inflict damage on multiple";
562 mes "enemies if they are within";
563 mes "the range of the skill. Make";
564 mes "good use of the destructive";
565 mes "power of the Fire Ball!";
570 mes "Frost Diver is a ^0000FFWater^000000";
571 mes "property skill that can be";
572 mes "learned after increasing";
573 mes "the Cold Bolt skill to";
574 mes "a certain level.";
575 specialeffect2 EF_FROSTDIVER;
577 specialeffect2 EF_FROSTDIVER2;
579 mes "Frost Diver will damage";
580 mes "enemies and has the chance";
581 mes "to freeze them as well. Once";
582 mes "frozen, the monster will be";
583 mes "considered to be a Water";
584 mes "property creature.";
587 mes "Now, as you increase";
588 mes "the level of the Frost Diver";
589 mes "skill, its damage and chance";
590 mes "of freezing monsters will also";
591 mes "increase. Pretty dangerous, eh? ^FFFFFFkamenriderblack^000000";
596 mes "Thunderstorm is a";
597 mes "^93DB70Wind^000000 property skill";
598 mes "that you can learn after";
599 mes "increasing the Lightning";
600 mes "Bolt skill to a certain level.";
602 specialeffect2 EF_THUNDERSTORM;
604 mes "Thunderstorm is similar";
605 mes "to Fire Ball in that it can";
606 mes "attack multiple enemies";
607 mes "within a certain range.";
608 mes "It's an incredibly potent";
609 mes "ground targeting attack.";
614 mes "Fire Wall is a ^FF0000Fire^000000";
615 mes "property skill that can";
616 mes "be learned after training";
617 mes "in the use of Fire Ball and";
618 mes "Sight. Unlike other skills,";
619 mes "Fire Wall targets an area.";
621 specialeffect2 EF_FIREWALL;
623 mes "So you can place";
624 mes "a Fire Wall in locations";
625 mes "where you think the enemy";
626 mes "will move towards. And it's";
627 mes "especially useful when";
628 mes "monsters approach you!";
631 mes "So if you can use";
632 mes "Fire Well strategically";
633 mes "and effectively, it can";
634 mes "be a very powerful skill~";
639 mes "Energy Coat is, well,";
640 mes "a unique skill that you";
641 mes "can't just learn on your own.";
642 mes "You'll have to ask Blizardis";
643 mes "inside the Mage Guild to";
644 mes "teach you how to use it.";
646 specialeffect2 EF_ENERGYCOAT;
649 mes "If you do decide to";
650 mes "learn Energy Coat, I'm";
651 mes "sure Blizardis will tell";
652 mes "you all you need to know.";
657 mes "Did you understand";
658 mes "all of that? Good, because";
659 mes "now I have a mission to give";
660 mes "you on behalf of the Mage";
661 mes "Guild. When you're ready for";
662 mes "briefing, talk to me, okay?";
665 mes "Oh, and please take";
666 mes "this. It's a present for";
667 mes "you to help you in your";
668 mes "training. I hope it comes";
669 mes "in handy when fighting...";
671 getitem 1604,1; //Wand
672 specialeffect2 EF_HIT5;
673 .@total = .@skill_e1 + .@skill_e2 + .@skill_e3 + .@skill_e4 + .@skill_e5;
674 if (.@total) getexp (.@total*300),(.@total*100);
680 mes "Oh good, you're back.";
681 mes "Let me tell you about";
682 mes "your mission. Recently,";
683 mes "something has happened in";
684 mes "Morroc and the Thief Guild";
685 mes "is requesting our assistance.";
688 mes "It's not mandatory";
689 mes "for you to do this, but";
690 mes "you will be compensated";
691 mes "for your efforts and we'll";
692 mes "give you some support.";
693 mes "So what do you think?";
695 switch(select("I'll do it.:Sorry, but...")) {
698 mes "Great! Alright,";
699 mes "I'll send you straight";
700 mes "to Morroc, then. Once you";
701 mes "get there, go to the front";
702 mes "of the Morroc Pyramid and";
703 mes "speak to Yierhan. Thanks~";
706 mes "Oh, and when you're";
707 mes "done with what Yierhan";
708 mes "has you do, come back";
709 mes "and report to me, okay?";
712 warp "morocc",182,286;
717 mes "Oh, I see. Well, if";
718 mes "you happen to change";
719 mes "your mind, come back";
720 mes "and ask me later, okay?";
725 mes "what kind of work";
726 mes "Yierhan has in store";
727 mes "for you, but hopefully";
728 mes "it won't be too difficult.";
731 mes "Yierhan just sent me";
732 mes "a message, saying that";
733 mes "you've done a great job in";
734 mes "completing your mission.";
735 mes "Very nice work, "+strcharinfo(0)+"~";
738 mes "It seems like there are";
739 mes "two secret organizations";
740 mes "involved in all of this dirty";
741 mes "business. Why would they";
742 mes "be working together?";
745 mes "Well, in any case...";
746 mes "This is some pretty";
747 mes "major business that";
748 mes "I guess the higher-ups";
749 mes "will handle, so you don't";
750 mes "need to worry about it for now.";
753 mes "Please take this as";
754 mes "a little reward for helping";
755 mes "out both of our guilds. Once";
756 mes "again, thanks very much~";
758 getitem 2321,1; //Silk_Robe
763 if(tu_magician01 < 27){
765 mes "It looks like something is";
766 mes "going on in the Rune-Midgarts";
767 mes "Kingdom for sure. No wonder";
768 mes "all the guilds are so busy...";
771 mes "Anyway, please ";
772 mes "keep up the good";
773 mes "work. And, um, is";
774 mes "Yierhan doing well?";
776 mes "You seem to be well";
777 mes "experienced now and there";
778 mes "isn't anything else that I can";
779 mes "really teach you. Now it's up";
780 mes "to you to find ways to master";
781 mes "the ways of magic on your own.";