Core/Spells: Fix typo in 955fb907c5

This commit is contained in:
Vincent_Michael
2014-01-26 03:56:41 +01:00
parent 955fb907c5
commit 96ae4caf62

View File

@@ -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);
}