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

Closes #422

Signed-off-by: Subv <[email protected]>
This commit is contained in:
Subv
2012-04-07 16:58:56 -05:00
parent 7ce33ca0a6
commit f17b990f68
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1 @@
UPDATE `spell_proc_event` SET `procFlags`=0 WHERE `entry`=70805;
+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;
}