fix(Core/Player): Recalculate all StatModEffects on levelup (#23184)
This commit is contained in:
parent
43a54d4329
commit
1434cde99e
1 changed files with 2 additions and 0 deletions
|
|
@ -2500,6 +2500,7 @@ void Player::GiveLevel(uint8 level)
|
|||
m_Played_time[PLAYED_TIME_LEVEL] = 0; // Level Played Time reset
|
||||
|
||||
_ApplyAllLevelScaleItemMods(false);
|
||||
_RemoveAllAuraStatMods();
|
||||
|
||||
SetLevel(level);
|
||||
|
||||
|
|
@ -2522,6 +2523,7 @@ void Player::GiveLevel(uint8 level)
|
|||
UpdateSkillsToMaxSkillsForLevel();
|
||||
|
||||
_ApplyAllLevelScaleItemMods(true);
|
||||
_ApplyAllAuraStatMods();
|
||||
|
||||
if (!isDead())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue