summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2014-09-20 03:49:45 +0800
committerAndrei Karas <akaras@inbox.ru>2014-12-19 19:17:56 +0300
commitedbe66e718bca90f1da015a6db3284d840ba19cb (patch)
tree63e0e8084dfb3c52cc74af8c100f6b9426d3cc17 /src/map/mob.h
parentc4456ddbebccaca51ab040c60e3c586ed2cc0a10 (diff)
downloadhercules-edbe66e718bca90f1da015a6db3284d840ba19cb.tar.gz
hercules-edbe66e718bca90f1da015a6db3284d840ba19cb.tar.bz2
hercules-edbe66e718bca90f1da015a6db3284d840ba19cb.tar.xz
hercules-edbe66e718bca90f1da015a6db3284d840ba19cb.zip
Add struct item_data, mob_db and mob_data for plugins
http://hercules.ws/board/topic/7161-plugin-missing-hook-to-struct-item-data-and-mob-data/
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index f79b33804..133107143 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -126,6 +126,10 @@ struct mob_db {
int maxskill;
struct mob_skill skill[MAX_MOBSKILL];
struct spawn_info spawn[10];
+
+ /* HPM Custom Struct */
+ struct HPluginData **hdata;
+ unsigned int hdatac;
};
struct mob_data {
@@ -197,6 +201,10 @@ struct mob_data {
* MvP Tombstone NPC ID
**/
int tomb_nid;
+
+ /* HPM Custom Struct */
+ struct HPluginData **hdata;
+ unsigned int hdatac;
};