Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
buildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovahlord committed Dec 18, 2023
1 parent b5ec59a commit d8ef035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Entities/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2535,7 +2535,7 @@ void Player::InitStatsForLevel(bool reapplyMods)

// save new stats
for (uint8 i = POWER_MANA; i < MAX_POWERS; ++i)
SetMaxPower(Powers(i), GetCreatePowers(Powers(i)));
SetMaxPower(Powers(i), GetCreatePowerValue(Powers(i)));

SetMaxHealth(basehp); // stamina bonus will applied later

Expand Down

0 comments on commit d8ef035

Please sign in to comment.