mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Scripts/Karazhan): remove Blood Mirror auras from Mirkblood when mirrored target dies (#23159)
This commit is contained in:
@@ -123,6 +123,15 @@ struct boss_tenris_mirkblood : public BossAI
|
||||
return;
|
||||
|
||||
DoCast(victim, SPELL_SUMMON_SANGUINE_SPIRIT_ON_KILL);
|
||||
|
||||
if (!_mirrorTarget)
|
||||
return;
|
||||
|
||||
if (victim == _mirrorTarget)
|
||||
{
|
||||
me->RemoveAurasDueToSpell(SPELL_BLOOD_MIRROR0);
|
||||
me->RemoveAurasDueToSpell(SPELL_BLOOD_MIRROR1);
|
||||
}
|
||||
}
|
||||
|
||||
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType damageType, SpellSchoolMask damageSchoolMask) override
|
||||
|
||||
Reference in New Issue
Block a user