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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: