Core/Spells: Drain Soul will now only have a 25% chance to generate a soul shard while channeling

This commit is contained in:
Ovahlord committed 2019-01-17 23:02:39 +01:00
1 parent 3560bab0b7
commit 771f21a171
1 file changed
+3
@@ -1578,6 +1578,9 @@ class spell_warl_drain_soul : public SpellScriptLoader
void HandlePeriodic(AuraEffect const* aurEff)
{
if (!roll_chance_i(GetSpellInfo()->Effects[EFFECT_1].BasePoints))
return;
if (Unit* caster = GetCaster())
caster->CastSpell(caster, SPELL_WARLOCK_SOUL_SHARD, true, 0, aurEff);
}