From 96ae4caf6258882cf89ff6d4bb3ac5aa0a3474f7 Mon Sep 17 00:00:00 2001 From: Vincent_Michael Date: Sun, 26 Jan 2014 03:56:41 +0100 Subject: Core/Spells: Fix typo in 955fb907c549fea0088f8c105714cc9fb931da15 --- src/server/scripts/Spells/spell_dk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Spells') 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); } -- cgit v1.2.3