Core/Spells: followup fixed for merge conflicts

This commit is contained in:
Ovahlord committed 2020-06-22 12:03:30 +02:00
1 parent 9fe40967b1
commit 29c332949f
3 files changed
+10 -2

No files matched your search

+6
View File
@@ -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;