mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9847] Add dummy effect of spell 50546, 50547 and 50548
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
4459f3a070
commit
e46cea7f7c
2 changed files with 17 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9846"
|
||||
#define REVISION_NR "9847"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue