summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-03-19 16:45:52 +0100
committerGitHub <noreply@github.com>2017-03-19 16:45:52 +0100
commit7aae8b0769efadbe42cdaed7ea29cfbc22eca7ab (patch)
tree2187db986f040eab4e4d54eb0c4790d19533b14b /src
parent1e03a5b09d71741e267147cfcd522f9ad7a53dc2 (diff)
parentae14c645b4e247d98ecf23401e796c21b3c4f5b3 (diff)
downloadhercules-7aae8b0769efadbe42cdaed7ea29cfbc22eca7ab.tar.gz
hercules-7aae8b0769efadbe42cdaed7ea29cfbc22eca7ab.tar.bz2
hercules-7aae8b0769efadbe42cdaed7ea29cfbc22eca7ab.tar.xz
hercules-7aae8b0769efadbe42cdaed7ea29cfbc22eca7ab.zip
Merge pull request #1184 from HerculesWS/CHARACTER_SLOTS
Increase Character Slots from 9 to 12
Diffstat (limited to 'src')
-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