mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Spells: Start spells triggered by SPELL_EFFECT_FORCE_CAST_2 without any trigger flags
This commit is contained in:
@@ -3858,6 +3858,8 @@ void Spell::_cast(bool skipCheck)
|
||||
if (!m_spellInfo->HasAttribute(SPELL_ATTR12_START_COOLDOWN_ON_CAST_START))
|
||||
SendSpellCooldown();
|
||||
|
||||
m_spellState = SPELL_STATE_LAUNCHED;
|
||||
|
||||
if (!m_spellInfo->LaunchDelay)
|
||||
{
|
||||
HandleLaunchPhase();
|
||||
@@ -3883,7 +3885,6 @@ void Spell::_cast(bool skipCheck)
|
||||
|
||||
// Okay, maps created, now prepare flags
|
||||
m_immediateHandled = false;
|
||||
m_spellState = SPELL_STATE_LAUNCHED;
|
||||
SetDelayStart(0);
|
||||
|
||||
if (Unit* unitCaster = m_caster->ToUnit())
|
||||
|
||||
Reference in New Issue
Block a user