fix(Core/Unit): fix Dual Wield for more creatures... (#20047)

* non-weapons should return true

* remove shapeshift check
This commit is contained in:
Jelle Meeus
2024-09-26 12:13:47 +02:00
committed by GitHub
parent c2be398986
commit 8a0604479a

View File

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