*fix weapon enchants procing in feral forms, closes issue #23
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -7465,7 +7465,7 @@ void Player::CastItemCombatSpell(Unit *target, WeaponAttackType attType, uint32
|
|||||||
continue;
|
continue;
|
||||||
// Check if item is useable (forms or disarm)
|
// Check if item is useable (forms or disarm)
|
||||||
if (attType == BASE_ATTACK)
|
if (attType == BASE_ATTACK)
|
||||||
if (!IsUseEquipedWeapon(true))
|
if (!IsUseEquipedWeapon(true) && !IsInFeralForm())
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
CastItemCombatSpell(target, attType, procVictim, procEx, item, proto);
|
CastItemCombatSpell(target, attType, procVictim, procEx, item, proto);
|
||||||
|
|||||||
Reference in New Issue
Block a user