[9847] Add dummy effect of spell 50546, 50547 and 50548

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-05-07 16:27:37 +02:00
parent 4459f3a070
commit e46cea7f7c
2 changed files with 17 additions and 1 deletions

View file

@ -1433,6 +1433,22 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return;
}
case 50546: // Ley Line Focus Control Ring Effect
case 50547: // Ley Line Focus Control Amulet Effect
case 50548: // Ley Line Focus Control Talisman Effect
{
if (!m_originalCaster || !unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
switch(m_spellInfo->Id)
{
case 50546: unitTarget->CastSpell(m_originalCaster, 47390, true); break;
case 50547: unitTarget->CastSpell(m_originalCaster, 47472, true); break;
case 50548: unitTarget->CastSpell(m_originalCaster, 47635, true); break;
}
return;
}
case 51276: // Incinerate Corpse
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9846"
#define REVISION_NR "9847"
#endif // __REVISION_NR_H__