Jump to content

[Fix][8509] Savage Defense and Sacred Shield Coefficients


Guest nos4r2zod

Recommended Posts

What bug does the patch fix? What features does the patch add?

This adds the respective coefficients for the triggered spells of Savage Defense and Sacred Shield. Also added a check in IsNoStackSpellDueToSpell to allow Frenzied Regeneration to stack with Savage Defense (they have the same icon).

For which repository revision was the patch created?

8428

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

Didn't find any

Who has been writing this patch? Please include either forum user names or email addresses.

Myself

Patch

EDIT (7-14): Implemented charges for Savage Defense, should disappear after absorbing one hit.

EDIT (8/28): Updated to 8428, dropping the code that was independently implemented already.

Link to comment
Share on other sites

Well they shouldn't have coefficients in that table then, because the coefficients there don't add anything. Check where GetSpellBonusData is being called in the code; only in Unit::SpellDamageBonus and Unit::SpellHealingBonus.

Aura::HandleSchoolAbsorb's hardcoded coefficients only call SpellBaseHealingBonus and SpellBaseDamageBonus because they aren't affected by buffs that modify healing percent, like wound poison or tree of life aura.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use