Scripts/Naxxramas: Patchwerk's hateful strike should not hit the main tank
Signed-off-by: Machiavelli <[email protected]>
This commit is contained in:
@@ -119,7 +119,7 @@ public:
|
||||
for (; i != me->getThreatManager().getThreatList().end(); ++i)
|
||||
{
|
||||
Unit *pTarget = (*i)->getTarget();
|
||||
if (pTarget->isAlive() && pTarget->GetHealth() > MostHP && me->IsWithinMeleeRange(pTarget))
|
||||
if (pTarget->isAlive() && pTarget != me->getVictim() && pTarget->GetHealth() > MostHP && me->IsWithinMeleeRange(pTarget))
|
||||
{
|
||||
MostHP = pTarget->GetHealth();
|
||||
pMostHPTarget = pTarget;
|
||||
|
||||
Reference in New Issue
Block a user