aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision/BoundingIntervalHierarchy.cpp
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-01-20 21:00:53 -0300
committerShauren <shauren.trinity@gmail.com>2021-06-16 14:26:09 +0200
commit85ffcd9826f95127317a8a8427e9140542583bd5 (patch)
treea4362e504544a446f29bc9d721844a375944eb8b /src/common/Collision/BoundingIntervalHierarchy.cpp
parentd4359bb560ff1022dac7b0339dab894906a09be4 (diff)
Core/Scripts: fix wrong uses of SetHitDamage hook.
This hook modifies damage AFTER it has been reduced by target auras/armor/resistances etc, it's useful if you want to scale damage by a factor, but not to add flat bonuses. We're fixing those by moving calculation to Launch phase, where target taken bonuses haven't been used yet. - Bronjahm: Magic's Bane - BPC: Shadow Prison - Oculus: Shock Lance - Ymiron: Dark Slash (extra fix, it was wrongly damaging half of total health, it's supposed to be half of CURRENT health!) - DK: Raise Ally Thrash spell (also extra fix: corrected formula) - Warrior: Bloodthirst (shouldn't matter much as it's damage class none and those don't get bonuses by default) - Warrior: Concussion Blow - Warlock: extra fix for Haunt, healing part shouldn't scale with spell power Closes #9560 (cherry picked from commit 9f5d1e2b10013e5fecf35fdd5af70921c96d07d1)
Diffstat (limited to 'src/common/Collision/BoundingIntervalHierarchy.cpp')
0 files changed, 0 insertions, 0 deletions