-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix various issues with
SpellHandler.Effectiveness
* Replaced with `CasterEffectiveness`, and is no longer modified by damage, duration, buff / debuff value calculations. This is typically 1.0, unless the caster has resurrection illness. * Removed effectiveness parameter from `CalculateEffectDuration`. It now uses `CasterEffectiveness` to avoid wrong values being passed down. * Removed many overrides to `ApplyEffectOnTarget` that were replacing `Effectiveness`. Most of them were copy pasted. Side note: the same could probably be done to `CalculateEffectDuration`. * Added `CalculateBuffDebuffEffectiveness`. Called by `OnDurationEffectApply`. It handles both buffs and debuffs, the same way `SingleStatBuff.ApplyEffectOnTarget` did (which may or may not be accurate): 0.75~1.25 effectiveness based on spec and spell level, depending if the spell is a buff or a debuff and if the caster is a list caster or not. * Added `CalculateDamageEffectiveness`. Called by `CalculateDamageToTarget`. Currently only overridden by `StyleBleeding` to ignore spell damage. Side note: bleeds seem to be affected by power relics. * Updated various MLs and new archery accordingly. Side note: these seem very outdated. * Removed unused `SpellHandler.m_stage` * Made `/combatstats on` display buff and debuff effectivenesses if != 1 instead of whether a ToA bonus is present or not. * Fixes DD+Snare debuff effectiveness affecting damage, resulting in much higher damage than intended. * Fixes DD+Snare debuff effectiveness being affected by buff bonuses instead of debuff when the caster is a player (list caster). * Fixes HoTs from NPCs benefiting from a 25% effectiveness bonus. * Fixes buff and debuff duration being affected by buff and debuff effectiveness. Only values were supposed to be affected, not duration. Resurrection illness still affects duration. * Fixes resurrection illness not affecting single target combat style effects, single target offensive procs, and savagery. * Fixes resurrection illness affecting AoE item effects. * Fixes heal and debuff crits granularity. * Changes HoTs to be affected by buff effectiveness bonuses. No source for this, but it was one of the very few buffs not being affected by it and it didn’t seem to be on purpose. * Changes HoTs to follow the same rule as buffs: 1.0 effectiveness for list-casters and NPCs, 0.75~1.25 for non-list casters.
- Loading branch information
Showing
52 changed files
with
853 additions
and
1,965 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.