summaryrefslogtreecommitdiff
path: root/src/mmo/consts.hpp
diff options
context:
space:
mode:
authorJesusalva Jesusalva <jesusalva@themanaworld.org>2022-12-22 22:31:23 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-12-22 22:31:23 +0000
commita6eeda410b4f27b5c6f065ee8a0d7c48420748d9 (patch)
tree09dd88b4c9d8f72196748b12302495411e746200 /src/mmo/consts.hpp
parent3f9bfc2f611f4c775c3f1ead7a6c48d2f287e187 (diff)
parent67bf4970c20f18a55cab7adde58ef346f3d2ad1e (diff)
downloadtmwa-a6eeda410b4f27b5c6f065ee8a0d7c48420748d9.tar.gz
tmwa-a6eeda410b4f27b5c6f065ee8a0d7c48420748d9.tar.bz2
tmwa-a6eeda410b4f27b5c6f065ee8a0d7c48420748d9.tar.xz
tmwa-a6eeda410b4f27b5c6f065ee8a0d7c48420748d9.zip
Merge branch 'mobs_and_drops' into 'master'
mobs critical_def + 10 drops + storage 500 See merge request legacy/tmwa!242
Diffstat (limited to 'src/mmo/consts.hpp')
-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