summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorIbrahim Zidan <brahem@aotsw.com>2019-04-17 07:29:18 +0200
committerIbrahim Zidan <brahem@aotsw.com>2019-05-05 23:40:39 +0200
commit8fa081b6b4ad26851f3ab8f485ba76f3e4338762 (patch)
treec45282c318a70a4da40762ce220406abd1f21ed7 /src/common/mmo.h
parent5a0c9f2f74070e9d1e6f4fec503b3687b5f1ef88 (diff)
downloadhercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.tar.gz
hercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.tar.bz2
hercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.tar.xz
hercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.zip
Implement Refinery UI
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index aafa54008..eb74d62b3 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -1366,6 +1366,10 @@ enum questinfo_type {
#define MAX_ITEMLIST MAX_STORAGE
#endif
+#ifndef MAX_REFINE_REQUIREMENTS
+ #define MAX_REFINE_REQUIREMENTS 4
+#endif
+
// sanity checks...
#if MAX_ZENY > INT_MAX
#error MAX_ZENY is too big
@@ -1379,4 +1383,8 @@ enum questinfo_type {
#error MAX_SKILL has been replaced by MAX_SKILL_DB. Please update your custom definitions.
#endif
+#if MAX_REFINE_REQUIREMENTS > 4
+#error MAX_REFINE_REQUIREMENTS is bigger than allowed, this is a hardcoded limit in the client
+#endif
+
#endif /* COMMON_MMO_H */