[9071] Fixed exclusive triggering 2 buff versions for talent 48516 and ranks.

(based on commit acac608)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Insider 2009-12-25 22:40:34 +03:00 committed by VladimirMangos
parent c31f2c0a1f
commit 81d55d4a41
2 changed files with 5 additions and 1 deletions

View file

@ -5841,6 +5841,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
// Wrath crit
if (procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000001))
{
if (HasAura(48517))
return false;
if (!roll_chance_i(60))
return false;
triggered_spell_id = 48518;
@ -5850,6 +5852,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
// Starfire crit
if (procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000004))
{
if (HasAura(48518))
return false;
triggered_spell_id = 48517;
target = this;
break;