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
|
//====================================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//=
//= http://herc.ws/board/
//====================================================
//= Hercules Map Zone Database [Ind/Hercules]
//================ More Information ==================
//= http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/
//= (TODO: replace with wiki link and detail the wiki page in a decent format ^)
//====================================================
//================ Description =======================
//= A unlimited number of zones may be created, a zone
//= may be used to create a set of disabled items, disabled skills
//= and mapflags to be used by as many maps as one chooses.
//= Maps can be linked to a specific zone through the zone mapflag
//= '<map name><tab>mapflag<tab>zone<tab><zone name>'.
//====================================================
//= Available types for 'disabled_skills':
//= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, MOB_BOSS, CLONE, ALL and NONE
//====================================================
zones: (
{
/* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */
name: "All" /* changing this name requires MAP_ZONE_ALL_NAME to also be changed in src/map/map.h file */
disabled_skills: {
//both examples below disable napalm beat (id 11) to players
//MG_NAPALMBEAT: "PLAYER"
//ID11: "PLAYER"
}
disabled_items: {
//Both examples below disable apple (id 501)
//Apple: true
//ID501: true
}
// "mask 1",
mapflags: (
)
/* "command:min-group-lv-to-override" e.g. "heal: 70" */
disabled_commands: {
//Example Below makes @heal be used in maps within this zone only by those group lv 70 and above
//heal: 70
//accinfo: 100
doom: 100
recallall: 100
reloadscript: 100
}
skill_damage_cap: {
//Exemple Below caps firebolt damage in maps within this zone to a maximum 50 damage,
// (depends on HMAP_ZONE_DAMAGE_CAP_TYPE in src/config/core.h)
// when cast vs players and monsters.
//MG_COLDBOLT: (50,"PLAYER | MONSTER")
}
},
{
/* Aeros Zone prevent some GM commands and allows others */
name: "Aeros"
disabled_skills: {
}
disabled_items: {
}
mapflags: (
"noknockback",
"nopenalty",
"nosave 000-1,22,22",
"invincible_time_inc 5000",
)
/* "command:min-group-lv-to-override" e.g. "heal: 70" */
disabled_commands: {
monster: 100
}
skill_damage_cap: {
}
},
{
/* Event Zone is a mapflag alias */
name: "Event"
disabled_skills: {
}
disabled_items: {
}
mapflags: (
"nopenalty",
"nosave 000-1,22,22",
)
/* "command:min-group-lv-to-override" e.g. "heal: 70" */
disabled_commands: {
}
skill_damage_cap: {
}
},
{
/* No Tricks Zone prevents penalty and NV_TRICKDEAD */
name: "No Tricks"
disabled_skills: {
NV_TRICKDEAD: "ALL"
}
disabled_items: {
}
mapflags: (
"nopenalty",
"nosave 000-1,22,22",
)
/* "command:min-group-lv-to-override" e.g. "heal: 70" */
disabled_commands: {
}
skill_damage_cap: {
}
},
{
/* MMO Zone is not the place for GMs to mess with. */
name: "MMO"
disabled_skills: {
AL_WARP: "ALL"
AL_TELEPORT: "ALL"
WE_CALLPARTNER: "ALL"
WE_CALLPARENT: "ALL"
WE_CALLBABY: "ALL"
SC_DIMENSIONDOOR: "ALL"
}
disabled_items: {
TimeFlask: true
CandorWarpCrystal: true
TulimWarpCrystal: true
HalinWarpCrystal: true
HurnsWarpCrystal: true
LoFWarpCrystal: true
NivalWarpCrystal: true
FrostiaWarpCrystal: true
LilitWarpCrystal: true
ReturnPotion: true
}
mapflags: (
"nopenalty",
"nosave 000-1,22,22",
)
/* "command:min-group-lv-to-override" e.g. "heal: 70" */
disabled_commands: {
recall: 100
recallall: 100
monster: 100
item: 100
summon: 100
killer: 100
killable: 100
pvpon: 100
pvpoff: 100
clone: 100
slaveclone: 100
evilclone: 100
monstersmall: 100
monsterbig: 100
save: 100
killmonster: 100
killmonster2: 100
raisemap: 100
doommap: 100
kill: 100
nuke: 100
//revive: 100
setbattleflag: 100
cvcon: 100
cvcoff: 100
addwarp: 100
mapflag: 100
gvgon: 100
gvgoff: 100
skillon: 100
skilloff: 100
alive: 100
}
skill_damage_cap: {
}
},
{
/* Ship Zone disables some skills */
name: "ship"
disabled_skills: {
// Destructive, Fire, and AoE Magic not allowed
MG_NAPALMBEAT: "ALL"
MG_FIREBALL: "ALL"
WZ_FROSTNOVA: "ALL"
MG_FIREBOLT: "ALL"
MG_COLDBOLT: "ALL"
MG_LIGHTININGBOLT: "ALL"
WZ_EARTHSPIKE: "ALL"
MG_FROSTDIVER: "ALL"
ASC_METEORASSAULT: "ALL"
AC_SHOWER: "ALL"
SN_SHARPSHOOTING: "ALL"
MG_FIREWALL: "ALL"
SO_FIREWALK: "ALL"
SA_FLAMELAUNCHER: "ALL"
}
disabled_items: {
ExplosiveArrow: true
}
mapflags: (
"nosave 000-1,22,22",
"noknockback",
"magic_damage_rate 60",
"misc_damage_rate 60",
"long_damage_rate 80",
)
/* "command:min-group-lv-to-override" e.g. "heal: 70" */
disabled_commands: {
}
skill_damage_cap: {
}
},
{
/* Town Zone indoors - cannot mount */
name: "indoors"
disabled_skills: {
}
disabled_items: {
/*
RidingMouboo: true
RidingTortuga: true
LegendaryMouboo: true
LegendaryTortuga: true
*/
}
mapflags: (
"nopenalty",
)
/* "command:min-group-lv-to-override" e.g. "heal: 70" */
disabled_commands: {
}
skill_damage_cap: {
}
},
{
/* Normal zone is applied to all maps that are not pkable (where players cant fight each other) */
/* However, it wont be applied to maps with its own zones (specified thru mapflag) */
name: "Normal" /* changing this name requires MAP_ZONE_NORMAL_NAME to also be changed in src/map/map.h file */
disabled_skills: {
WM_LULLABY_DEEPSLEEP: "PLAYER"
WM_SIRCLEOFNATURE: "PLAYER"
WM_SATURDAY_NIGHT_FEVER: "PLAYER"
SO_ARRULLO: "PLAYER"
CG_HERMODE: "PLAYER"
}
disabled_items: {
}
mapflags: (
)
},
{
/* Normal2 - same as Normal (bugfix) */
name: "Normal2"
disabled_skills: {
WM_LULLABY_DEEPSLEEP: "PLAYER"
WM_SIRCLEOFNATURE: "PLAYER"
WM_SATURDAY_NIGHT_FEVER: "PLAYER"
SO_ARRULLO: "PLAYER"
CG_HERMODE: "PLAYER"
}
disabled_items: {
}
mapflags: (
)
},
{
/* PvP zone is applied to all maps with a pvp mapflag */
name: "PvP" /* changing this name requires MAP_ZONE_PVP_NAME to also be changed in src/map/map.h file */
disabled_skills: {
BS_GREED: "PLAYER"
CG_HERMODE: "PLAYER"
}
disabled_items: {
}
/* cashshop disabled in pvp maps */
mapflags: (
"nocashshop",
)
},
{
/* CvC zone is applied to all maps with a cvc mapflag */
name: "CvC" /* changing this name requires MAP_ZONE_CVC_NAME to also be changed in src/map/map.h file */
disabled_skills: {
BS_GREED: "PLAYER"
CG_HERMODE: "PLAYER"
}
disabled_items: {
}
/* cashshop disabled in cvc maps */
mapflags: (
"nocashshop",
)
},
{
/* PK Mode zone is only used when server is on pk_mode (battle.conf),
it applies to all pvp maps that don't have their own zone */
name: "PK Mode" /* changing this name requires MAP_ZONE_PK_NAME to also be changed in src/map/map.h file */
disabled_skills: {
}
disabled_items: {
}
/* PK Mode Damage Reductions */
/* - weapon_damage_rate -40% */
/* - magic_damage_rate -40% */
/* - misc_damage_rate -40% */
/* - long_damage_rate -30% */
/* - short_damage_rate -20% */
mapflags: (
"weapon_damage_rate 60",
"magic_damage_rate 60",
"misc_damage_rate 60",
"long_damage_rate 70",
"short_damage_rate 80",
)
},
{
/* GvG zone is applied to all maps with a gvg mapflag */
name: "GvG" /* changing this name requires MAP_ZONE_GVG_NAME to also be changed in src/map/map.h file */
disabled_skills: {
AL_TELEPORT: "PLAYER"
AL_WARP: "PLAYER"
WZ_ICEWALL: "PLAYER"
TF_BACKSLIDING: "PLAYER"
RG_INTIMIDATE: "PLAYER"
WE_CALLPARTNER: "PLAYER"
HP_ASSUMPTIO: "PLAYER"
HP_BASILICA: "PLAYER"
CG_MOONLIT: "PLAYER"
WE_CALLPARENT: "PLAYER"
WE_CALLBABY: "PLAYER"
CR_CULTIVATION: "PLAYER"
NJ_KIRIKAGE: "PLAYER"
CASH_ASSUMPTIO: "PLAYER"
BS_GREED: "PLAYER"
SC_FATALMENACE: "PLAYER"
SC_DIMENSIONDOOR: "PLAYER"
SU_LOPE: "PLAYER"
}
disabled_items: {
}
/* 5 second duration increase on GvG */
/* knockback disabled */
/* GvG Mode Damage Reductions */
/* - weapon_damage_rate -40% */
/* - magic_damage_rate -40% */
/* - misc_damage_rate -40% */
/* - long_damage_rate -20% */
/* - short_damage_rate -20% */
mapflags: (
"invincible_time_inc 5000",
"noknockback",
"weapon_damage_rate 60",
"magic_damage_rate 60",
"misc_damage_rate 60",
"long_damage_rate 80",
"short_damage_rate 80",
"nocashshop",
"gvg_noparty",
)
},
{
/* Battlegrounds zone is applied to all maps with a battlegrounds mapflag */
name: "Battlegrounds" /* changing this name requires MAP_ZONE_BG_NAME to also be changed in src/map/map.h file */
disabled_skills: {
AL_TELEPORT: "PLAYER"
AL_WARP: "PLAYER"
WZ_ICEWALL: "PLAYER"
TF_BACKSLIDING: "PLAYER"
RG_INTIMIDATE: "PLAYER"
MO_BODYRELOCATION: "PLAYER"
WE_CALLPARTNER: "PLAYER"
HP_ASSUMPTIO: "PLAYER"
HP_BASILICA: "PLAYER"
CG_MOONLIT: "PLAYER"
WE_CALLPARENT: "PLAYER"
WE_CALLBABY: "PLAYER"
CR_CULTIVATION: "PLAYER"
TK_RUN: "PLAYER"
TK_HIGHJUMP: "PLAYER"
SG_FEEL: "PLAYER"
SG_SUN_WARM: "PLAYER"
SG_MOON_WARM: "PLAYER"
SG_STAR_WARM: "PLAYER"
SG_SUN_COMFORT: "PLAYER"
SG_MOON_COMFORT: "PLAYER"
SG_STAR_COMFORT: "PLAYER"
SG_HATE: "PLAYER"
SG_SUN_ANGER: "PLAYER"
SG_MOON_ANGER: "PLAYER"
SG_STAR_ANGER: "PLAYER"
SG_SUN_BLESS: "PLAYER"
SG_MOON_BLESS: "PLAYER"
SG_STAR_BLESS: "PLAYER"
NJ_KIRIKAGE: "PLAYER"
CASH_ASSUMPTIO: "PLAYER"
SC_FATALMENACE: "PLAYER"
SC_DIMENSIONDOOR: "PLAYER"
SU_LOPE: "PLAYER"
}
disabled_items: {
}
/* knockback disabled */
/* Battlegrounds Damage Reductions */
/* - weapon_damage_rate -30% */
/* - magic_damage_rate -30% */
/* - misc_damage_rate -30% */
/* - long_damage_rate -25% */
/* - short_damage_rate -25% */
mapflags: (
"noknockback",
"nopenalty",
)
},
{
name: "Aldebaran Turbo Track"
disabled_skills: {
SM_ENDURE: "PLAYER"
AL_TELEPORT: "PLAYER"
AL_WARP: "PLAYER"
AL_CURE: "PLAYER"
TF_HIDING: "PLAYER"
WZ_ICEWALL: "PLAYER"
AS_CLOAKING: "PLAYER"
RG_INTIMIDATE: "PLAYER"
MO_BODYRELOCATION: "PLAYER"
LK_CONCENTRATION: "PLAYER"
LK_BERSERK: "PLAYER"
HP_BASILICA: "PLAYER"
WS_CARTBOOST: "PLAYER"
ST_CHASEWALK: "PLAYER"
CG_MOONLIT: "PLAYER"
SC_FATALMENACE: "PLAYER"
SC_DIMENSIONDOOR: "PLAYER"
GN_CARTBOOST: "PLAYER"
}
disabled_items: {
}
},
{
name: "Jail"
disabled_skills: {
TK_JUMPKICK: "PLAYER"
TK_HIGHJUMP: "PLAYER"
}
disabled_commands: {
recall: 100
recallall: 100
warp: 100
save: 100
setbattleflag: 100
addwarp: 100
mapflag: 100
jumpto: 100
tonpc: 100
hugo: 100
linus: 100
}
disabled_items: {
TimeFlask: true
CandorWarpCrystal: true
TulimWarpCrystal: true
HalinWarpCrystal: true
HurnsWarpCrystal: true
LoFWarpCrystal: true
NivalWarpCrystal: true
FrostiaWarpCrystal: true
LilitWarpCrystal: true
ReturnPotion: true
}
},
{
name: "Izlude Battle Arena"
disabled_skills: {
RG_INTIMIDATE: "PLAYER"
AL_TELEPORT: "PLAYER"
SC_FATALMENACE: "PLAYER"
SC_DIMENSIONDOOR: "PLAYER"
}
disabled_items: {
}
},
{
name: "GvG2"
inherit: ( "GvG" ) /* will import all gvg has */
disabled_skills: {
TK_HIGHJUMP: "PLAYER"
SA_ABRACADABRA: "PLAYER"
}
},
{
name: "WoE TE"
inherit: ( "GvG" ) /* will import all gvg has */
disabled_items: {
}
},
{
name: "Sealed Shrine"
disabled_skills: {
MG_SAFETYWALL: "PLAYER"
AL_TELEPORT: "PLAYER | MONSTER | HOMUN | MERCENARY"
RG_INTIMIDATE: "PLAYER | MONSTER"
HP_ASSUMPTIO: "PLAYER"
CASH_ASSUMPTIO: "PLAYER"
SC_FATALMENACE: "PLAYER"
SC_DIMENSIONDOOR: "PLAYER"
}
},
{
name: "Memorial Dungeon" /* ETower, Orc's Memory, Nidhoggur's Nest, etc */
disabled_skills: {
AL_TELEPORT: "PLAYER | MONSTER | HOMUN | MERCENARY"
WZ_ICEWALL: "PLAYER"
RG_INTIMIDATE: "PLAYER | MONSTER"
PF_SPIDERWEB: "PLAYER"
NPC_EXPULSION: "PLAYER"
SC_FATALMENACE: "PLAYER"
SC_DIMENSIONDOOR: "PLAYER"
}
},
{
name: "Towns"
mapflags: (
"nopenalty",
)
disabled_skills: {
AM_CANNIBALIZE: "PLAYER"
AM_SPHEREMINE: "PLAYER"
CR_CULTIVATION: "PLAYER"
BS_GREED: "PLAYER"
SC_MANHOLE: "PLAYER"
WM_POEMOFNETHERWORLD: "PLAYER"
GN_WALLOFTHORN: "PLAYER"
}
disabled_items: {
}
}
)
|