Implement quest completing at spell 53341, 53343 cast. Also implement item 38607 using cast.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
GriffonHeart 2008-12-19 02:51:22 +03:00 committed by VladimirMangos
parent 7891238bde
commit 11c45937b3

View file

@ -1169,6 +1169,12 @@ void Spell::EffectDummy(uint32 i)
m_caster->CastSpell(m_caster, 30452, true, NULL);
return;
}
case 53341:
case 53343:
{
m_caster->CastSpell(m_caster,54586,true);
return;
}
}
//All IconID Check in there
@ -4919,6 +4925,14 @@ void Spell::EffectScriptEffect(uint32 effIndex)
break;
}
case 51770:
{
if(!unitTarget)
return;
unitTarget->CastSpell(unitTarget,51771,false);
break;
}
}
if( m_spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN )