From 5e32d078603e9fdaaccd8a2c3e05ced2901d7086 Mon Sep 17 00:00:00 2001 From: talamortis Date: Fri, 18 Nov 2016 19:52:14 +0000 Subject: [PATCH] Core/Script Paladin Argent Defender Fix Spell Paladin Argent Defender --- src/scripts/Spells/spell_paladin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/Spells/spell_paladin.cpp b/src/scripts/Spells/spell_paladin.cpp index c65a925b5..4e51ca62d 100644 --- a/src/scripts/Spells/spell_paladin.cpp +++ b/src/scripts/Spells/spell_paladin.cpp @@ -336,7 +336,7 @@ class spell_pal_ardent_defender : public SpellScriptLoader // Max heal when defense skill denies critical hits from raid bosses // Formula: max defense at level + 140 (raiting from gear) uint32 reqDefForMaxHeal = victim->getLevel() * 5 + 140; - float pctFromDefense = (defenseSkillValue - victim->getLevel()*5.0f) / 140.0f; + float pctFromDefense = (defenseSkillValue = victim->getLevel()*5.0f) / 140.0f; if (pctFromDefense < 0.0f) pctFromDefense = 0.0f; else if (pctFromDefense > 1.0f)