Core/Spells: Fix Shaman talent Storm, Earth, Fire (Earthgrab part) in case of using Earthbind totem trough Call of the Elements etc.
This commit is contained in:
@@ -6987,9 +6987,8 @@ void Spell::EffectCastButtons(SpellEffIndex effIndex)
|
|||||||
if (m_caster->GetPower(POWER_MANA) < cost)
|
if (m_caster->GetPower(POWER_MANA) < cost)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
m_caster->CastSpell(unitTarget, spell_id, true);
|
TriggerCastFlags triggerFlags = TriggerCastFlags(TRIGGERED_IGNORE_GCD | TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_CAST_DIRECTLY | TRIGGERED_ALLOW_PROC_EVENTS);
|
||||||
m_caster->ModifyPower(POWER_MANA, -(int32)cost);
|
m_caster->CastSpell(unitTarget, spell_id, triggerFlags);
|
||||||
p_caster->AddSpellAndCategoryCooldowns(spellInfo, 0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user