mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Spells: removed a unused variable from Ardent Defender spellscript
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user