Core/Spells: Cleaned up Shaman 4P Enhancement and Paladin 2P Retribution set bonus code
SQL: Added missing sql for that revision, thx cyberbrest Closes #12
This commit is contained in:
@@ -8544,12 +8544,10 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
|
||||
case 53817:
|
||||
{
|
||||
// Item - Shaman T10 Enhancement 4P Bonus
|
||||
if (AuraEffect * aurEff = ToPlayer()->GetAuraEffect(70832, 0))
|
||||
{
|
||||
if (Aura *maelstrom = GetAura(53817))
|
||||
if (AuraEffect const* aurEff = GetAuraEffect(70832, 0))
|
||||
if (Aura const* maelstrom = GetAura(53817))
|
||||
if ((maelstrom->GetStackAmount() == maelstrom->GetSpellProto()->StackAmount) && roll_chance_i(aurEff->GetAmount()))
|
||||
CastSpell(this, 70831, true, castItem, triggeredByAura);
|
||||
}
|
||||
|
||||
// have rank dependent proc chance, ignore too often cases
|
||||
// PPM = 2.5 * (rank of talent),
|
||||
|
||||
Reference in New Issue
Block a user