Core/Player: split table player_classlevelstats into two tables by introducing player_racestats for race specific offsets

This commit is contained in:
Ovahlord committed 2025-03-10 19:52:18 +01:00
1 parent 7ece100da8
commit 9189fa1858
3 files changed
+937 -21

No files matched your search

+1 -3
View File
@@ -668,9 +668,7 @@ typedef std::vector<PlayerCreateInfoItem> PlayerCreateInfoItems;
struct PlayerLevelInfo
{
PlayerLevelInfo() { for (uint8 i = 0; i < MAX_STATS; ++i) stats[i] = 0; }
uint8 stats[MAX_STATS];
uint16 stats[MAX_STATS] = { };
};
typedef std::vector<uint32> PlayerCreateInfoSpells;