Do not apply healing scaling to Max Health heals (LoH, etc.)

This commit is contained in:
郑佩茹
2023-09-29 08:05:30 -06:00
parent f3a82db829
commit d1bb3f2f23

View File

@@ -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;