mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
Core/Misc: moved WeaponAttackType definition to SharedDefines to avoid including Unit.h
This commit is contained in:
@@ -593,14 +593,6 @@ enum UnitMoveType
|
||||
TC_GAME_API extern float baseMoveSpeed[MAX_MOVE_TYPE];
|
||||
TC_GAME_API extern float playerBaseMoveSpeed[MAX_MOVE_TYPE];
|
||||
|
||||
enum WeaponAttackType : uint8
|
||||
{
|
||||
BASE_ATTACK = 0,
|
||||
OFF_ATTACK = 1,
|
||||
RANGED_ATTACK = 2,
|
||||
MAX_ATTACK
|
||||
};
|
||||
|
||||
enum CombatRating
|
||||
{
|
||||
CR_WEAPON_SKILL = 0,
|
||||
|
||||
@@ -4125,4 +4125,12 @@ enum SpellCooldownFlags
|
||||
SPELL_COOLDOWN_FLAG_INCLUDE_EVENT_COOLDOWNS = 0x2 ///< Starts GCD for spells that should start their cooldown on events, requires SPELL_COOLDOWN_FLAG_INCLUDE_GCD set
|
||||
};
|
||||
|
||||
enum WeaponAttackType : uint8
|
||||
{
|
||||
BASE_ATTACK = 0,
|
||||
OFF_ATTACK = 1,
|
||||
RANGED_ATTACK = 2,
|
||||
MAX_ATTACK
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user