summaryrefslogtreecommitdiff
path: root/src/mmo
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2022-12-16 11:21:49 +0100
committerHoraK-FDF <horak-fdf@web.de>2022-12-16 11:21:49 +0100
commit67bf4970c20f18a55cab7adde58ef346f3d2ad1e (patch)
tree09dd88b4c9d8f72196748b12302495411e746200 /src/mmo
parent3f9bfc2f611f4c775c3f1ead7a6c48d2f287e187 (diff)
downloadtmwa-67bf4970c20f18a55cab7adde58ef346f3d2ad1e.tar.gz
tmwa-67bf4970c20f18a55cab7adde58ef346f3d2ad1e.tar.bz2
tmwa-67bf4970c20f18a55cab7adde58ef346f3d2ad1e.tar.xz
tmwa-67bf4970c20f18a55cab7adde58ef346f3d2ad1e.zip
mobs critical_def + 10 drops + storage 500
Diffstat (limited to 'src/mmo')
-rw-r--r--src/mmo/consts.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mmo/consts.hpp b/src/mmo/consts.hpp
index 5445186..d56facd 100644
--- a/src/mmo/consts.hpp
+++ b/src/mmo/consts.hpp
@@ -36,7 +36,9 @@ constexpr int MAX_MAP_PER_SERVER = 512;
constexpr int MAX_INVENTORY = 100;
constexpr int MAX_AMOUNT = 30000;
constexpr int MAX_ZENY = 1000000000; // 1G zeny
-constexpr int TRADE_MAX = 10;
+constexpr int TRADE_MAX = 12;
+// M+ 1.9.3.23 only supports 12 items in trade window it will make the trade with more but brings error messages for every item above 12.
+// So I let it 12 for now until ManaVerse (with cuocos fix) is the only client.
constexpr int GLOBAL_REG_NUM = 96;
constexpr size_t ACCOUNT_REG_NUM = 16;
@@ -44,7 +46,7 @@ constexpr size_t ACCOUNT_REG2_NUM = 16;
constexpr interval_t DEFAULT_WALK_SPEED = 150_ms;
constexpr interval_t MIN_WALK_SPEED = interval_t::zero();
constexpr interval_t MAX_WALK_SPEED = 1_s;
-constexpr int MAX_STORAGE = 300;
+constexpr int MAX_STORAGE = 500;
constexpr int MAX_PARTY = 120;
#define MIN_HAIR_STYLE battle_config.min_hair_style