Core/Spells: arcane missiles always has a 40% proc chance

This commit is contained in:
Ovahlord
2018-03-21 19:58:35 +01:00
parent 963055df37
commit 44912fd51b

View File

@@ -1658,20 +1658,7 @@ public:
if (eventInfo.GetProcSpell()->GetSpellInfo()->Id == SPELL_MAGE_ARCANE_MISSILES_DAMAGE)
return false;
// Some spells have a increased chance of triggering the proc
switch (eventInfo.GetProcSpell()->GetSpellInfo()->Id)
{
case SPELL_MAGE_ARCANE_BLAST: // Arcane Blast has a 30% chance
if (roll_chance_i(30))
return true;
break;
default: // The default chance is at 15%
if (roll_chance_i(15))
return true;
break;
}
return false;
return roll_chance_i(40);
}
void Register() override