diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-19 11:23:07 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-19 11:23:07 +0200 |
commit | 944cfd077eced571e3ac5752a377b5a0934b9ee6 (patch) | |
tree | 0d4b677783603d2da89b40a84658393488b025c3 /src/scripts/Spells/spell_dk.cpp | |
parent | 787a9238df0069ef7fe27f9b714036c97436483a (diff) |
Cleaning unused variables
Diffstat (limited to 'src/scripts/Spells/spell_dk.cpp')
-rw-r--r-- | src/scripts/Spells/spell_dk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/Spells/spell_dk.cpp b/src/scripts/Spells/spell_dk.cpp index ee419992fa..fbbbbbe15a 100644 --- a/src/scripts/Spells/spell_dk.cpp +++ b/src/scripts/Spells/spell_dk.cpp @@ -937,7 +937,7 @@ class spell_dk_pet_scaling : public SpellScriptLoader int32 modifier = 33; // xinef: impurity - if (AuraEffect const* impurityEff = owner->GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, 1986, 0)) + if (owner->GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, 1986, 0)) modifier = 40; amount = CalculatePct(std::max<int32>(0, owner->GetTotalAttackPowerValue(BASE_ATTACK)), modifier); |