summaryrefslogtreecommitdiff
path: root/db/pre-re/map_zone_db.conf
diff options
context:
space:
mode:
Diffstat (limited to 'db/pre-re/map_zone_db.conf')
-rw-r--r--db/pre-re/map_zone_db.conf34
1 files changed, 33 insertions, 1 deletions
diff --git a/db/pre-re/map_zone_db.conf b/db/pre-re/map_zone_db.conf
index 36689ac57..6fb18084b 100644
--- a/db/pre-re/map_zone_db.conf
+++ b/db/pre-re/map_zone_db.conf
@@ -16,11 +16,42 @@
//= 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, ALL and NONE
+//= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, ALL and NONE
//== More on
//= http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/
+//= (TODO: replace with wiki link and detail the wiki page in a decent format ^)
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
+ }
+
+ 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
+ }
+ 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)
+ // to players and monsters.
+ //MG_FIREBOLT: (50,"PLAYER | MONSTER")
+ }
+},
+{
/* 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 */
@@ -37,6 +68,7 @@ zones: (
}
mapflags: ( )
+
},
{
/* PvP zone is applied to all maps with a pvp mapflag */