From 9fc2159be0bd53f4d787d4a1009250c4e8994a34 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 19 Jan 2015 13:40:48 +0100 Subject: Added additional item drops support to the quest db - Special thanks to Dastgir, Michieru Signed-off-by: Haru --- src/map/quest.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/map/quest.h') 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]; }; -- cgit v1.2.3-60-g2f50