Core/Spells: Start spells triggered by SPELL_EFFECT_FORCE_CAST_2 without any trigger flags

Port From (https://github.com/TrinityCore/TrinityCore/commit/0fd418eb7472039bb953a7167a48f6495c2b2efb)
This commit is contained in:
Hondacrx
2025-08-12 21:53:56 -04:00
parent b021781fde
commit 51b9b1e85c
2 changed files with 46 additions and 3 deletions
+2 -1
View File
@@ -3027,6 +3027,8 @@ namespace Game.Spells
if (!m_spellInfo.HasAttribute(SpellAttr12.StartCooldownOnCastStart))
SendSpellCooldown();
m_spellState = SpellState.Launched;
if (m_spellInfo.LaunchDelay == 0)
{
HandleLaunchPhase();
@@ -3052,7 +3054,6 @@ namespace Game.Spells
// Okay, maps created, now prepare flags
m_immediateHandled = false;
m_spellState = SpellState.Launched;
SetDelayStart(0);
unitCaster = m_caster.ToUnit();