fix(Core/Unit): fix Dual Wield for more creatures... (#20047)
* non-weapons should return true * remove shapeshift check
This commit is contained in:
parent
c2be398986
commit
8a0604479a
1 changed files with 0 additions and 3 deletions
|
|
@ -1065,9 +1065,6 @@ public:
|
|||
inline bool HasRangedWeaponForAttack() const { return HasWeaponForAttack(RANGED_ATTACK); }
|
||||
[[nodiscard]] bool CanUseAttackType(uint8 attacktype) const
|
||||
{
|
||||
if (IsAttackSpeedOverridenShapeShift())
|
||||
return false;
|
||||
|
||||
switch (attacktype)
|
||||
{
|
||||
case BASE_ATTACK:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue