Core/Spells: added a missing breakpoint that was granting Death's Embrace more bonus values than it should get

This commit is contained in:
Ovahlord committed 2019-08-13 17:53:34 +02:00
1 parent dc25b61983
commit 680d82db4e
2 files changed
+3

No files matched your search

+1
View File
@@ -6798,6 +6798,7 @@ float Unit::SpellDamagePctDone(Unit* victim, SpellInfo const* spellProto, Damage
// Health at 25% or less (25% stored at effect 2 of the spell)
if (victim->HealthBelowPct(CalculateSpellDamage(this, (*i)->GetSpellInfo(), EFFECT_2)))
AddPct(DoneTotalMod, (*i)->GetAmount());
break;
}
case 6916: // Death's Embrace heal effect
case 6925:
@@ -57,6 +57,7 @@ void AddSC_tele_commandscript();
void AddSC_ticket_commandscript();
void AddSC_titles_commandscript();
void AddSC_wp_commandscript();
void AddSC_dev_commandscript();
// The name of this function should match:
// void Add${NameOfDirectory}Scripts()
@@ -103,4 +104,5 @@ void AddCommandsScripts()
AddSC_ticket_commandscript();
AddSC_titles_commandscript();
AddSC_wp_commandscript();
AddSC_dev_commandscript();
}