summaryrefslogtreecommitdiff
path: root/src/map/quest.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-19 13:40:48 +0100
committerHaru <haru@dotalux.com>2015-01-24 00:46:08 +0100
commit9fc2159be0bd53f4d787d4a1009250c4e8994a34 (patch)
tree2ee7f1be73fb145699804ea3faae0ce2c3297233 /src/map/quest.h
parentefb5681b149f4eac368efa5a72cc830215a58b82 (diff)
downloadhercules-9fc2159be0bd53f4d787d4a1009250c4e8994a34.tar.gz
hercules-9fc2159be0bd53f4d787d4a1009250c4e8994a34.tar.bz2
hercules-9fc2159be0bd53f4d787d4a1009250c4e8994a34.tar.xz
hercules-9fc2159be0bd53f4d787d4a1009250c4e8994a34.zip
Added additional item drops support to the quest db
- Special thanks to Dastgir, Michieru Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/quest.h')
-rw-r--r--src/map/quest.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/quest.h b/src/map/quest.h
index ec01e295e..db9ffa142 100644
--- a/src/map/quest.h
+++ b/src/map/quest.h
@@ -12,12 +12,20 @@
#define MAX_QUEST_DB (60355+1) // Highest quest ID + 1
+struct quest_dropitem {
+ int mob_id;
+ int nameid;
+ int rate;
+};
+
struct quest_db {
int id;
unsigned int time;
int mob[MAX_QUEST_OBJECTIVES];
int count[MAX_QUEST_OBJECTIVES];
int num_objectives;
+ int dropitem_count;
+ struct quest_dropitem *dropitem;
//char name[NAME_LENGTH];
};