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());
|
WeaponAttackType const attackType = Player::GetAttackBySlot(item->GetSlot());
|
||||||
if (attackType != MAX_ATTACK)
|
if (attackType != MAX_ATTACK)
|
||||||
UpdateDamageDoneMods(attackType);
|
UpdateDamageDoneMods(attackType, apply ? -1 : slot);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ITEM_ENCHANTMENT_TYPE_USE_SPELL:
|
case ITEM_ENCHANTMENT_TYPE_USE_SPELL:
|
||||||
|
|||||||
Reference in New Issue
Block a user