summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-02 19:21:01 -0300
committershennetsind <ind@henn.et>2013-04-02 19:21:01 -0300
commite6320b892516ba49af88bb4cc616952fa7cab6cd (patch)
tree3320f24c1bf2654ad3eee3d043691aed8d41a3f2 /src/map/map.h
parent1ee2b136cce11a1eda33a5165cb087370b52d563 (diff)
downloadhercules-e6320b892516ba49af88bb4cc616952fa7cab6cd.tar.gz
hercules-e6320b892516ba49af88bb4cc616952fa7cab6cd.tar.bz2
hercules-e6320b892516ba49af88bb4cc616952fa7cab6cd.tar.xz
hercules-e6320b892516ba49af88bb4cc616952fa7cab6cd.zip
Updated Map Zone Database
Introducing unit-type-based skill restrictions, details in the link http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/?p=2227 Special Thanks to lighta and Muad_Dib Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 7892cbfdc..7af3a184c 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -497,6 +497,10 @@ struct mapflag_skill_adjust {
unsigned short skill_id;
unsigned short modifier;
};
+struct map_zone_disabled_skill_entry {
+ unsigned short nameid;
+ enum bl_type type;
+};
#define MAP_ZONE_NAME_LENGTH 30
#define MAP_ZONE_ALL_NAME "Normal"
@@ -507,7 +511,7 @@ struct mapflag_skill_adjust {
DBMap *zone_db;/* string => struct map_zone_data */
struct map_zone_data {
char name[MAP_ZONE_NAME_LENGTH];/* 20'd */
- int *disabled_skills;
+ struct map_zone_disabled_skill_entry **disabled_skills;
int disabled_skills_count;
int *disabled_items;
int disabled_items_count;
@@ -568,10 +572,6 @@ struct map_data {
unsigned fireworks : 1;
unsigned sakura : 1; // [Valaris]
unsigned leaves : 1; // [Valaris]
- /**
- * No longer available, keeping here just in case it's back someday. [Ind]
- **/
- //unsigned rain : 1; // [Valaris]
unsigned nogo : 1; // [Valaris]
unsigned nobaseexp : 1; // [Lorky] added by Lupus
unsigned nojobexp : 1; // [Lorky]