fix(Core/Spell): skip Guardian pets when searching for Party/R… (#22587)
This commit is contained in:
parent
fc4b2939ee
commit
cb580b9865
1 changed files with 2 additions and 2 deletions
|
|
@ -9040,7 +9040,7 @@ namespace Acore
|
|||
case TARGET_CHECK_PARTY:
|
||||
if (unitTarget->IsTotem())
|
||||
return false;
|
||||
if (unitTarget->IsGuardian())
|
||||
if (unitTarget->IsGuardian() && !unitTarget->IsControllableGuardian())
|
||||
return false;
|
||||
if (!_caster->_IsValidAssistTarget(unitTarget, _spellInfo))
|
||||
return false;
|
||||
|
|
@ -9054,7 +9054,7 @@ namespace Acore
|
|||
case TARGET_CHECK_RAID:
|
||||
if (unitTarget->IsTotem())
|
||||
return false;
|
||||
if (unitTarget->IsGuardian())
|
||||
if (unitTarget->IsGuardian() && !unitTarget->IsControllableGuardian())
|
||||
return false;
|
||||
if (!_caster->_IsValidAssistTarget(unitTarget, _spellInfo))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue