summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-12-20 23:42:37 +0100
committerHaruna <haru@dotalux.com>2014-12-20 23:42:37 +0100
commit1134e030744e67bca61f52dc97075f33932f7a38 (patch)
tree3c5f077c6537f7e165039d3bf68d8052253b7dc2 /src/map/mob.h
parentc4456ddbebccaca51ab040c60e3c586ed2cc0a10 (diff)
parent2c6fd58d633e4139a6f0f3b4bb0262e64fc957e2 (diff)
downloadhercules-1134e030744e67bca61f52dc97075f33932f7a38.tar.gz
hercules-1134e030744e67bca61f52dc97075f33932f7a38.tar.bz2
hercules-1134e030744e67bca61f52dc97075f33932f7a38.tar.xz
hercules-1134e030744e67bca61f52dc97075f33932f7a38.zip
Merge pull request #416 from 4144/plugext
Extend plugins support in item_data, mob_db, mob_data
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index f79b33804..9aac2c664 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;
};
@@ -369,6 +377,7 @@ struct mob_interface {
bool (*readdb_itemratio) (char *str[], int columns, int current);
void (*load) (bool minimal);
void (*clear_spawninfo) ();
+ void (*destroy_mob_db) (int index);
};
struct mob_interface *mob;