fix(Core/Spell): skip Guardian pets when searching for Party/Raid members (#22528)
This commit is contained in:
parent
9286bb363e
commit
e685c7f4ad
1 changed files with 4 additions and 0 deletions
|
|
@ -9040,6 +9040,8 @@ namespace Acore
|
|||
case TARGET_CHECK_PARTY:
|
||||
if (unitTarget->IsTotem())
|
||||
return false;
|
||||
if (unitTarget->IsGuardian())
|
||||
return false;
|
||||
if (!_caster->_IsValidAssistTarget(unitTarget, _spellInfo))
|
||||
return false;
|
||||
if (!_referer->IsInPartyWith(unitTarget))
|
||||
|
|
@ -9052,6 +9054,8 @@ namespace Acore
|
|||
case TARGET_CHECK_RAID:
|
||||
if (unitTarget->IsTotem())
|
||||
return false;
|
||||
if (unitTarget->IsGuardian())
|
||||
return false;
|
||||
if (!_caster->_IsValidAssistTarget(unitTarget, _spellInfo))
|
||||
return false;
|
||||
if (!_referer->IsInRaidWith(unitTarget))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue