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