fix(Core/Spells): Fix Cold Blood not consumed when Mutilate kills target (#24909)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
This commit is contained in:
blinkysc 2026-02-28 08:14:25 -06:00 committed by GitHub
parent 0b952192c1
commit 7b89dac055
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 77 additions and 13 deletions

View file

@ -9990,14 +9990,6 @@ void Player::RemoveSpellMods(Spell* spell)
if (roll_chance_i(aurEff->GetAmount()))
continue; // don't consume charge
}
// ROGUE MUTILATE WITH COLD BLOOD
if (spellInfo->Id == 5374)
{
SpellInfo const* sp = mod->ownerAura->GetSpellInfo();
if (sp->Id == 14177) // Cold Blood
continue; // don't consume charge
}
if (mod->ownerAura->DropCharge(AURA_REMOVE_BY_EXPIRE))
itr = m_spellMods[i].begin();
}