mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8516] Implement spell 53271.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
305dddd7bd
commit
b1cb25e92f
3 changed files with 25 additions and 1 deletions
|
|
@ -1646,6 +1646,16 @@ void Spell::EffectDummy(uint32 i)
|
|||
((Player*)m_caster)->SendAttackSwingCancelAttack();
|
||||
return;
|
||||
}
|
||||
// Master's Call
|
||||
case 53271:
|
||||
{
|
||||
Pet* pet = m_caster->GetPet();
|
||||
if (!pet || !unitTarget)
|
||||
return;
|
||||
|
||||
pet->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(i), true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_PALADIN:
|
||||
|
|
@ -5386,6 +5396,16 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
|||
}
|
||||
return;
|
||||
}
|
||||
// Master's Call
|
||||
case 53271:
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
// script effect have in value, but this outdated removed part
|
||||
unitTarget->CastSpell(unitTarget, 62305, true);
|
||||
return;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue