Core/Spell: Shattered Barrier should obey proc chance of talent ranks
This commit is contained in:
@@ -1347,7 +1347,8 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
|||||||
if (removeMode == AURA_REMOVE_BY_ENEMY_SPELL && GetSpellInfo()->SpellFamilyFlags[1] & 0x1)
|
if (removeMode == AURA_REMOVE_BY_ENEMY_SPELL && GetSpellInfo()->SpellFamilyFlags[1] & 0x1)
|
||||||
{
|
{
|
||||||
// Shattered Barrier
|
// Shattered Barrier
|
||||||
if (caster->GetDummyAuraEffect(SPELLFAMILY_MAGE, 2945, 0))
|
if (AuraEffect * dummy = caster->GetDummyAuraEffect(SPELLFAMILY_MAGE, 2945, 0))
|
||||||
|
if (roll_chance_i(dummy->GetSpellInfo()->ProcChance))
|
||||||
caster->CastSpell(target, 55080, true, NULL, GetEffect(0));
|
caster->CastSpell(target, 55080, true, NULL, GetEffect(0));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user