Core/Spells: followup fixed for merge conflicts
This commit is contained in:
1 parent
9fe40967b1
commit
29c332949f
3 files changed
+10
-2
No files matched your search
@@ -8264,6 +8264,12 @@ bool WorldObjectSpellTargetCheck::operator()(WorldObject* target)
|
||||
if (!_referer->IsInRaidWith(unitTarget))
|
||||
return false;
|
||||
break;
|
||||
case TARGET_CHECK_SUMMONED:
|
||||
if (!unitTarget->IsSummon())
|
||||
return false;
|
||||
if (unitTarget->ToTempSummon()->GetSummonerGUID() != _caster->GetGUID())
|
||||
return false;
|
||||
break;
|
||||
case TARGET_CHECK_THREAT:
|
||||
if (_referer->getThreatManager().getThreat(unitTarget, true) <= 0.0f)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user