mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/Spells): Master's Call used on rooted pet (#7294)
- Closes #7239
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user