Core/Spells: Fix spell 52588 (Skeletal Gryphon Escape) used in quest 12701 (Massacre At Light's Point).
It should now target the player instead of the cannon.
This commit is contained in:
@@ -1604,10 +1604,13 @@ void Spell::EffectForceCast(SpellEffIndex effIndex)
|
|||||||
{
|
{
|
||||||
switch (m_spellInfo->Id)
|
switch (m_spellInfo->Id)
|
||||||
{
|
{
|
||||||
case 52588: // Skeletal Gryphon Escape
|
|
||||||
case 48598: // Ride Flamebringer Cue
|
case 48598: // Ride Flamebringer Cue
|
||||||
unitTarget->RemoveAura(damage);
|
unitTarget->RemoveAura(damage);
|
||||||
break;
|
break;
|
||||||
|
case 52588: // Skeletal Gryphon Escape
|
||||||
|
unitTarget->RemoveAura(damage);
|
||||||
|
unitTarget->CastSpell(unitTarget, spellInfo, true);
|
||||||
|
return;
|
||||||
case 52463: // Hide In Mine Car
|
case 52463: // Hide In Mine Car
|
||||||
case 52349: // Overtake
|
case 52349: // Overtake
|
||||||
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
|
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
|
||||||
|
|||||||
Reference in New Issue
Block a user