Core/Units: Add PowerTypeFlags enum

Port From (https://github.com/TrinityCore/TrinityCore/commit/8828af2a5e3754e45893e0d62efae86747dfa4f2)
This commit is contained in:
hondacrx
2023-05-23 05:17:41 -04:00
parent 95c64e2782
commit 06f99fda8b
2 changed files with 19 additions and 0 deletions
+17
View File
@@ -1842,6 +1842,23 @@ namespace Framework.Constants
MajorFactionRenown = 64
}
[Flags]
public enum PowerTypeFlags
{
StopRegenWhileCasting = 0x01,
UseRegenInterrupt = 0x02,
FillFractionalPowerOnEnergize = 0x08,
NoClientPrediction = 0x10,
UnitsUseDefaultPowerOnInit = 0x20,
NotSetToDefaultOnResurrect = 0x40,
IsUsedByNPCs = 0x80,
ContinueRegenWhileFatigued = 0x200,
RegenAffectedByHaste = 0x400,
SetToMaxOnLevelUp = 0x1000,
SetToMaxLevelOnInitialLogIn = 0x2000,
AllowCostModsForPlayers = 0x4000
}
public enum PrestigeLevelInfoFlags : byte
{
Disabled = 0x01 // Prestige levels with this flag won't be included to calculate max prestigelevel.