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
|
//===== eAthena Script ================
//= Kafras in Dungeons and Fields
//===== By: ============================
//= eAthena Dev Team
//===== Current Version: =======================
//= 2.4
//===== Compatible With: ============================
//= eAthena 1.0
//===== Description: ============================================
//= Description of argument settings for callfunc "F_Kafra".
//= arg(0): When set at 0 the default Kafra message is displayed.
//= When set to 1 the Niflhiem Kafra message is displayed.
//= When set to 2 the Guild Kafra message is displayed.
//= arg(1): Set to 1 to disable teleport menu option. Otherwise set to 0.
//= arg(2): Set to 1 to disable info menu. Otherwise set to 0.
//===== Additional Comments: =================================
//= v1.1 Now using functions. Added teleport service for Orc Dungeon
//= and Coal Mine Kafras.
//= v2.1 Fixed bug with Merc job quest kafra.[Lupus]
//= v2.1b Minor changes to function calls. Using arguments.
//= Added ant hell kafras. This version uses arrays .[kobra_k88]
//= Fixed Kafras, not giving you Save menu [Lupus]
//= 2.3 Removed SAVE menu from dungeons Kafras [Lupus]
//= 2.4 Now Baby Merchant can pass Merch Job Quest w/o probs [Lupus]
//===============================================================
//<============================= Ant Hell ==============================>\\
// Mocfild04 -----------------------------------------
moc_fild04.gat,230,329,3 script Kafra 115,{
cutin "kafra_03",2;
callfunc "F_Kafra",0,2,1;
M_Save:
savepoint "moc_fild04.gat",231,339;
callfunc "F_KafEnd",0,1;
}
// Mocfild15 --------------------------------------------
moc_fild15.gat,264,260,3 script Kafra 115,{
cutin "kafra_03",2;
callfunc "F_Kafra",0,2,1;
M_Save:
savepoint "moc_fild15.gat",266,271;
callfunc "F_KafEnd",0,1;
}
//<============================= Byalan Island ============================>\\
izlu2dun.gat,106,58,8 script Kafra 115,{
cutin "kafra_03",2;
if(BaseJob==Job_Novice && job_merchant_q3>0) callfunc "F_MercKafra"; //F_MercKafra found in merchant.txt
callfunc "F_Kafra",0,2,1;
M_Save:
savepoint "izlu2dun.gat",87,170;
callfunc "F_KafEnd",0,1;
}
//<============================ Culvert Sewers ============================>\\
prt_fild05.gat,290,224,1 script Kafra 114,{
cutin "kafra_04",2;
callfunc "F_Kafra",0,2,1;
M_Save:
savepoint "prt_fild05.gat",274,243;
callfunc "F_KafEnd",0,1;
}
//<=========================== Coal Mine (Dead Pitt) =======================>\\
mjolnir_02.gat,83,361,4 script Kafra 114,{
cutin "kafra_04",2;
callfunc "F_KafSetOrcCoal";
callfunc "F_Kafra",0,0,1;
M_Save:
savepoint "mjolnir_02.gat",98,352;
callfunc "F_KafEnd",0,1;
}
//<=============================== Morroc Ruins ============================>\\
moc_ruins.gat,61,156,5 script Kafra 114,{
cutin "kafra_04",2;
callfunc "F_Kafra",0,2,1;
M_Save:
savepoint "moc_ruins.gat",41,141;
callfunc "F_KafEnd",0,1;
}
//<================================ Orc Dungeon ============================>\\
gef_fild10.gat,73,340,4 script Kafra 115,{
cutin "kafra_03",2;
callfunc "F_KafSetOrcCoal";
callfunc "F_Kafra",0,6,1;
M_Save:
savepoint "gef_fild10.gat",54,326;
callfunc "F_KafEnd",0,1;
}
// Function: Sets variables for Kafras at the Orc Dungeon and the Coal Mines
function script F_KafSetOrcCoal {
setarray @wrpD$[0], "Prontera", "Geffen";
setarray @wrpP[0], 3000, 3000;
set @wrpC$[0], @wrpD$[0]+" -> "+@wrpP[0];
set @wrpC$[1], @wrpD$[1]+" -> "+@wrpP[1];
set @wrpC$[2], "Cancel";
set @wrpC$[3], "";
set @wrpC$[4], "";
set @wrpC$[5], "";
set @wrpC$[6], "";
return;
}
//<============================== Treasure Island ==========================>\\
alb2trea.gat,59,69,1 script Kafra 117,{
cutin "kafra_01",2;
callfunc "F_Kafra",0,2,1;
M_Save:
savepoint "alb2trea.gat",92,64;
callfunc "F_KafEnd",0,1;
}
|