fix(Core/Spells): Master's Call used on rooted pet (#7294)
- Closes #7239
This commit is contained in:
parent
004af40cc0
commit
faef417d92
1 changed files with 7 additions and 1 deletions
|
|
@ -5662,7 +5662,13 @@ SpellCastResult Spell::CheckCast(bool strict)
|
|||
m_caster->RemoveMovementImpairingAuras(true);
|
||||
}
|
||||
if (m_caster->HasUnitState(UNIT_STATE_ROOT))
|
||||
return SPELL_FAILED_ROOTED;
|
||||
{
|
||||
// Exception for Master's Call
|
||||
if (m_spellInfo->Id != 54216)
|
||||
{
|
||||
return SPELL_FAILED_ROOTED;
|
||||
}
|
||||
}
|
||||
if (m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
if (Unit* target = m_targets.GetUnitTarget())
|
||||
if (!target->IsAlive())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue