Core/Unit: rename & cleanup GetCreatePowers
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8ec1ba9bc2d6d24407670159a765099f2a3004d)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user