aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarpten <vertozor@gmail.com>2013-03-03 09:37:37 +0100
committerWarpten <vertozor@gmail.com>2013-03-03 09:37:37 +0100
commit5ed840139279fcff2a70a30068766836716bce4c (patch)
tree9fad12bf7667d9ec2c409644c8130eed29a3f432
parent85d96c5a3f6ec30240638356afea360acb8fb160 (diff)
Spells/Warlock: Fixed Unstable Affliction's backfire damage.
-rw-r--r--src/server/scripts/Spells/spell_warlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp
index 92d8e940a22..e682322f37b 100644
--- a/src/server/scripts/Spells/spell_warlock.cpp
+++ b/src/server/scripts/Spells/spell_warlock.cpp
@@ -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