summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2016-03-06 09:42:31 +0800
committerAsheraf <acheraf1998@gmail.com>2017-03-16 23:58:48 +0000
commitae14c645b4e247d98ecf23401e796c21b3c4f5b3 (patch)
tree69547cc9a5e21ebccb67e9fe689efd8eb0ce30a3 /src/common
parentd0568eefba012ec1339f474154a5f239d08f4b41 (diff)
downloadhercules-ae14c645b4e247d98ecf23401e796c21b3c4f5b3.tar.gz
hercules-ae14c645b4e247d98ecf23401e796c21b3c4f5b3.tar.bz2
hercules-ae14c645b4e247d98ecf23401e796c21b3c4f5b3.tar.xz
hercules-ae14c645b4e247d98ecf23401e796c21b3c4f5b3.zip
Increase Character Slots from 9 to 12
- kRO Mains recently increased their character slots from 11 to 12.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 9c29b8a0e..16bc978bf 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -114,7 +114,15 @@
#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.
-#define MAX_CHARS 9
+#if PACKETVER >= 20100413
+#ifndef MAX_CHARS
+ #define MAX_CHARS 12
+#endif
+#else
+#ifndef MAX_CHARS
+ #define MAX_CHARS 9
+#endif
+#endif
//Number of slots carded equipment can have. Never set to less than 4 as they are also used to keep the data of forged items/equipment. [Skotlex]
//Note: The client seems unable to receive data for more than 4 slots due to all related packets having a fixed size.
#define MAX_SLOTS 4