Core/Unit: rename & cleanup GetCreatePowers

Port From (https://github.com/TrinityCore/TrinityCore/commit/a8ec1ba9bc2d6d24407670159a765099f2a3004d)
This commit is contained in:
hondacrx
2021-11-23 21:26:01 -05:00
parent 044359a6b7
commit 501f280140
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5830,7 +5830,7 @@ namespace Game.Entities
// save new stats
for (var i = PowerType.Mana; i < PowerType.Max; ++i)
SetMaxPower(i, GetCreatePowers(i));
SetMaxPower(i, GetCreatePowerValue(i));
SetMaxHealth(0); // stamina bonus will applied later