Core/Misc: moved WeaponAttackType definition to SharedDefines to avoid including Unit.h

This commit is contained in:
ariel-
2017-02-20 14:22:49 -03:00
committed by Aokromes
parent 5ff56097c0
commit 6cd253ff8f
2 changed files with 8 additions and 8 deletions

View File

@@ -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,

View File

@@ -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