Core/AuctionHouse: Don't overflow mail attachments, send max 16 items per mail

Port From (https://github.com/TrinityCore/TrinityCore/commit/7e18255ee24f6c8b133f197120e18934cfa50395)
This commit is contained in:
hondacrx
2020-05-22 13:54:15 -04:00
parent a09e6aa9ae
commit 9cd6f64e86
3 changed files with 67 additions and 28 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ namespace Framework.Constants
public const int GTMaxRating = 32; // gtOCTClassCombatRatingScalar.dbc stores data for 32 ratings, look at MAX_COMBAT_RATING for real used amount
public const int ReputationCap = 42999;
public const int ReputationBottom = -42000;
public const int MaxMailItems = 12;
public const int MaxClientMailItems = 12; // max number of items a player is allowed to attach
public const int MaxMailItems = 16;
public const int MaxDeclinedNameCases = 5;
public const int MaxHolidayDurations = 10;
public const int MaxHolidayDates = 26;