Core/Spells: Fixed rogue T10 2P and 4P bonuses

Closes #422

Signed-off-by: Subv <s.v.h21@hotmail.com>
This commit is contained in:
Subv committed 2012-04-07 16:58:56 -05:00
1 parent 7ce33ca0a6
commit f17b990f68
2 files changed
+21

No files matched your search

+20
View File
@@ -8672,6 +8672,26 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
}
break;
}
case SPELLFAMILY_ROGUE:
{
switch (auraSpellInfo->Id)
{
// Rogue T10 2P bonus, should only proc on caster
case 70805:
{
if (victim != this)
return false;
break;
}
// Rogue T10 4P bonus, should proc on victim
case 70803:
{
target = victim;
break;
}
}
break;
}
default:
break;
}