Core/Misc: Reduce number of player spec hardcoded checks

Port From (https://github.com/TrinityCore/TrinityCore/commit/054723241eaf1abe7d45a96460e84b9ff113ffb2)
This commit is contained in:
hondacrx
2023-09-13 19:47:12 -04:00
parent 070b35d6e8
commit 7cb343e4f9
6 changed files with 22 additions and 47 deletions
+7 -1
View File
@@ -1114,12 +1114,18 @@ namespace Framework.Constants
Caster = 0x01,
Ranged = 0x02,
Melee = 0x04,
Unknown = 0x08,
DualWieldTwoHanded = 0x10, // Used For Cunitdisplay::Setsheatheinvertedfordualwield
PetOverrideSpec = 0x20,
Recommended = 0x40,
}
public enum ChrSpecializationRole
{
Tank = 0,
Healer = 1,
Dps = 2
}
public enum ContentTuningCalcType
{
Base = 0,