diff options
author | Haru <haru@dotalux.com> | 2013-10-25 17:23:51 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-10-25 17:43:35 +0200 |
commit | 5f6f1d66834b8328496c1678f0ce4f90a001b3fb (patch) | |
tree | 06ae5740c13135ac65f48c606deaa6ceb61a1140 /db/pre-re/map_zone_db.conf | |
parent | 8629562655cfcbd6aef97307e3e0c078235619ff (diff) | |
download | hercules-5f6f1d66834b8328496c1678f0ce4f90a001b3fb.tar.gz hercules-5f6f1d66834b8328496c1678f0ce4f90a001b3fb.tar.bz2 hercules-5f6f1d66834b8328496c1678f0ce4f90a001b3fb.tar.xz hercules-5f6f1d66834b8328496c1678f0ce4f90a001b3fb.zip |
Added support for trailing commas within libconfig lists
- Follow-up to 62c5e65d28833c1068d195778c0e3a710acaa104, special thanks
to Ind
- A trailing comma in a libconfig list (enclosed in parentheses) will no
longer cause a parse error.
- Updated config files where it makes sense to put a trailing comma
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'db/pre-re/map_zone_db.conf')
-rw-r--r-- | db/pre-re/map_zone_db.conf | 46 |
1 files changed, 27 insertions, 19 deletions
diff --git a/db/pre-re/map_zone_db.conf b/db/pre-re/map_zone_db.conf index 3bc0fd95e..e6571702a 100644 --- a/db/pre-re/map_zone_db.conf +++ b/db/pre-re/map_zone_db.conf @@ -42,7 +42,8 @@ zones: ( //ID501: true } - mapflags: ( ) + mapflags: ( + ) /* "command:min-group-lv-to-override" e.g. "heal: 70" */ disabled_commands: { @@ -72,7 +73,8 @@ zones: ( disabled_items: { } - mapflags: ( ) + mapflags: ( + ) }, { @@ -88,7 +90,9 @@ zones: ( Greed_Scroll: true } - mapflags: ( "nocashshop" ) + mapflags: ( + "nocashshop", + ) }, { @@ -115,7 +119,8 @@ zones: ( "magic_damage_rate 60", "misc_damage_rate 60", "long_damage_rate 70", - "short_damage_rate 80" ) + "short_damage_rate 80", + ) }, { /* GvG zone is applied to all maps with a gvg mapflag */ @@ -154,15 +159,16 @@ zones: ( /* - 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" - ) + 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", + ) }, { @@ -216,12 +222,14 @@ zones: ( /* - misc_damage_rate -30% */ /* - long_damage_rate -25% */ /* - short_damage_rate -25% */ - mapflags: ( "noknockback", - "weapon_damage_rate 70", - "magic_damage_rate 70", - "misc_damage_rate 70", - "long_damage_rate 75", - "short_damage_rate 75" ) + mapflags: ( + "noknockback", + "weapon_damage_rate 70", + "magic_damage_rate 70", + "misc_damage_rate 70", + "long_damage_rate 75", + "short_damage_rate 75", + ) }, { |