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
|
//===== eAthena Script =======================================
//= War of Emperium Treasure Rooms for Al De Baran Guild Castles
//===== By: ==================================================
//= jAthena - kalen (1.0)
//= 1.1 by Akaru, ho|yAnge|X, and Valaris
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//=
//===== Additional Comments: =================================
//= v1.2 Optimized with functions.[kobra_k88]
//= 1.3 Removed announces when you open chests. [L0ne_W0lf]
//============================================================
//<=============================== Castle 1 =================================>\\
// Treasure Spawn -----------------------
aldeg_cas01,1,1,1 script Treasure_A01 -1,{
OnRecvCastleA01:
end;
OnInit:
if($boxNumA01 == 0) end;
set $@bxA01, $boxNumA01;
callfunc "F_GldTreas","aldeg_cas01","A01",$boxNumA01,$@bxA01,$@boxIdA01,1324,114,218,123,227,1;
end;
OnDied:
set $boxNumA01, $boxNumA01 -1;
end;
}
// Treasure Room Switch --------------------
aldeg_cas01,123,223,0 script Switch#TresA01 111,{
callfunc "F_GldTreasSw", "aldeg_cas01",218,176;
end;
}
// Treasure Room Protection ------------------------------------------------
aldeg_cas01,118,223,0 script ban_warp#11 -1,8,8,{
OnTouch:
callfunc "F_TreasProtect", "aldeg_cas01", "aldebaran",143,112;
end;
}
//<================================ Castle 2 ================================>\\
// Treasure Spawn ----------------------------
aldeg_cas02,1,1,1 script Treasure_A02 -1,{
OnRecvCastleA02:
end;
OnInit:
if($boxNumA02 == 0) end;
set $@bxA02, $boxNumA02;
callfunc "F_GldTreas","aldeg_cas02","A02",$boxNumA02,$@bxA02,$@boxIdA02,1326,130,226,138,235,1;
end;
OnDied:
set $boxNumA02, $boxNumA02 -1;
end;
}
// Treasure Room Switch ----------------------
aldeg_cas02,139,235,0 script Switch#TresA02 111,{
callfunc "F_GldTreasSw", "aldeg_cas02",78,75;
end;
}
// Treasure Room Protection ------------------------------------------------
aldeg_cas02,135,230,0 script ban_warp#12 -1,8,8,{
OnTouch:
callfunc "F_TreasProtect", "aldeg_cas02", "aldebaran",143,112;
end;
}
//<================================ Castle 3 ================================>\\
// Treasure Spawn ---------------------------
aldeg_cas03,1,1,1 script Treasure_A03 -1,{
OnRecvCastleA03:
end;
OnInit:
if($boxNumA03 == 0) end;
set $@bxA03, $boxNumA03;
callfunc "F_GldTreas","aldeg_cas03","A03",$boxNumA03,$@bxA03,$@boxIdA03,1328,220,264,229,273,1;
end;
OnDied:
set $boxNumA03, $boxNumA03 -1;
end;
}
// Treasure Room Switch -----------------------
aldeg_cas03,229,267,0 script Switch#TresA03 111,{
callfunc "F_GldTreasSw", "aldeg_cas03",110,119;
end;
}
// Treasure Room Protection ------------------------------------------------
aldeg_cas03,225,269,0 script ban_warp#13 -1,8,8,{
OnTouch:
callfunc "F_TreasProtect", "aldeg_cas03", "aldebaran",143,112;
end;
}
//<================================ Castle 4 ================================>\\
// Treasure Spawn -------------------------------
aldeg_cas04,1,1,1 script Treasure_A04 -1,{
OnRecvCastleA04:
end;
OnInit:
if($boxNumA04 == 0) end;
set $@bxA04, $boxNumA04;
callfunc "F_GldTreas","aldeg_cas04","A04",$boxNumA04,$@bxA04,$@boxIdA04,1330,80,8,89,17,1;
end;
OnDied:
set $boxNumA04, $boxNumA04 -1;
end;
}
// Treasure Room Switch -------------------------
aldeg_cas04,83,17,0 script Switch#TresA04 111,{
callfunc "F_GldTreasSw", "aldeg_cas04",67,117;
end;
}
// Treasure Room Protection ------------------------------------------------
aldeg_cas04,84,13,0 script ban_warp#14 -1,8,8,{
OnTouch:
callfunc "F_TreasProtect", "aldeg_cas04", "aldebaran",143,112;
end;
}
//<================================ Castle 5 ================================>\\
// Treasure Spawn ------------------------------------
aldeg_cas05,1,1,1 script Treasure_A05 -1,{
OnRecvCastleA05:
end;
OnInit:
if($boxNumA05 == 0) end;
set $@bxA05, $boxNumA05;
callfunc "F_GldTreas","aldeg_cas05","A05",$boxNumA05,$@bxA05,$@boxIdA05,1332,58,8,65,15,1;
end;
OnDied:
set $boxNumA05, $boxNumA05 -1;
end;
}
// Treasure Room Switch ---------------------------------
aldeg_cas05,64,8,0 script Switch#TresA05 111,{
callfunc "F_GldTreasSw", "aldeg_cas05",51,179;
end;
}
// Treasure Room Protection ------------------------------------------------
aldeg_cas05,62,12,0 script ban_warp#15 -1,8,8,{
OnTouch:
callfunc "F_TreasProtect", "aldeg_cas05", "aldebaran",143,112;
end;
}
|