mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 08:28:57 +01:00
Core/Spells: Partial fix spells 62056, 63985 (Stone Grip Force Cast - Part of Kologarn encounter), underlying AuraEffect::HandleAuraControlVehicle will no longer prematurely return.
--HG-- branch : trunk
This commit is contained in:
@@ -1600,6 +1600,13 @@ void Spell::EffectForceCast(SpellEffIndex effIndex)
|
||||
}
|
||||
}
|
||||
|
||||
switch (triggered_spell_id)
|
||||
{
|
||||
case 62056: case 63985: // Stone Grip Forcecast (10m, 25m)
|
||||
unitTarget->CastSpell(unitTarget, spellInfo, true); // Don't send m_originalCasterGUID param here or underlying
|
||||
return; // AureEffect::HandleAuraControlVehicle will fail on caster == target
|
||||
}
|
||||
|
||||
Unit * caster = GetTriggeredSpellCaster(spellInfo, m_caster, unitTarget);
|
||||
|
||||
caster->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID);
|
||||
|
||||
Reference in New Issue
Block a user