From cb26db90f11e8660dd416f555eb5223c911ff95b Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Thu, 14 Feb 2019 08:41:45 +0100 Subject: [PATCH] Core/Spells: removed a unused variable from Ardent Defender spellscript --- src/server/scripts/Spells/spell_paladin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 7b367afdc33..16d642a64fc 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -136,7 +136,6 @@ class spell_pal_ardent_defender : public AuraScript Unit* target = GetTarget(); if (dmgInfo.GetDamage() >= target->GetHealth()) { - absorbAmount = dmgInfo.GetDamage(); int32 health = target->CountPctFromMaxHealth(15); target->CastCustomSpell(SPELL_PALADIN_ARDENT_DEFENDER_HEAL, SPELLVALUE_BASE_POINT0, health, target, true, nullptr, aurEff); Remove();