Core/Misc: moved WeaponAttackType definition to SharedDefines to avoid including Unit.h
This commit is contained in:
1 parent
5ff56097c0
commit
6cd253ff8f
2 files changed
+8
-8
No files matched your search
@@ -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