Core/Cheats: Power - set max power on all powers initially + on regenerate
Port From (https://github.com/TrinityCore/TrinityCore/commit/079bc7800eeb1f5ae8201e59f91d92e980680bcb)
This commit is contained in:
@@ -3812,6 +3812,9 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
if (GetCommandStatus(PlayerCommandStates.Power))
|
||||
curValue = maxPower;
|
||||
|
||||
if (m_regenTimerCount >= 2000)
|
||||
SetPower(power, curValue);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user