fix(Core/Shaman): Rockbiter Weapon flat damage persists after removal (#26220)

This commit is contained in:
Lilliandris
2026-06-16 20:16:53 +02:00
committed by GitHub
parent 80b6016528
commit 7e9dcf2421

View File

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