fix(Core/Spells): Channeled destination spells should not interrupt flag capturing. (#9472)

Fixes #9225
This commit is contained in:
UltraNix
2021-12-10 03:45:01 +01:00
committed by GitHub
parent 39355fa1ee
commit 52d8e1b68a
3 changed files with 23 additions and 14 deletions

View File

@@ -2663,7 +2663,7 @@ void Spell::DoAllEffectOnTarget(TargetInfo* target)
procEx |= createProcExtendMask(&damageInfo, missInfo);
procVictim |= PROC_FLAG_TAKEN_DAMAGE;
caster->DealSpellDamage(&damageInfo, true);
caster->DealSpellDamage(&damageInfo, true, this);
// do procs after damage, eg healing effects
// no need to check if target is alive, done in procdamageandspell