Core/Spells: Implemented SPELL_ATTR9_ALLOW_CAST_WHILE_CHANNELING

Port From (https://github.com/TrinityCore/TrinityCore/commit/3365e6a4b84f59cca5f7ef5fca71fb3979697e52)
This commit is contained in:
Hondacrx
2024-08-31 17:08:45 -04:00
parent 451354f925
commit 62e3c0ef66
3 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -2583,7 +2583,7 @@ namespace Game.Spells
}
// Prevent casting at cast another spell (ServerSide check)
if (!_triggeredCastFlags.HasFlag(TriggerCastFlags.IgnoreCastInProgress) && m_caster.ToUnit() != null && m_caster.ToUnit().IsNonMeleeSpellCast(false, true, true, m_spellInfo.Id == 75) && !m_castId.IsEmpty())
if (!_triggeredCastFlags.HasFlag(TriggerCastFlags.IgnoreCastInProgress) && m_caster.ToUnit() != null && m_caster.ToUnit().IsNonMeleeSpellCast(false, true, true, m_spellInfo.Id == 75))
{
SendCastResult(SpellCastResult.SpellInProgress);
Finish(SpellCastResult.SpellInProgress);