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:
kaelima
2011-05-24 05:20:57 +02:00
parent cb7d6647ad
commit a44e97ab74
+4 -1
View File
@@ -1604,10 +1604,13 @@ void Spell::EffectForceCast(SpellEffIndex effIndex)
{
switch (m_spellInfo->Id)
{
case 52588: // Skeletal Gryphon Escape
case 48598: // Ride Flamebringer Cue
unitTarget->RemoveAura(damage);
break;
case 52588: // Skeletal Gryphon Escape
unitTarget->RemoveAura(damage);
unitTarget->CastSpell(unitTarget, spellInfo, true);
return;
case 52463: // Hide In Mine Car
case 52349: // Overtake
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);