From 237b583e641aa96c4fa68fc2fe58d0c14bf98914 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 23 Jun 2021 23:13:05 -0400 Subject: [PATCH] Core/Spells: fixed server being too overzealous with autoshot Port From (https://github.com/TrinityCore/TrinityCore/commit/5323a7d38697967c12abe9b2903b97e271a2cac1) --- Source/Game/Spells/Spell.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 7880caaaa..1aabb041c 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -2458,7 +2458,7 @@ namespace Game.Spells m_caster.m_Events.AddEvent(_spellEvent, m_caster.m_Events.CalculateTime(1)); //Prevent casting at cast another spell (ServerSide check) - if (!Convert.ToBoolean(_triggeredCastFlags & TriggerCastFlags.IgnoreCastInProgress) && m_caster.IsNonMeleeSpellCast(false, true, true) && !m_castId.IsEmpty()) + if (!Convert.ToBoolean(_triggeredCastFlags & TriggerCastFlags.IgnoreCastInProgress) && m_caster.IsNonMeleeSpellCast(false, true, true, m_spellInfo.Id == 75) && !m_castId.IsEmpty()) { SendCastResult(SpellCastResult.SpellInProgress); Finish(false);