From d1bb3f2f234ef8bba385617282f36f9c2fe82fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Fri, 29 Sep 2023 08:05:30 -0600 Subject: [PATCH] Do not apply healing scaling to Max Health heals (LoH, etc.) --- src/IndividualProgressionPlayer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/IndividualProgressionPlayer.cpp b/src/IndividualProgressionPlayer.cpp index 6a13745..9b41179 100644 --- a/src/IndividualProgressionPlayer.cpp +++ b/src/IndividualProgressionPlayer.cpp @@ -576,6 +576,13 @@ public: } // Skip percentage based heals or spells already nerfed by damage reduction + for (uint8 i = 0; i < 3; i++) + { + if (spellInfo->Effects[i].Effect == SPELL_EFFECT_HEAL_MAX_HEALTH) + { + return; + } + } if (spellInfo->Id == SPELL_RUNE_TAP || spellInfo->Id == SPELL_LIFE_STEAL) { return;