summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index c43863155..d95d64a43 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -15,6 +15,11 @@ struct item_data {
int value_sell;
int type;
int maxchance; //For logs, for external game info, for scripts: Max drop chance of this item (e.g. 0.01% , etc.. if it = 0, then monsters don't drop it) [Lupus]
+ struct {
+ unsigned short chance;
+ int id;
+ } mob[MAX_SEARCH]; //Holds the mobs that have the highest drop rate for this item. [Skotlex]
+
int sex;
int equip;
int weight;