mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-04 22:07:52 +00:00
fix(Core/Shaman): Rockbiter Weapon flat damage persists after removal (#26220)
This commit is contained in:
@@ -4701,7 +4701,7 @@ void Player::ApplyEnchantment(Item* item, EnchantmentSlot slot, bool apply, bool
|
||||
{
|
||||
WeaponAttackType const attackType = Player::GetAttackBySlot(item->GetSlot());
|
||||
if (attackType != MAX_ATTACK)
|
||||
UpdateDamageDoneMods(attackType);
|
||||
UpdateDamageDoneMods(attackType, apply ? -1 : slot);
|
||||
break;
|
||||
}
|
||||
case ITEM_ENCHANTMENT_TYPE_USE_SPELL:
|
||||
|
||||
Reference in New Issue
Block a user