-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathArena_PVP_v1.1.txt
290 lines (265 loc) · 7.48 KB
/
Arena_PVP_v1.1.txt
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
// Created By ~ Rosemount
// Current Version ~ v1.1
prontera,147,173,6 script Arena Warper 459,{
Main:
menu "~ Normal PvP Room",L_Normal,"~ Non Donation",L_Non,"~ Non Buffer",L_NBuff,"~ Guild Vs Guild",L_GvG;
L_Normal:
menu "~ Prontera [ "+getmapusers("pvp_y_1-1")+" / 30 ]",L01,"~ Izlude [ "+getmapusers("pvp_y_1-2")+" / 30 ]",L02,"~ Alberta [ "+getmapusers("pvp_y_1-4")+" / 30 ]",L03,"~ Back to Main Menu",Main;
L_Non:
menu "~ Prontera Non Donation [ "+getmapusers("pvp_y_2-1")+" / 30 ]",Non1,"~ Izlude Non Donation [ "+getmapusers("pvp_y_2-2")+" / 30 ]",Non2,"~ Alberta Non Donation "+getmapusers("pvp_y_2-4")+" / 30 ]",Non3,"~ Back to Main Menu",Main;
L_NBuff:
menu "~ Prontera Non Buffer [ "+getmapusers("pvp_y_3-1")+" / 30 ]",NB1,"~ Izlude Non Buffer [ "+getmapusers("pvp_y_3-2")+" / 30 ]",NB2,"~ Alberta Non Buffer "+getmapusers("pvp_y_3-4")+" / 30 ]",NB3,"~ Back to Main Menu",Main;
L_GvG:
menu "~ Prontera GvG [ "+getmapusers("pvp_y_4-1")+" / 30 ]",GvG1,"~ Alberta GVG [ "+getmapusers("pvp_y_4-4")+" / 30 ]",GvG2,"~ Back to Main Menu",Main;
L01:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .pron;
if( .pron == 0) end;
if( .pron == 1) {
if(getmapusers("pvp_y_1-1") == 29) goto Full;
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_1-1",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Prontera Arena Room.",bc_all;
end;
L02:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .izl;
if( .izl == 0) end;
if( .izl == 1) {
if(getmapusers("pvp_y_1-2") == 29) goto Full;
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_1-2",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Izlude Arena Room.",bc_all;
end;
L03:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .pron;
if( .alb == 0) end;
if( .alb == 1) {
if(getmapusers("pvp_y_1-4") == 29) goto Full;
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_1-4",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Alberta Arena Room.",bc_all;
end;
Non1:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .npron;
if( .npron == 0) end;
if( .npron == 1) goto GoN1;
GoN1:
if ( getmapusers("pvp_y_2-1") == 29) goto Full;
for ( set .x, 0; .x < getarraysize(.Itemban); set .x, .x + 1)
if ( countitem(.Itemban[.x])) {
next;
mes "You Cannot Bring Donation Item";
close;
}
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_2-1",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Prontera Non Donation Room.",bc_all;
end;
Non2:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .nizl;
if( .nizl == 0) end;
if( .nizl == 1) goto GoN2;
GoN2:
if( getmapusers("pvp_y_2-2") == 29) goto Full;
for ( set .x, 0; .x < getarraysize(.Itemban); set .x, .x + 1)
if ( countitem(.Itemban[.x])) {
next;
mes "You Cannot Bring Donation Item";
close;
}
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_2-2",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Izlude Non Donation Room.",bc_all;
end;
Non3:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .nalber;
if( .nalber == 0) end;
if( .nalber == 1) goto GoN3;
GoN3:
if(getmapusers("pvp_y_2-4") == 29) goto Full;
for ( set .x, 0; .x < getarraysize(.Itemban); set .x, .x + 1)
if ( countitem(.Itemban[.x])) {
next;
mes "You Cannot Bring Donation Item";
close;
}
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_2-4",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Alberta Non Donation Room.",bc_all;
end;
NB1:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .NBP;
if( .NBP == 0) end;
if( .NBP == 1) {
if(getmapusers("pvp_y_3-1") == 29) goto Full;
sc_end sc_all;
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_3-1",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Prontera Non Buffer Room.",bc_all;
end;
NB2:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .NBI;
if( .NBI == 0) end;
if( .NBI == 1) {
if(getmapusers("pvp_y_3-2") == 29) goto Full;
sc_end sc_all;
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_3-2",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Izlude Non Buffer Room.",bc_all;
end;
NB3:
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .NBP;
if( .NBA == 0) end;
if( .NBA == 1) {
if(getmapusers("pvp_y_3-4") == 29) goto Full;
sc_end sc_all;
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_3-4",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join Alberta Non Buffer Room.",bc_all;
end;
GvG1:
if( !getcharid(2) ){
mes "You dont have a guild"; close;
}
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .GvGP;
if( .GvGP == 0) end;
if( .GvGP == 1) {
if(getmapusers("pvp_y_4-1") == 29) goto Full;
pvpoff "pvp_y_4-1";
gvgon "pvp_y_4-1";
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_4-1",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join GvG Prontera Room.",bc_all;
end;
GvG2:
if( !getcharid(2) ){
mes "You dont have a guild"; close;
}
mes "0 ~ Cancel Room : 1 ~ Join Room";
input .GvGP;
if( .GvGA == 0) end;
if( .GvGA == 1) {
if(getmapusers("pvp_y_4-4") == 29) goto Full;
pvpoff "pvp_y_4-4";
gvgon "pvp_y_4-4";
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1500;
warp "pvp_y_4-4",0,0;
announce "[ Arena Warper ] : "+strcharinfo(0)+" Join GvG Alberta Room.",bc_all;
end;
Full:
mes "Room is Full"; next; mes "Please Choose Another Room"; close;
OnInit:
setarray .Itemban[0], 5022,1000;
waitingroom "Arena PVP",0;
end;
}
}
}
}
}
}
}
}
}
// -------- MapFlag --------------
// Normal Pvp
pvp_y_1-1 mapflag nobranch
pvp_y_1-1 mapflag novending
pvp_y_1-1 mapflag nosave
pvp_y_1-1 mapflag nowarp
pvp_y_1-2 mapflag nobranch
pvp_y_1-2 mapflag novending
pvp_y_1-2 mapflag nosave
pvp_y_1-2 mapflag nowarp
pvp_y_1-4 mapflag nobranch
pvp_y_1-4 mapflag novending
pvp_y_1-4 mapflag nosave
pvp_y_1-4 mapflag nowarp
// Non Donation
pvp_y_2-1 mapflag nobranch
pvp_y_2-1 mapflag novending
pvp_y_2-1 mapflag nosave
pvp_y_2-1 mapflag nowarp
pvp_y_2-2 mapflag nobranch
pvp_y_2-2 mapflag novending
pvp_y_2-2 mapflag nosave
pvp_y_2-2 mapflag nowarp
pvp_y_2-4 mapflag nobranch
pvp_y_2-4 mapflag novending
pvp_y_2-4 mapflag nosave
pvp_y_2-4 mapflag nowarp
// Non Buffer
pvp_y_3-1 mapflag nobranch
pvp_y_3-1 mapflag novending
pvp_y_3-1 mapflag nosave
pvp_y_3-1 mapflag nowarp
pvp_y_3-2 mapflag nobranch
pvp_y_3-2 mapflag novending
pvp_y_3-2 mapflag nosave
pvp_y_3-2 mapflag nowarp
pvp_y_3-4 mapflag nobranch
pvp_y_3-4 mapflag novending
pvp_y_3-4 mapflag nosave
pvp_y_3-4 mapflag nowarp
// Gvg
pvp_y_4-1 mapflag nobranch
pvp_y_4-1 mapflag novending
pvp_y_4-1 mapflag nosave
pvp_y_4-1 mapflag nowarp
pvp_y_4-4 mapflag nobranch
pvp_y_4-4 mapflag novending
pvp_y_4-4 mapflag nosave
pvp_y_4-4 mapflag nowarp