Spells/Warlock: Fixed Unstable Affliction's backfire damage.

This commit is contained in:
Warpten committed 2013-03-03 09:37:37 +01:00
1 parent 85d96c5a3f
commit 5ed8401392
1 file changed
+1 -1
+1 -1
View File
@@ -997,7 +997,7 @@ class spell_warl_unstable_affliction : public SpellScriptLoader
void HandleDispel(DispelInfo* dispelInfo)
{
if (Unit* caster = GetCaster())
if (AuraEffect const* aurEff = GetEffect(EFFECT_0))
if (AuraEffect const* aurEff = GetEffect(EFFECT_1))
{
int32 damage = aurEff->GetAmount() * 9;
// backfire damage and silence