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

Revision 1, 42.0 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Rogue Skills Quests
3//===== By: ==================================================
4//= Lupus, Reddozen
5//===== Current Version: =====================================
6//= 1.6b
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Quests for skills: CLose Confine
12//===== Additional Comments: =================================
13//= 1.4 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
14//= 1.5 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf]
15//= 1.6 Bug fixes as pointed out by Brainstorm in bugreport:351 [L0ne_W0lf]
16//= 1.6a Fixed(?) antoher problem (NPCs not disabling) hopefully. [L0ne_W0lf]
17//= 1.6b Corrected a Typo error with "rouge". (bugreport:909) [Samuray22]
18//============================================================
19
20in_rogue,359,177,0      script  #killershow01   -1,{
21OnInit:
22        disablenpc "#killershow01";
23        end;
24
25OnEnable:
26        enablenpc "#killershow01";
27        initnpctimer;
28        end;
29
30OnDisable:
31        stopnpctimer;
32        disablenpc "#killershow01";
33        end;
34
35OnTimer1000:
36        enablenpc "Killer#Rogueguild";
37        end;
38
39OnTimer120000:
40        disablenpc "Killer#Rogueguild";
41        end;
42
43OnTimer150000:
44        disablenpc "Killer#Rogueguild";
45        disablenpc "#killershow01";
46        end;
47}
48
49in_rogue,357,174,2      script  Killer#Rogueguild       705,1,1,{
50OnInit:
51        disablenpc "Killer#Rogueguild";
52        end;
53
54OnTouch:
55        if (ROG_SK == 10) {
56                specialeffect2 174; // EF_CHANGECOLD
57                specialeffect 175; //"Killer#Rogueguild" EF_CHANGEWIND
58                specialeffect2 348; // EF_LIGHTSPHERE
59                set ROG_SK,11;
60                mes "[Killer]";
61                mes "Wh-what have";
62                mes "you done to me?!";
63                mes "C-can't... move!";
64                next;
65                mes "[Haijara Greg]";
66                mes "Oh? I didn't expect";
67                mes "you to be able to cast";
68                mes "Close Confine so soon!";
69                mes "Amazing, just amazing!";
70                mes "Now, this is a good chance";
71                mes "for you to master the skill...";
72                next;
73                mes "[Haijara Greg]";
74                mes "Now pay attention.";
75                mes "I want you to practice";
76                mes "predicting your opponent's";
77                mes "movement intent on this killer.";
78                mes "You should be able to see which way he plans to move by his aura.";
79                next;
80                mes "[Haijara Greg]";
81                mes "If he plans to move to left,";
82                mes "his aura will be white. If he";
83                mes "moves to the right, it will be";
84                mes "yellow. If he intends to go";
85                mes "backward, it will be pale red.";
86                next;
87                while(1) {
88                        if (.@lim_1 == 10) {
89                                break;
90                        }
91                        else {
92                                set .@lim_1,.@lim_1 + 1;
93                                set .@move_1,rand(1,3);
94                                if (.@move_1 == 1) {
95                                        specialeffect 174; //"Killer#Rogueguild" EF_CHANGECOLD
96                                        if (select("Block him to the Left:Block him to the Right:Block his Retreat") == 1) {
97                                                mes "^3355FFThe killer remains";
98                                                mes "unable to move and looks";
99                                                mes "incredibly confused! Right";
100                                                mes "now, you're using the Close";
101                                                mes "Confine skill perfectly!^000000";
102                                                specialeffect 204; //"Killer#Rogueguild" EF_POTION1
103                                                specialeffect2 210; // EF_POTION7
104                                                next;
105                                        }
106                                        else {
107                                                mes "^3355FFWait--!";
108                                                mes "For some reason,";
109                                                mes "you sense that's not";
110                                                mes "the direction the killer";
111                                                mes "is moving at this moment.";
112                                                mes "You naturally correct yourself.^000000";
113                                                next;
114                                        }
115                                }
116                                else if (.@move_1 == 2) {
117                                        specialeffect 175; //"Killer#Rogueguild" EF_CHANGEWIND
118                                        if (select("Block him at the Left:Block him at the Right:Block him at the back") == 2) {
119                                                mes "^3355FFThe killer remains";
120                                                mes "unable to move and looks";
121                                                mes "incredibly confused! Right";
122                                                mes "now, you're using the Close";
123                                                mes "Confine skill perfectly!^000000";
124                                                specialeffect 204; //"Killer#Rogueguild" EF_POTION1
125                                                specialeffect2 210; // EF_POTION7
126                                                next;
127                                        }
128                                        else {
129                                                mes "^3355FFWait--!";
130                                                mes "For some reason,";
131                                                mes "you sense that's not";
132                                                mes "the direction the killer";
133                                                mes "is moving at this moment.";
134                                                mes "You naturally correct yourself.^000000";
135                                                next;
136                                        }
137                                }
138                                else if (.@move_1 == 3) {
139                                        specialeffect 177; //"Killer#Rogueguild" EF_CHANGEEARTH
140                                        if (select("Block him at the Left:Block him at the Right:Block him at the back") == 3) {
141                                                mes "^3355FFThe killer remains";
142                                                mes "unable to move and looks";
143                                                mes "incredibly confused! Right";
144                                                mes "now, you're using the Close";
145                                                mes "Confine skill perfectly!^000000";
146                                                specialeffect 204; //"Killer#Rogueguild" EF_POTION1
147                                                specialeffect2 210; // EF_POTION7
148                                                next;
149                                        }
150                                        else {
151                                                mes "^3355FFWait--!";
152                                                mes "For some reason,";
153                                                mes "you sense that's not";
154                                                mes "the direction the killer";
155                                                mes "is moving at this moment.";
156                                                mes "You naturally correct yourself.^000000";
157                                                next;
158                                        }
159                                }
160                        }
161                }
162                mes "^3355FFYou successfully";
163                mes "retrieved the priceless";
164                mes "skill book written by the";
165                mes "legendary Chae Takbae.^000000";
166                close2;
167                disablenpc "Killer#Rogueguild";
168                donpcevent "#killershow01::OnDisable";
169                end;
170        }
171        else if (ROG_SK == 11) {
172                mes "[Killer]";
173                mes "Grrrrr...";
174                mes "S-still...";
175                mes "C-can't... Move!";
176                close2;
177                disablenpc "Killer#Rogueguild";
178                donpcevent "#killershow01::OnDisable";
179                end;
180        }
181        end;
182}
183
184in_rogue,355,179,0      script  Haijara Greg#rogueguild 46,{
185        if (BaseJob == Job_Rogue) {
186                if (ROG_SK == 12 && Upper == 1) {
187                        mes "[Haijara Greg]";
188                        mes "Hm? Ah, amnesia as";
189                        mes "resulting from transcending,";
190                        mes "eh? Then I will teach you the";
191                        mes "Close Confine skill once again.";
192                        specialeffect2 348; // EF_LIGHTSPHERE
193                        skill 1005,1,0;
194                        set ROG_SK,13;
195                        close;
196                }
197                else if (ROG_SK == 13 && Upper == 1) {
198                        mes "[Haijara Greg]";
199                        mes "A Stalker, eh?";
200                        mes "Make sure that you";
201                        mes "use your abilities to";
202                        mes "malign foes that deserve";
203                        mes "to be stalked. Best of";
204                        mes "luck to you, adventurer.";
205                        close;
206                }
207                else {
208                        if (ROG_SK < 1) {
209                                mes "[Haijara Greg]";
210                                mes "H-how did you find this";
211                                mes "place? I thought this panic";
212                                mes "room was supposed to be";
213                                mes "impenetrable, even by Rogues!";
214                                next;
215                                mes "[Haijara Greg]";
216                                mes "This can't be good!";
217                                mes "It will only be a matter of";
218                                mes "time before they find me...";
219                                close;
220                        }
221                        else if (ROG_SK == 1) {
222                                mes "[Haijara Greg]";
223                                mes "Wh-who are you,";
224                                mes "and how did you get";
225                                mes "in here? Identify yourself!";
226                                next;
227                                if (select("I don't mean you any harm!:Give us what we want!") == 1) {
228                                        mes "[Haijara Greg]";
229                                        mes "No...?";
230                                        mes "Then... Then";
231                                        mes "why have you come?";
232                                        mes "It is no accident that";
233                                        mes "you have found me.";
234                                        next;
235                                        if (select("I came to help you.:Oh, actually, I wasn't looking for you.") == 1) {
236                                                mes "[Haijara Greg]";
237                                                mes "Hmm... Well, I suppose";
238                                                if (Upper == 1)
239                                                        mes "I can trust a fellow Rogue";
240                                                else
241                                                        mes "I can trust a fellow Stalker";
242                                                mes "with my predictament. Honor";
243                                                mes "among thieves and all that.";
244                                                mes "Alright. Have you ever heard";
245                                                mes "the legend of Chae Takbae?";
246                                                next;
247                                                if (select("No:Yes") == 1) {
248                                                        mes "[Haijara Greg]";
249                                                        mes "100 years ago, Chae Takbae";
250                                                        mes "was the very first person to";
251                                                        mes "transcend his limits. He was";
252                                                        mes "also the very person to choose";
253                                                        mes "a different path, rather than the job order he previously had.";
254                                                        next;
255                                                        mes "[Haijara Greg]";
256                                                        mes "He was originally a Monk,";
257                                                        mes "but after transcending, he";
258                                                        mes "somehow became a Stalker.";
259                                                        mes "Retaining his knowledge of";
260                                                        mes "the Monk's Root skill, he adapted^FFFFFF ^000000 it for the purposes of the Rogues.";
261                                                        next;
262                                                        mes "[Haijara Greg]";
263                                                        mes "Chae Takbae recorded the";
264                                                        mes "fundamentals for this new";
265                                                        mes "Rogue skill in a book that";
266                                                        mes "I was fortunate enough to";
267                                                        mes "obtain. But as soon as I got";
268                                                        mes "it, the blackmailing begain...";
269                                                        next;
270                                                        mes "[Haijara Greg]";
271                                                        mes "There are unscrupulous";
272                                                        mes "parties that will use any";
273                                                        mes "means to take the book away";
274                                                        mes "from me. I can understand, as";
275                                                        mes "my sons and I have learned new";
276                                                        mes "skills from Takbae's writings.";
277                                                        next;
278                                                        mes "[Haijara Greg]";
279                                                        mes "However, I am running";
280                                                        mes "out of time and those men";
281                                                        mes "will inevitably find me.";
282                                                        mes "Will you help me save";
283                                                        mes "myself and my sons?";
284                                                        next;
285                                                        if (select("Sure!:Sorry, but I'm busy.") == 1) {
286                                                                mes "[Haijara Greg]";
287                                                                mes "Oh, thank you so much!";
288                                                                mes "Listen, I can't risk being";
289                                                                mes "found, so would you take";
290                                                                mes "this letter to my youngest";
291                                                                mes "son, ^FF0000Louis Greg^000000? Hurry,";
292                                                                mes "there's not much time left!";
293                                                                set ROG_SK,2;
294                                                                close;
295                                                        }
296                                                        mes "[Haijara Greg]";
297                                                        mes "I... I see.";
298                                                        mes "But please realize";
299                                                        mes "that, if not you, who";
300                                                        mes "can I trust to help me?";
301                                                        close;
302                                                }
303                                                mes "[Haijara Greg]";
304                                                mes "Then you would know the";
305                                                mes "value of the skill book he has";
306                                                mes "written that I now possess.";
307                                                mes "However, I'm hounded by men";
308                                                mes "who will do anything to get it.";
309                                                mes "Would you please help me?";
310                                                next;
311                                                if (select("Sure!:Sorry, but I'm busy.") == 1) {
312                                                        mes "[Haijara Greg]";
313                                                        mes "Oh, thank you so much!";
314                                                        mes "Listen, I can't risk being";
315                                                        mes "found, so would you take";
316                                                        mes "this letter to my youngest";
317                                                        mes "son, ^FF0000Louis Greg^000000? Hurry,";
318                                                        mes "there's not much time left!";
319                                                        set ROG_SK,2;
320                                                        close;
321                                                }
322                                                mes "[Haijara Greg]";
323                                                mes "I... I see.";
324                                                mes "But please realize";
325                                                mes "that, if not you, who";
326                                                mes "can I trust to help me?";
327                                                close;
328                                        }
329                                        mes "[Haijara Greg]";
330                                        mes "Hm...?";
331                                        mes "That seems unlikely, but";
332                                        mes "I suppose I better give you";
333                                        mes "the benefit of the doubt.";
334                                        mes "Well then, I hope that you";
335                                        mes "can find your way out of here.";
336                                        close;
337                                }
338                                mes "[Haijara Greg]";
339                                mes "I see. So be it.";
340                                mes "I'll show you the skill";
341                                mes "that you covet so much...";
342                                mes "^FF0000Close Confine^000000!";
343                                specialeffect 174; //"Haijara Greg#rogueguild" EF_CHANGECOLD
344                                specialeffect2 175; // EF_CHANGEWIND
345                                next;
346                                mes "[Haijara Greg]";
347                                mes "Hmpf. Now you are";
348                                mes "helpless, allowing";
349                                mes "me to do this: ^FF0000Back Stab^000000!";
350                                specialeffect2 190; // EF_COMBOATTACK5
351                                percentheal -95,0;
352                                next;
353                                mes "[Haijara Greg]";
354                                mes "Now get out of here.";
355                                mes "Never show your greedy";
356                                mes "face in front of me again.";
357                                mes "And just be happy that";
358                                mes "I haven't killed you!";
359                                set ROG_SK,1;
360                                close;
361                        }
362                        else if (ROG_SK == 2) {
363                                mes "[Haijara Greg]";
364                                mes "We're running out of";
365                                mes "time... Please bring this";
366                                mes "letter to my youngest son,";
367                                mes "^FF0000Louis^000000, as soon as you can!";
368                                mes "You can find him in the Rogue";
369                                mes "Guild near ^FF0000Hollgrehenn Junior^000000.";
370                                close;
371                        }
372                        else if (ROG_SK == 3) {
373                                mes "[Haijara Greg]";
374                                mes "Louis sent you to find";
375                                mes "^FF0000Thor^000000? He's in the Rogue";
376                                mes "Guild near ^FF0000Hermanthorn Jr.^000000,";
377                                mes "isn't he? I'm sorry that you";
378                                mes "have to visit my sons one by";
379                                mes "one... I know it's impractical.";
380                                close;
381                        }
382                        else if (ROG_SK == 4) {
383                                mes "[Haijara Greg]";
384                                mes "Ah, looking for ^FF0000Jay^000000, eh?";
385                                mes "He's near ^FF0000Antonio Jr.^000000 here";
386                                mes "in the Rogue Guild. Or at";
387                                mes "least, he's usually there.";
388                                close;
389                        }
390                        else if (ROG_SK == 5) {
391                                mes "[Haijara Greg]";
392                                mes "Oh, you're back!";
393                                mes "And you've brought";
394                                mes "a letter from Jay.";
395                                mes "Good, good, let me";
396                                mes "read what he has to say...";
397                                set ROG_SK,6;
398                                next;
399                                mes "[Haijara Greg]";
400                                mes "Ah, great news! He's";
401                                mes "contacted the Rogue Guild";
402                                mes "to request extra protection";
403                                mes "and to alert their guard. I can";
404                                mes "finally relax just a little now. No one messes with Rogues.";
405                                next;
406                                mes "[Haijara Greg]";
407                                mes "Thank you very much for";
408                                mes "your help. I would be in";
409                                mes "hiding forever if it weren't";
410                                mes "for you. In return, let me";
411                                mes "offer you the chance to learn";
412                                mes "Chae Takbae's secret skill.";
413                                next;
414                                mes "[Haijara Greg]";
415                                mes "Please speak to ^FF0000Thor^000000";
416                                mes "and tell him that I've";
417                                mes "permitted you to learn";
418                                mes "the skill I have taught";
419                                mes "all of my sons. He'll";
420                                mes "comply, I'm sure of it.";
421                                close;
422                        }
423                        else if (ROG_SK == 6) {
424                                mes "[Haijara Greg]";
425                                mes "Please ask Thor to teach";
426                                mes "you Chae Takbae's secret";
427                                mes "Rogue skill. Understand that";
428                                mes "I can't teach you this skill";
429                                mes "with the equipment here in";
430                                mes "this sloven panic room.";
431                                close;
432                        }
433                        else if (ROG_SK == 7) {
434                                mes "[Haijara Greg]";
435                                mes "Hm...? Aren't you";
436                                mes "supposed to be in the";
437                                mes "middle of training to learn";
438                                mes "that skill? Please speak to";
439                                mes "Thor and complete your training. ^FFFFFF ^000000";
440                                close;
441                        }
442                        else if (ROG_SK == 8) {
443                                mes "[Haijara Greg]";
444                                mes "You've completed the";
445                                mes "training? Ah, that's quite";
446                                mes "exceptional. However, you";
447                                mes "should speak to Thor first...";
448                                close;
449                        }
450                        else if (ROG_SK == 9) {
451                                mes "[Haijara Greg]";
452                                mes "Oh, you've come back!";
453                                mes "I hear that you've completed";
454                                mes "the training and are ready";
455                                mes "to hear about the applications";
456                                mes "for the Close Confine skill.";
457                                next;
458                                mes "[Haijara Greg]";
459                                mes "Wah! What th--?!";
460                                mes "Stop! P-please, stop";
461                                mes "that man! We can't let";
462                                mes "him steal that book!";
463                                specialeffect 190; //"Haijara Greg#rogueguild" EF_COMBOATTACK5
464                                donpcevent "Killer#Rogueguild::OnEnable";
465                                set ROG_SK,10;
466                                close;
467                        }
468                        else if (ROG_SK == 10) {
469                                mes "[Haijara Greg]";
470                                mes "That man just stole the";
471                                mes "Close Confine skill book!";
472                                mes "Please! Don't let him get";
473                                mes "away! That book is priceless!";
474                                donpcevent "#killershow01::OnEnable";
475                                close;
476                        }
477                        else if (ROG_SK == 11) {
478                                donpcevent "Killer#Rogueguild::OnDisable";
479                                donpcevent "#killershow01::OnDisable";
480                                mes "^3355FFYou returned the";
481                                mes "skill book written by";
482                                mes "Chae Takbae to Haijara.^000000";
483                                next;
484                                mes "[Haijara Greg]";
485                                mes "Thanks so much for your";
486                                mes "assistance. Now, if you'd";
487                                mes "like to know some detailed";
488                                mes "information about Close";
489                                mes "Confine, I can tell you more";
490                                mes "about the skill if you like.";
491                                next;
492                                if (select("Yes, please.:No, thanks.") == 1) {
493                                        mes "[Haijara Greg]";
494                                        mes "As you must know,";
495                                        mes "Close Confine immobilizes";
496                                        mes "an enemy that is very close";
497                                        mes "to you. However, there are";
498                                        mes "a few nuances regarding its";
499                                        mes "use on players or monsters.";
500                                        next;
501                                        mes "[Haijara Greg]";
502                                        mes "Now, Close Confine is";
503                                        mes "similar to the Monk's skill,";
504                                        mes "Root, but it only inhibits the";
505                                        mes "enemy's movement, not";
506                                        mes "its attack capabilities.";
507                                        next;
508                                        mes "[Haijara Greg]";
509                                        mes "With the exception of";
510                                        mes "Back Stab, which we can";
511                                        mes "only use once during Close";
512                                        mes "Confine's duration, we can";
513                                        mes "use any skill during the";
514                                        mes "Close Confine status.";
515                                        next;
516                                        mes "[Haijara Greg]";
517                                        mes "Enemies affected by";
518                                        mes "Close Confine can escape";
519                                        mes "by using Fly Wing, Butterfly";
520                                        mes "Wings, or the Teleport or";
521                                        mes "Hiding skills. However, only";
522                                        mes "Hiding is active during WoE.";
523                                        next;
524                                        mes "[Haijara Greg]";
525                                        mes "Therefore, Close Confine";
526                                        mes "can be a very useful skill";
527                                        mes "during Guild War sieges, given";
528                                        mes "that the target doesn't use the";
529                                        mes "the Hiding skill to get away.";
530                                        next;
531                                        mes "[Haijara Greg]";
532                                        mes "With the exception of Boss";
533                                        mes "monsters, Close Confine";
534                                        mes "will immobilize monsters for";
535                                        mes "10 seconds, giving Rogues";
536                                        mes "new possibilities when";
537                                        mes "hunting in a party.";
538                                        next;
539                                        mes "[Haijara Greg]";
540                                        mes "Well, that's all I can tell";
541                                        mes "you about Close Confine.";
542                                        mes "I hope that you can learn";
543                                        mes "more about this skill through";
544                                        mes "practice, and that you become^FFFFFF ^000000 as great a legend as Chae Takbae.";
545                                        set ROG_SK,12;
546                                        skill 1005,1,0;
547                                        specialeffect2 348; // EF_LIGHTSPHERE
548                                        close;
549                                }
550                                mes "[Haijara Greg]";
551                                mes "All right then...";
552                                mes "I hope that you can";
553                                mes "learn more about Close";
554                                mes "Confine through diligent";
555                                mes "practice. Good luck, and";
556                                mes "thanks again for your help.";
557                                set ROG_SK,12;
558                                skill 1005,1,0;
559                                specialeffect2 348; // EF_LIGHTSPHERE
560                                close;
561                        }
562                        mes "[Haijara Greg]";
563                        mes "Thank you for helping";
564                        mes "me protect this priceless";
565                        mes "skill book. I hope that the";
566                        mes "next time we meet, we'll be";
567                        mes "comrades on the battlefield...";
568                        close;
569                }
570        }
571        else {
572                mes "[Haijara Greg]";
573                mes "H-how did you find this";
574                mes "place? I thought this panic";
575                mes "room was supposed to be";
576                mes "impenetrable, even by Rogues!";
577                next;
578                mes "[Haijara Greg]";
579                mes "This can't be good!";
580                mes "It will only be a matter of";
581                mes "time before they find me...";
582                next;
583                mes "[Haijara Greg]";
584                mes "Please...";
585                mes "Find me a Stalker";
586                mes "or a Rogue that I can";
587                mes "trust and send him to";
588                mes "help me! I don't have ";
589                mes "much time left...";
590                close;
591        }
592}
593
594in_rogue,152,29,0       script  Louis Greg#rogueguild   84,{
595        if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
596                if (ROG_SK < 1) {
597                        mes "[Louis Greg]";
598                        mes "My father just...";
599                        mes "He just vanished!";
600                        mes "He was teaching me and";
601                        mes "my brothers a new skill,";
602                        mes "but lately he began acting";
603                        mes "paranoid for some reason...";
604                        next;
605                        mes "[Louis Greg]";
606                        mes "Maybe he went into hiding?";
607                        mes "I know there's a hidden panic";
608                        mes "room in the Rogue Guild, but";
609                        mes "even I don't know where to find";
610                        mes "it. I hope everything's okay...";
611                        set ROG_SK,1;
612                        close;
613                }
614                else if (ROG_SK == 1) {
615                        mes "[Louis Greg]";
616                        mes "Father did warn that";
617                        mes "people might come after us";
618                        mes "if they're learned about the";
619                        mes "new skill we were learning.";
620                        mes "Maybe he went into hiding in";
621                        mes "the Rogue Guild's panic room...";
622                        close;
623                }
624                else if (ROG_SK == 2) {
625                        mes "[Louis Greg]";
626                        mes "What's this...?";
627                        mes "A letter from my";
628                        mes "father? Oh, he must";
629                        mes "be alright! Quick, let";
630                        mes "me read it right away!";
631                        set ROG_SK,3;
632                        next;
633                        mes "[Louis Greg]";
634                        mes "Oh no, he may be safe for";
635                        mes "now, but father is being hunted";
636                        mes "by some dangerous people? My";
637                        mes "brother Thor will want to know";
638                        mes "about this. Let me write him";
639                        mes "a letter really quickly...";
640                        next;
641                        mes "[Louis Greg]";
642                        mes "I know that I'm in no";
643                        mes "position to ask any favors,";
644                        mes "but I guess my father must";
645                        mes "trust you. Please, would you";
646                        mes "take my letter and deliver it";
647                        mes "to my older brother, Thor?";
648                        next;
649                        mes "[Louis Greg]";
650                        mes "You can find Thor";
651                        mes "next to Hermanthorn Jr.";
652                        mes "inside the Rogue Guild.";
653                        mes "I'd really appreciate it if";
654                        mes "you could help my family.";
655                        close;
656                }
657                else if (ROG_SK == 3) {
658                        mes "[Louis Greg]";
659                        mes "My elder brother, ^FF0000Thor^000000,";
660                        mes "must know about this right";
661                        mes "away! Please bring him this";
662                        mes "letter for me. He should be";
663                        mes "near ^FF0000Hermanthorn Jr.^000000 here";
664                        mes "inside the Rogue Guild.";
665                        close;
666                }
667                else if (ROG_SK == 4) {
668                        mes "[Louis Greg]";
669                        mes "You're looking for my";
670                        mes "brother, Jay? He's usually";
671                        mes "hanging out here in the";
672                        mes "Rogue Guild with Antonio Jr.";
673                        close;
674                }
675                else if (ROG_SK == 5) {
676                        mes "[Louis Greg]";
677                        mes "If you need to speak";
678                        mes "to my father, he's still";
679                        mes "probably in the hidden panic";
680                        mes "room inside the Rogue Guild.";
681                        mes "I still don't know where that";
682                        mes "place could possibly be...";
683                        close;
684                }
685                else if (ROG_SK == 6) {
686                        mes "[Louis Greg]";
687                        mes "You want to learn the";
688                        mes "secret Rogue skill? Oh,";
689                        mes "you should probably talk";
690                        mes "to ^FF0000Thor^000000 about that. I...";
691                        mes "I'm really bad at explaining";
692                        mes "things to people. Really bad.";
693                        close;
694                }
695                else if (ROG_SK == 7) {
696                        mes "[Louis Greg]";
697                        mes "Hm? You're in the middle";
698                        mes "of learning the secret Rogue";
699                        mes "skill, aren't you? Ooh, then";
700                        mes "you're not supposed to be here";
701                        mes "just yet. Please go back and";
702                        mes "talk to ^FF0000Thor^000000 again, okay?";
703                        close;
704                }
705                else if (ROG_SK == 8) {
706                        mes "[Louis Greg]";
707                        mes "Oh, oh!";
708                        mes "You're done with";
709                        mes "the training? Ah,";
710                        mes "then you need to";
711                        mes "talk to Thor again!";
712                        close;
713                }
714                else if (ROG_SK == 9) {
715                        mes "[Louis Greg]";
716                        mes "You wanted to learn";
717                        mes "more about Close Confine?";
718                        mes "Ugh, then you better speak";
719                        mes "to my father. I just learned";
720                        mes "that skill myself, you know.";
721                        close;
722                }
723                else if (ROG_SK == 11) {
724                        mes "[Louis Greg]";
725                        mes "I just heard from my";
726                        mes "brothers that Chae Takbae";
727                        mes "developed Close Confine";
728                        mes "as a way to brutally beat his";
729                        mes "enemies, keeping them from";
730                        mes "running away. Is that true?";
731                        close;
732                }
733                mes "[Louis Greg]";
734                mes "Wow, you're really";
735                mes "great! I wish I were";
736                mes "as powerful as you.";
737                mes "I hate being a kid!";
738                close;
739        }
740        mes "[Louis Greg]";
741        mes "Why'd I become a Rogue?";
742        mes "I guess I just like being";
743        mes "sneaky. That, and being";
744        mes "moral and law abiding is";
745        mes "just too tough, you know?";
746        close;
747}
748
749in_rogue,268,125,2      script  Thor Greg#rogueguild    86,{
750        if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
751                if (ROG_SK < 1) {
752                        mes "[Thor Greg]";
753                        mes "Where did father go?";
754                        mes "I hope those weird men";
755                        mes "didn't get to him. With";
756                        mes "any luck, he's hidden in";
757                        mes "the panic room, but still...";
758                        set ROG_SK,1;
759                        close;
760                }
761                else if (ROG_SK == 1) {
762                        mes "[Thor Greg]";
763                        mes "Hm... My father might";
764                        mes "be hiding in the panic";
765                        mes "room. I've never been able";
766                        mes "to find it, but Markie says";
767                        mes "that the entrance is cleverly";
768                        mes "hidden to her left. Hmmm...";
769                        close;
770                }
771                else if (ROG_SK == 2) {
772                        mes "[Thor Greg]";
773                        mes "Are you looking for";
774                        mes "my little brother, ^FF0000Louis^000000?";
775                        mes "Oh, he's always hanging";
776                        mes "around that ^FF0000Hollgrehenn Jr.^000000";
777                        mes "here in the Rogue Guild.";
778                        mes "What did you need him for?";
779                        close;
780                }
781                else if (ROG_SK == 3) {
782                        mes "[Thor Greg]";
783                        mes "What's this you're";
784                        mes "giving me? A letter";
785                        mes "from Louis? Let's see...";
786                        set ROG_SK,4;
787                        next;
788                        mes "[Thor Greg]";
789                        mes "Oh God, father's in";
790                        mes "serious trouble! I better";
791                        mes "tell my older brother, Jay,";
792                        mes "right away! Quick, find ^FF0000Jay^000000";
793                        mes "next to ^FF0000Antonio Jr.^000000 here in";
794                        mes "the guild! P-please hurry!";
795                        close;
796                }
797                else if (ROG_SK == 4) {
798                        mes "[Thor Greg]";
799                        mes "You can find Jay hanging";
800                        mes "out with Antonio Jr. here";
801                        mes "inside the Rogue Guild. ";
802                        mes "Please bring him the letter";
803                        mes "I've written as soon as possible! ^FFFFFF ^000000";
804                        close;
805                }
806                else if (ROG_SK == 5) {
807                        mes "[Thor Greg]";
808                        mes "Hopefully, father hasn't";
809                        mes "gone outside of the Rogue";
810                        mes "Guild's panic room. That";
811                        mes "may be the only place";
812                        mes "where he's safe...";
813                        close;
814                }
815                else if (ROG_SK == 6) {
816                        mes "[Thor Greg]";
817                        mes "What's that? Father";
818                        mes "wanted me to teach you";
819                        mes "the secret Rogue skill?";
820                        mes "Alright, I'll train you in the";
821                        mes "same way father did. Would";
822                        mes "you like an explanation first?";
823                        next;
824                        mes "[Thor Greg]";
825                        mes "If you don't want an";
826                        mes "explanation, I'll just";
827                        mes "send you to the training";
828                        mes "ground right away so that";
829                        mes "you can learn ^FF0000Close Confine^000000.";
830                        next;
831                        if (select("Listen to Explanation:Go to Training Ground") == 1) {
832                                mes "[Thor Greg]";
833                                mes "Alright, the very first step";
834                                mes "to learning ^FF0000Close Confine^000000";
835                                mes "is to master blocking your";
836                                mes "enemy's movement. I'll send";
837                                mes "you to a special training";
838                                mes "ground so you can practice.";
839                                next;
840                                mes "[Thor Greg]";
841                                mes "There, you'll encounter our";
842                                mes "training partner. Approach her";
843                                mes "closely and make sure that you";
844                                mes "predict and block her movements";
845                                mes "to the left, right or backward.^FFFFFF ^000000 Get ready, I'm sending you now...";
846                                close2;
847                                warp "in_rogue",89,114;
848                                end;
849                        }
850                        warp "in_rogue",89,114;
851                        end;
852                }
853                else if (ROG_SK == 7) {
854                        mes "[Thor Greg]";
855                        mes "Alright, I'm going to break";
856                        mes "the fourth wall here and assume";
857                        mes "you were disconnected from the";
858                        mes "game. Would you like to return";
859                        mes "to the training ground in order";
860                        mes "to learn ^FF0000Close Confine^000000?";
861                        next;
862                        if (select("Yes, please.:No, thanks.") == 1) {
863                                mes "[Thor Greg]";
864                                mes "Alright, the very first step";
865                                mes "to learning ^FF0000Close Confine^000000";
866                                mes "is to master blocking your";
867                                mes "enemy's movement. I'll send";
868                                mes "you to a special training";
869                                mes "ground so you can practice.";
870                                next;
871                                mes "[Thor Greg]";
872                                mes "There, you'll encounter our";
873                                mes "training partner. Approach her";
874                                mes "closely and make sure that you";
875                                mes "predict and block her movements";
876                                mes "to the left, right or backward.^FFFFFF ^000000 Get ready, I'm sending you now...";
877                                set ROG_SK,6;
878                                close2;
879                                warp "in_rogue",89,114;
880                                end;
881                        }
882                        mes "[Thor Greg]";
883                        mes "Alright, alright.";
884                        mes "When you feel ready";
885                        mes "to resume training,";
886                        mes "just let me know.";
887                        close;
888
889                }
890                else if (ROG_SK == 8) {
891                        mes "[Thor Greg]";
892                        mes "Ah, I hear from Kienna";
893                        mes "that you've completed your";
894                        mes "training. Congratulations!";
895                        mes "Now, please speak to my";
896                        mes "father so that he can explain^FFFFFF ^000000 the Close Confine skill in detail.";
897                        set ROG_SK,9;
898                        close;
899                }
900                else if (ROG_SK == 9) {
901                        mes "[Thor Greg]";
902                        mes "Please talk to my father";
903                        mes "so that he can explain the";
904                        mes "nuances of the Close Confine";
905                        mes "skill to you. He should still be^FFFFFF ^000000 in the Rogue Guild's panic room.";
906                        close;
907                }
908                else if (ROG_SK == 11) {
909                        mes "[Thor Greg]";
910                        mes "You know, Chae Takbae";
911                        mes "would say, ''I'm Chae";
912                        mes "Takbae. And you are...?''";
913                        mes "to opponents, and right";
914                        mes "before they could answer,";
915                        mes "he'd beat them to a pulp.";
916                        next;
917                        mes "[Thor Greg]";
918                        mes "He really is";
919                        mes "a legendary hero";
920                        mes "amongst Rogues...!";
921                        close;
922                }
923                mes "[Thor Greg]";
924                mes "Hm...?";
925                mes "It seems that";
926                mes "you're much stronger";
927                mes "than even me. There's";
928                mes "probably not too many";
929                mes "people who'd mess with you...";
930                close;
931        }
932        mes "[Thor Greg]";
933        mes "Hmm, gank this, gank";
934        mes "that. *Sigh* It's my most";
935        mes "shameful fault: I spend zeny";
936        mes "almost as quickly as I can";
937        mes "steal it. It's irresponsible...";
938        close;
939}
940
941in_rogue,181,114,3      script  Jay Greg#rogueguild     85,{
942        if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
943                if (ROG_SK < 1) {
944                        mes "[Jay Greg]";
945                        mes "My father must be hidden";
946                        mes "in the Rogue Guild's panic";
947                        mes "room. Strangely, my brothers";
948                        mes "and I can never find it and";
949                        mes "figure out whether he's safe...";
950                        set ROG_SK,1;
951                        next;
952                        mes "[Jay Greg]";
953                        mes "Recently, he's been pursued";
954                        mes "by these strange men who've";
955                        mes "been threatening our family.";
956                        mes "Well, he did just teach us";
957                        mes "a new skill, so he can use";
958                        mes "that to protect himself...";
959                        close;
960                }
961                else if (ROG_SK == 1) {
962                        mes "[Jay Greg]";
963                        mes "I'm guessing my father";
964                        mes "hid himself in the Rogue";
965                        mes "Guild's panic room. We can";
966                        mes "never find it, but supposedly";
967                        mes "the entrance is hidden close";
968                        mes "to Markie somewhere.";
969                        close;
970                }
971                else if (ROG_SK == 2) {
972                        mes "[Jay Greg]";
973                        mes "You're looking for";
974                        mes "Louis, my little brother?";
975                        mes "He's here in the Rouge Guild,";
976                        mes "so it shouldn't be too hard to";
977                        mes "find him. He's probably just";
978                        mes "standing near Hollgrehen Jr.";
979                        close;
980                }
981                else if (ROG_SK == 3) {
982                        mes "[Jay Greg]";
983                        mes "Thor? He should be";
984                        mes "around the Rogue Guild";
985                        mes "somewhere. Have you tried";
986                        mes "looking around Hermathorn Jr.?";
987                        close;
988                }
989                else if (ROG_SK == 4) {
990                        mes "[Jay Greg]";
991                        mes "A letter for me...?";
992                        mes "Ah, it's from Thor, so";
993                        mes "I guess I better read";
994                        mes "it right away. Hmmm...";
995                        set ROG_SK,5;
996                        next;
997                        mes "[Jay Greg]";
998                        mes "I see... I must report";
999                        mes "this to the Rogue Guild";
1000                        mes "right away, and send a reply";
1001                        mes "to my father. Hmm. Let me";
1002                        mes "write him a letter right now.";
1003                        mes "Please give me a moment...";
1004                        next;
1005                        mes "[Jay Greg]";
1006                        mes "There, it's done. Please";
1007                        mes "give this to my father with";
1008                        mes "all the haste you can muster.";
1009                        mes "I know it's much to ask, but";
1010                        mes "I cannot find the way to the";
1011                        mes "hidden panic room myself...";
1012                        close;
1013                }
1014                else if (ROG_SK == 5) {
1015                        mes "[Jay Greg]";
1016                        mes "Please give my reply";
1017                        mes "to my father as soon as";
1018                        mes "you can. He's still hidden";
1019                        mes "in the Rogue Guild's panic";
1020                        mes "room. That is, if our enemies";
1021                        mes "still haven't found him yet.";
1022                        close;
1023                }
1024                else if (ROG_SK == 6) {
1025                        mes "[Jay Greg]";
1026                        mes "You need to train for";
1027                        mes "the Close Confine skill?";
1028                        mes "I think Thor is the only";
1029                        mes "one with access to the";
1030                        mes "training ground, so";
1031                        mes "talk to him first.";
1032                        close;
1033                }
1034                else if (ROG_SK == 7) {
1035                        mes "[Jay Greg]";
1036                        mes "You need to train for";
1037                        mes "the Close Confine skill?";
1038                        mes "I think Thor is the only";
1039                        mes "one with access to the";
1040                        mes "training ground, so";
1041                        mes "talk to him first.";
1042                        close;
1043                }
1044                else if (ROG_SK == 8) {
1045                        mes "[Jay Greg]";
1046                        mes "Ah, you finished the";
1047                        mes "training for Close Confine,";
1048                        mes "did you? Great, now go and";
1049                        mes "tell my brother, Thor.";
1050                        close;
1051                }
1052                else if (ROG_SK == 9) {
1053                        mes "[Jay Greg]";
1054                        mes "Hm. You should probably";
1055                        mes "talk to my father to learn";
1056                        mes "more of the nuances about";
1057                        mes "the Close Confine skill.";
1058                        mes "Have you seen him in the";
1059                        mes "Rogue Guild's panic room?";
1060                        close;
1061                }
1062                else if (ROG_SK == 12) {
1063                        mes "[Jay Greg]";
1064                        mes "Chae Takbae sure";
1065                        mes "seemed like a stubborn,";
1066                        mes "thuggish guy. But he must";
1067                        mes "have been pretty smart to";
1068                        mes "invent some of his own skills.";
1069                        close;
1070                }
1071                mes "[Jay Greg]";
1072                mes "I get the feeling";
1073                mes "that you're going to";
1074                mes "be one of the best Rogues";
1075                mes "around, if you already aren't.";
1076                close;
1077        }
1078        mes "[Jay Greg]";
1079        mes "Ever since I learned";
1080        mes "Intimdate, I've gotten";
1081        mes "real punchy, maybe even";
1082        mes "masochistic. I mean, if they";
1083        mes "hit you with a skill, you can";
1084        mes "hit them back with it!";
1085        close;
1086}
1087
1088prt_are01,150,150,0     script  #1strecog       -1,10,10,{
1089OnTouch:
1090        donpcevent "#1st5min::OnEnable";
1091        donpcevent "#1stmove::OnEnable";
1092        disablenpc "#1strecog";
1093        end;
1094}
1095
1096prt_are01,135,135,0     script  #1st5min        -1,{
1097OnInit:
1098        disablenpc "#1st5min";
1099        end;
1100
1101OnEnable:
1102        enablenpc "#1st5min";
1103        initnpctimer;
1104        end;
1105
1106OnDisable:
1107        stopnpctimer;
1108        disablenpc "#1st5min";
1109        end;
1110
1111OnTimer1000:
1112        mapannounce "prt_are01","Welcome to the Close Confine Training Ground. You will be automatically teleported outside in 5 minutes.",bc_map,"0x00ff00";
1113        end;
1114
1115OnTimer290000:
1116        mapannounce "prt_are01","You will be teleported outside in 20 seconds.",bc_map,"0x00ff00";
1117        end;
1118
1119OnTimer310000:
1120        mapannounce "prt_are01","You will be teleported outside in 5 seconds.",bc_map,"0x00ff00";
1121        end;
1122
1123OnTimer315000:
1124        mapannounce "prt_are01","You are now being teleported outside.",bc_map,"0x00ff00";
1125        disablenpc "Kienna#1st";
1126        disablenpc "Kienna#2nd";
1127        disablenpc "Kienna#3rd";
1128        disablenpc "Kienna#4th";
1129        disablenpc "Kienna#5th";
1130        disablenpc "Kienna#6th";
1131        disablenpc "Kienna#7th";
1132        disablenpc "Kienna#8th";
1133        donpcevent "#1stmove::OnDisable";
1134        enablenpc "#1strecog";
1135        donpcevent "Waiting Room#rogue10::OnEnable";
1136        stopnpctimer;
1137        mapwarp "prt_are01","in_rogue",264,124;
1138        end;
1139}
1140
1141prt_are01,135,135,0     script  #1stmove        -1,{
1142OnInit:
1143        disablenpc "#1stmove";
1144        end;
1145
1146OnEnable:
1147        enablenpc "#1stmove";
1148        initnpctimer;
1149        end;
1150
1151OnTimer3000:
1152        mapannounce "prt_are01","Kienna will appear in 1 second. Please approach her as closely as possible.",bc_map,"0x00ff00";
1153        end;
1154
1155OnTimer5000:
1156        switch(rand(1,8)) {
1157        case 1:
1158                enablenpc "Kienna#1st";
1159                break;
1160        case  2:
1161                enablenpc "Kienna#2nd";
1162                break;
1163        case  3:
1164                enablenpc "Kienna#3rd";
1165                break;
1166        case  4:
1167                enablenpc "Kienna#4th";
1168                break;
1169        case  5:
1170                enablenpc "Kienna#5th";
1171                break;
1172        case  6:
1173                enablenpc "Kienna#6th";
1174                break;
1175        case  7:
1176                enablenpc "Kienna#7th";
1177                break;
1178        case 8:
1179                enablenpc "Kienna#8th";
1180        }
1181        end;
1182
1183OnTimer8000:
1184        disablenpc "Kienna#1st";
1185        disablenpc "Kienna#2nd";
1186        disablenpc "Kienna#3rd";
1187        disablenpc "Kienna#4th";
1188        disablenpc "Kienna#5th";
1189        disablenpc "Kienna#6th";
1190        disablenpc "Kienna#7th";
1191        disablenpc "Kienna#8th";
1192        end;
1193
1194OnTimer9000:
1195        stopnpctimer;
1196        donpcevent "#1stmove::OnEnable";
1197        mapwarp "prt_are01","prt_are01",150,150;
1198        end;
1199
1200OnDisable:
1201        stopnpctimer;
1202        disablenpc "#1stmove";
1203        end;
1204}
1205
1206prt_are01,149,162,0     script  Kienna#1st      700,1,1,{
1207        end;
1208OnTouch:
1209        callfunc "F_Kienna","1st";
1210        end;
1211}
1212
1213prt_are01,136,150,0     script  Kienna#2nd      700,1,1,{
1214        end;
1215OnTouch:
1216        callfunc "F_Kienna","2nd";
1217        end;
1218}
1219
1220prt_are01,150,138,0     script  Kienna#3rd      700,1,1,{
1221        end;
1222OnTouch:
1223        callfunc "F_Kienna","3rd";
1224        end;
1225}
1226
1227prt_are01,163,147,0     script  Kienna#4th      700,1,1,{
1228        end;
1229OnTouch:
1230        callfunc "F_Kienna","4th";
1231        end;
1232}
1233
1234prt_are01,134,140,0     script  Kienna#5th      700,1,1,{
1235        end;
1236OnTouch:
1237        callfunc "F_Kienna","5th";
1238        end;
1239}
1240
1241prt_are01,161,140,0     script  Kienna#6th      700,1,1,{
1242        end;
1243OnTouch:
1244        callfunc "F_Kienna","6th";
1245        end;
1246}
1247
1248prt_are01,161,160,0     script  Kienna#7th      700,1,1,{
1249        end;
1250OnTouch:
1251        callfunc "F_Kienna","7th";
1252        end;
1253}
1254
1255prt_are01,138,159,0     script  Kienna#8th      700,1,1,{
1256        end;
1257OnTouch:
1258        callfunc "F_Kienna","8th";
1259        end;
1260}
1261
1262function        script  F_Kienna        {
1263        if (ROG_SK == 6) {
1264                donpcevent "#1stmove::OnDisable";
1265                mes "[Kienna]";
1266                mes "Alright, in this";
1267                mes "exercise, you'll need";
1268                mes "to predict which way I'm";
1269                mes "going to move and block";
1270                mes "me from moving, essentially";
1271                mes "immobilizing me. Get ready~";
1272                set ROG_SK,7;
1273                next;
1274                while(1) {
1275                        if (.@lim_1 == 10) {
1276                                break;
1277                        }
1278                        else {
1279                                set .@lim_1,.@lim_1 + 1;
1280                                set .@move_1,rand(1,3);
1281                                if (.@move_1 == 1) {
1282                                        if (select("Block her to the Left:Block her to the Right:Block her retreat") == 1) {
1283                                                mes "[Kienna]";
1284                                                mes "Huh...?";
1285                                                mes "You blocked me!";
1286                                                mes "Very nice work~";
1287                                                specialeffect 204; //EF_POTION1
1288                                                specialeffect2 210; // EF_POTION7
1289                                                set .@suc_1,.@suc_1 + 1;
1290                                                next;
1291                                        }
1292                                        else {
1293                                                mes "[Kienna]";
1294                                                mes "Sorry, but I wasn't";
1295                                                mes "moving in that direction.";
1296                                                mes "Your block attempt failed...";
1297                                                next;
1298                                        }
1299                                }
1300                                else if (.@move_1 == 2) {
1301                                        if (select("Block her to the Left:Block her to the Right:Block her retreat") == 2) {
1302                                                mes "[Kienna]";
1303                                                mes "Huh...?";
1304                                                mes "You blocked me!";
1305                                                mes "Very nice work~";
1306                                                specialeffect 204; //EF_POTION1
1307                                                specialeffect2 210; // EF_POTION7
1308                                                set .@suc_1,.@suc_1 + 1;
1309                                                next;
1310                                        }
1311                                        else {
1312                                                mes "[Kienna]";
1313                                                mes "Sorry, but I wasn't";
1314                                                mes "moving in that direction.";
1315                                                mes "Your block attempt failed...";
1316                                                next;
1317                                        }
1318                                }
1319                                else if (.@move_1 == 3) {
1320                                        if (select("Block her to the Left:Block her to the Right:Block her retreat") == 3) {
1321                                                mes "[Kienna]";
1322                                                mes "Huh...?";
1323                                                mes "You blocked me!";
1324                                                mes "Very nice work~";
1325                                                specialeffect 204; //EF_POTION1
1326                                                specialeffect2 210; // EF_POTION7
1327                                                set .@suc_1,.@suc_1 + 1;
1328                                                next;
1329                                        }
1330                                        else {
1331                                                mes "[Kienna]";
1332                                                mes "Sorry, but I wasn't";
1333                                                mes "moving in that direction.";
1334                                                mes "Your block attempt failed...";
1335                                                next;
1336                                        }
1337                                }
1338                        }
1339                }
1340                mes "[Kienna]";
1341                mes "Alright, we're done";
1342                mes "here. You earned a";
1343                switch(.@suc_1) {
1344                case 10:
1345                        mes "training grade of ''^0000FFS^000000.''";
1346                        mes "That's a perfect score!";
1347                        break;
1348                case 9:
1349                        mes "training grade of ''^0000FFA^000000.''";
1350                        mes "You're really good at this!";
1351                        break;
1352                case 8:
1353                        mes "training grade of ''^0000FFB +^000000.''";
1354                        mes "That's very commendable!";
1355                        break;
1356                case 7:
1357                        mes "training grade of ''^0000FFB^000000.''";
1358                        mes "That's very nice work~";
1359                        break;
1360                case 6:
1361                        mes "training grade of ''^0000FFC +^000000.''";
1362                        mes "Not too bad, but you";
1363                        mes "just barely passed!";
1364                        break;
1365                case 5:
1366                        mes "training grade of ''^FF0000C^000000.''";
1367                        break;
1368                case 4:
1369                        mes "training grade of ''^FF0000D+^000000.''";
1370                        break;
1371                case 3:
1372                        mes "training grade of ''^FF0000D^000000.''";
1373                        break;
1374                case 2:
1375                        mes "training grade of ''^FF0000F^000000.''";
1376                        break;
1377                case 1:
1378                        mes "training grade of ''^FF0000F -^000000.''";
1379                        break;
1380                case 0:
1381                        mes "training grade of...";
1382                        mes "Actually, I'm not able";
1383                        mes "to calculate it. What";
1384                        mes "could have happened?!";
1385                }
1386                next;
1387                if (.@suc_1 > 5) {
1388                        mes "[Kienna]";
1389                        mes "I'm happy to say that";
1390                        mes "you've completed your";
1391                        mes "training! Let me send";
1392                        mes "you back to Thor Greg";
1393                        mes "now so that you can finish";
1394                        mes "learning ^FF0000Close Confine^000000.";
1395                        set ROG_SK,8;
1396                        disablenpc "Kienna#"+getarg(0);
1397                        donpcevent "#1st5min::OnDisable";
1398                        enablenpc "#1strecog";
1399                        close2;
1400                        donpcevent "Waiting Room#rogue10::OnEnable";
1401                        warp "in_rogue",264,124;
1402                        end;
1403                }
1404                else {
1405                        mes "[Kienna]";
1406                        mes "Hm. With this grade,";
1407                        mes "I don't think you're";
1408                        mes "quite ready to finish";
1409                        mes "learning Close Confine.";
1410                        mes "Would you like to try the";
1411                        mes "training exercise again?";
1412                        next;
1413                        if (select("Yes!:No, thanks.") == 1) {
1414                                disablenpc "Kienna#"+getarg(0);
1415                                donpcevent "#1stmove::OnEnable";
1416                                set ROG_SK,6;
1417                                warp "prt_are01",150,150;
1418                                end;
1419                        }
1420                        disablenpc "Kienna#"+getarg(0);
1421                        donpcevent "#1st5min::OnDisable";
1422                        enablenpc "#1strecog";
1423                        set ROG_SK,6;
1424                        donpcevent "Waiting Room#rogue10::OnEnable";
1425                        warp "in_rogue",264,124;
1426                        end;
1427                }
1428        }
1429        else if (ROG_SK == 7) {
1430                mes "[Kienna]";
1431                mes "You must have canceled";
1432                mes "your training in the middle";
1433                mes "of the exercise. I'm sorry,";
1434                mes "but you'll have to start";
1435                mes "from the very beginning";
1436                mes "of this training.";
1437                set ROG_SK,6;
1438                close2;
1439                disablenpc "Kienna#"+getarg(0);
1440                donpcevent "#1stmove::OnEnable";
1441                warp "prt_are01",150,150;
1442                end;
1443        }
1444        else if (ROG_SK == 8) {
1445                mes "[Kienna]";
1446                mes "You've already completed";
1447                mes "the training exercise for";
1448                mes "the Close Confine skill.";
1449                mes "You no longer have need";
1450                mes "for my assistance.";
1451                close2;
1452                donpcevent "Waiting Room#rogue10::OnEnable";
1453                warp "in_rogue",264,124;
1454                end;
1455        }
1456        else {
1457                mes "[Kienna]";
1458                mes "I'm sorry, but I don't";
1459                mes "think you belong here.";
1460                mes "Let me send you to the";
1461                mes "Rogue Guild if you're lost...";
1462                close2;
1463                donpcevent "Waiting Room#rogue10::OnEnable";
1464                warp "in_rogue",264,124;
1465                end;
1466        }
1467
1468OnInit:
1469        disablenpc "Kienna#1st";
1470        disablenpc "Kienna#2nd";
1471        disablenpc "Kienna#3rd";
1472        disablenpc "Kienna#4th";
1473        disablenpc "Kienna#5th";
1474        disablenpc "Kienna#6th";
1475        disablenpc "Kienna#7th";
1476        disablenpc "Kienna#8th";
1477        end;
1478}
1479
1480in_rogue,88,119,3       script  Waiting Room#rogue10    828,{
1481OnEnable:
1482        enablenpc "Waiting Room#rogue10";
1483        enablewaitingroomevent "Waiting Room#rogue10";
1484        end;
1485
1486OnInit:
1487        waitingroom "Training Ground",10,"Waiting Room#rogue10::OnStartArena",1;
1488        enablewaitingroomevent "Waiting Room#rogue10";
1489        end;
1490
1491OnStartArena:
1492        warpwaitingpc "prt_are01",150,150;
1493        disablewaitingroomevent "Waiting Room#rogue10";
1494        end;
1495}
1496
1497//============================================================
1498// Old changelog
1499//============================================================
1500//= 1.0 for fully working skills only [Lupus]
1501//= 1.1 Added more new skill quests for more classes [Lupus]
1502//= Somehow eA engine doesn't let you keep learn't skill V_V'
1503//= 1.2 Added to correct locations, correct NPC's, fixed
1504//= some of the items required and made them into real
1505//= quests. [Reddozen]
1506//= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
1507//= 1.3a fixed an item ID typo, thx 2Spiritual Kid
1508//= 1.3b Splitted into different files [DracoRPG]
1509//============================================================
Note: See TracBrowser for help on using the browser.