Core/Misc: Reduce number of player spec hardcoded checks
Port From (https://github.com/TrinityCore/TrinityCore/commit/054723241eaf1abe7d45a96460e84b9ff113ffb2)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user