From 3b18fc01786b1bb2b7a43432080ac8d16a0ffffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Sun, 11 Dec 2022 14:18:35 -0700 Subject: [PATCH] Do not apply healing scaling to bandages --- src/IndividualProgressionPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IndividualProgressionPlayer.cpp b/src/IndividualProgressionPlayer.cpp index e8bacd3..ff14471 100644 --- a/src/IndividualProgressionPlayer.cpp +++ b/src/IndividualProgressionPlayer.cpp @@ -440,7 +440,7 @@ public: void ModifyHealReceived(Unit* /*target*/, Unit *healer, uint32 &heal, SpellInfo const *spellInfo) override { // Skip potions, bandages, percentage based heals like Rune Tap, etc. - if (spellInfo->HasAttribute(SPELL_ATTR0_NO_IMMUNITIES) || spellInfo->Id == SPELL_RUNE_TAP) + if (spellInfo->HasAttribute(SPELL_ATTR0_NO_IMMUNITIES) || spellInfo->Mechanic == MECHANIC_BANDAGE || spellInfo->Id == SPELL_RUNE_TAP) { return; }