Core/Spells: correct diminishing formular for Holy Word Sanctuary

* improved codestyle for Healing Rain diminishing handling
This commit is contained in:
Ovahlord committed 2019-07-09 16:03:47 +02:00
1 parent 28a8841280
commit 5069deb318
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -1266,7 +1266,7 @@ class spell_pri_holy_word_sanctuary_triggered : public SpellScript
void HandleHeal(SpellEffIndex /*effIndex*/)
{
if (GetHitHeal() && _targets > 6)
SetHitHeal(GetHitHeal() / _targets);
SetHitHeal((GetHitHeal() * 6) / _targets);
}
void FilterTargets(std::list<WorldObject*>& unitList)