fix(Core/Player): Mutilate + Cold Blood crit fix (#22308)

This commit is contained in:
Hyjarion
2025-06-28 15:58:45 +02:00
committed by GitHub
parent ca8a2a5f58
commit 969e0275a9
2 changed files with 15 additions and 0 deletions

View File

@@ -10002,6 +10002,16 @@ void Player::RemoveSpellMods(Spell* spell)
continue;
}
}
// ROGUE MUTILATE WITH COLD BLOOD
if (spellInfo->Id == 5374)
{
SpellInfo const* sp = mod->ownerAura->GetSpellInfo();
if (sp->Id == 14177) // Cold Blood
{
mod->charges = 1;
continue;
}
}
if (mod->ownerAura->DropCharge(AURA_REMOVE_BY_EXPIRE))
itr = m_spellMods[i].begin();