summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-09-21 13:20:29 +0100
committerAsheraf <acheraf1998@gmail.com>2018-09-23 03:17:25 +0100
commita2f18fad8e066fce131a9481bdf822d88eb91abf (patch)
treed1047031d99dc4b6ed45e13ec809160f4eec931a /src/map/map.h
parent41ca3c7cc304cac90ae4df32217bd3237e035773 (diff)
downloadhercules-a2f18fad8e066fce131a9481bdf822d88eb91abf.tar.gz
hercules-a2f18fad8e066fce131a9481bdf822d88eb91abf.tar.bz2
hercules-a2f18fad8e066fce131a9481bdf822d88eb91abf.tar.xz
hercules-a2f18fad8e066fce131a9481bdf822d88eb91abf.zip
Add support for item amount range in setquestinfo
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index cf3a4e57c..d50666d4b 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -789,6 +789,12 @@ struct questinfo_qreq {
int state;
};
+struct questinfo_itemreq {
+ int nameid;
+ int min;
+ int max;
+};
+
struct questinfo {
struct npc_data *nd;
unsigned short icon;
@@ -805,7 +811,7 @@ struct questinfo {
int min;
int max;
} job_level;
- VECTOR_DECL(struct item) items;
+ VECTOR_DECL(struct questinfo_itemreq) items;
struct s_homunculus homunculus;
int homunculus_type;
VECTOR_DECL(struct questinfo_qreq) quest_requirement;