summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2015-12-26 19:56:18 +0800
committerHaru <haru@dotalux.com>2016-01-09 18:45:14 +0100
commita0f25125a6239894a86d51ae8dcf6a06a4d0a380 (patch)
treeed58fa16b74e46268cd8701948ce69e5bd5bb95d /src/common
parentd9d0e6275f579674735cf774069c27844a840397 (diff)
downloadhercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.tar.gz
hercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.tar.bz2
hercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.tar.xz
hercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.zip
Added support for MC_CARTDECORATE skill.
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index eb1d7cc8e..17e6078fc 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -98,13 +98,19 @@
#endif // 20090603
#endif // 20070227
-/* Feb 1st 2012 */
-#if PACKETVER >= 20120201
-# define NEW_CARTS
-# define MAX_CARTS 9
+#if PACKETVER >= 20150805 /* Cart Decoration */
+ #define CART_DECORATION
+ #define MAX_CARTDECORATION_CARTS 3 // Currently there are 3 Carts available in kRO. [Frost]
#else
-# define MAX_CARTS 5
+ #define MAX_CARTDECORATION_CARTS 0
#endif
+#if PACKETVER >= 20120201 /* New Geneticist Carts */
+ #define NEW_CARTS
+ #define MAX_BASE_CARTS 9
+#else
+ #define MAX_BASE_CARTS 5
+#endif
+#define MAX_CARTS (MAX_BASE_CARTS + MAX_CARTDECORATION_CARTS)
#define MAX_INVENTORY 100
//Max number of characters per account. Note that changing this setting alone is not enough if the client is not hexed to support more characters as well.