Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/7fdcae81d8cc99ed154f3efe875d5670590cc122)
This commit is contained in:
@@ -2967,7 +2967,7 @@ namespace Game.Entities
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isCastInterrupted())
|
if (isCastInterrupted())
|
||||||
victim.InterruptNonMeleeSpells(false);
|
victim.InterruptSpell(CurrentSpellTypes.Generic, false, false);
|
||||||
else if (isCastDelayed())
|
else if (isCastDelayed())
|
||||||
spell.Delayed();
|
spell.Delayed();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user