mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
fix(Core/Unit): fix Dual Wield for more creatures... (#20047)
* non-weapons should return true * remove shapeshift check
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user