Increase default stash size

This commit is contained in:
Crypto137 2023-01-10 08:41:07 +03:00
parent bddcf2ed7e
commit 2e70fa6538
2 changed files with 4 additions and 5 deletions

View File

@ -76,9 +76,9 @@ namespace DiIiS_NA.LoginServer.AccountsSystem
ParagonLevelHardcore = 0,
Experience = 7200000,
ExperienceHardcore = 7200000,
StashSize = 70,
HardcoreStashSize = 70,
SeasonStashSize = 70,
StashSize = 700, // Default stash sizes should be 70 with purchasable upgrades
HardcoreStashSize = 700,
SeasonStashSize = 700,
BloodShards = 0,
HardcoreBloodShards = 0,
BossProgress = new byte[] { 0xff, 0xff, 0xff, 0xff, 0xff },

View File

@ -2418,8 +2418,7 @@ namespace DiIiS_NA.GameServer.GSSystem.PlayerSystem
_owner.World.Game.GameDBSession.SessionGet<DBGameAccount>(_owner.Toon.GameAccount.PersistentID).StashSize;
if (slots > 0)
{
//_owner.Attributes[GameAttribute.Shared_Stash_Slots] = slots;
_owner.Attributes[GameAttribute.Shared_Stash_Slots] = 700; // HACK: Give player 10 stash tabs. Remove this when tab purchasing gets fixed.
_owner.Attributes[GameAttribute.Shared_Stash_Slots] = slots;
_owner.Attributes.BroadcastChangedIfRevealed();
// To be applied before loading items, to have all the space needed
_stashGrid.ResizeGrid(_owner.Attributes[GameAttribute.Shared_Stash_Slots] / 7, 7);