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:
Hondacrx
2024-09-01 15:20:55 -04:00
parent 8b991e1a06
commit fe20b3753e
+1 -1
View File
@@ -2967,7 +2967,7 @@ namespace Game.Entities
}
if (isCastInterrupted())
victim.InterruptNonMeleeSpells(false);
victim.InterruptSpell(CurrentSpellTypes.Generic, false, false);
else if (isCastDelayed())
spell.Delayed();
}