Core/Spells: Setup should add combo-point at selected target

This commit is contained in:
tobmaps
2011-05-10 21:15:48 +07:00
parent 6edde93e75
commit d49f535949

View File

@@ -8652,7 +8652,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
// Combo points add triggers (need add combopoint only for main target, and after possible combopoints reset)
case 15250: // Rogue Setup
{
if (!pVictim || pVictim != getVictim()) // applied only for main target
if (!pVictim || (ToPlayer() && pVictim != ToPlayer()->GetSelectedUnit())) // applied only for main target
return false;
break; // continue normal case
}