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:
parent
0b952192c1
commit
7b89dac055
4 changed files with 77 additions and 13 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue