summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-02 22:22:23 -0300
committershennetsind <ind@henn.et>2013-04-02 22:22:23 -0300
commite702cc0ab6dccfd0a10b5a1881841452c326affc (patch)
tree5060b0e6187773b7e8e5f7ba900188850e475e8e /src/map/map.h
parent57dff2db23556d01beedd8af95a41e4f03f66681 (diff)
downloadhercules-e702cc0ab6dccfd0a10b5a1881841452c326affc.tar.gz
hercules-e702cc0ab6dccfd0a10b5a1881841452c326affc.tar.bz2
hercules-e702cc0ab6dccfd0a10b5a1881841452c326affc.tar.xz
hercules-e702cc0ab6dccfd0a10b5a1881841452c326affc.zip
Introducing 5 new/official mapflags.
They're: - weapon_damage_rate - magic_damage_rate - misc_damage_rate - long_damage_rate - short_damage_rate Dropped 15 battle settings that became pointless with this upgrade. Updated battleground zone damage reductions, skill damage from -30% to -20% and weapon damage from -40% to -30%. Special Thanks to Muad_Dib. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 964bee736..6f1a51e9f 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -507,6 +507,7 @@ struct map_zone_disabled_skill_entry {
#define MAP_ZONE_PVP_NAME "PvP"
#define MAP_ZONE_GVG_NAME "GvG"
#define MAP_ZONE_BG_NAME "Battlegrounds"
+#define MAP_ZONE_PK_NAME "PK Mode"
#define MAP_ZONE_MAPFLAG_LENGTH 50
DBMap *zone_db;/* string => struct map_zone_data */
struct map_zone_data {
@@ -522,6 +523,7 @@ void map_zone_init(void);
void map_zone_apply(int m, struct map_zone_data *zone,char* w1, const char* start, const char* buffer, const char* filepath);
struct map_zone_data map_zone_all;/* used as a base on all maps */
+struct map_zone_data map_zone_pk;/* used for (pk_mode) */
struct map_data {
@@ -628,6 +630,17 @@ struct map_data {
/* invincible_time_inc mapflag */
unsigned int invincible_time_inc;
+
+ /* weapon_damage_rate mapflag */
+ unsigned short weapon_damage_rate;
+ /* magic_damage_rate mapflag */
+ unsigned short magic_damage_rate;
+ /* misc_damage_rate mapflag */
+ unsigned short misc_damage_rate;
+ /* short_damage_rate mapflag */
+ unsigned short short_damage_rate;
+ /* long_damage_rate mapflag */
+ unsigned short long_damage_rate;
};
/// Stores information about a remote map (for multi-mapserver setups).