mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[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:
parent
c31f2c0a1f
commit
81d55d4a41
2 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue