mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/Spells: Setup should add combo-point at selected target
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user