aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent_Michael <Vincent_Michael@gmx.de>2014-01-26 03:56:41 +0100
committerVincent_Michael <Vincent_Michael@gmx.de>2014-01-26 03:56:41 +0100
commit96ae4caf6258882cf89ff6d4bb3ac5aa0a3474f7 (patch)
tree80b994ff4ff1d22ef17be08d013ffe31525f568f /src
parent955fb907c549fea0088f8c105714cc9fb931da15 (diff)
Core/Spells: Fix typo in 955fb907c549fea0088f8c105714cc9fb931da15
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_dk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp
index 64a886cee8c..035a17dd4bf 100644
--- a/src/server/scripts/Spells/spell_dk.cpp
+++ b/src/server/scripts/Spells/spell_dk.cpp
@@ -144,7 +144,7 @@ class spell_dk_anti_magic_shell_self : public SpellScriptLoader
{
// damage absorbed by Anti-Magic Shell energizes the DK with additional runic power.
// This, if I'm not mistaken, shows that we get back ~20% of the absorbed damage as runic power.
- absorbAmount = absorbAmount * 2 / 10;
+ absorbAmount *= 0.2f;
GetTarget()->CastCustomSpell(SPELL_DK_RUNIC_POWER_ENERGIZE, SPELLVALUE_BASE_POINT0, absorbAmount, GetTarget(), true, NULL, aurEff);
}