PathOfBuilding
PathOfBuilding copied to clipboard
Add support for Call of the Void enemy damage reduction
Description of the problem being solved:
Implementing Call of the Void's 'Enemies chilled by your Hits lessen their Damage dealt by half of Chill Effect'
Steps taken to verify a working solution:
- With two Call of the Void's equipped (ensuring only 1 is contributing to enemy damage reduction) and 40% chill effect:
- With two Call of the Void's equipped and base chill effect with Shaper of Winter and some chill effect:
- With Call of the Void but with 'Is the enemy Chilled by your hits' config option turned off (also without Call of the Void displays the same):
Link to a build that showcases this PR:
https://pastebin.com/DW4wLKiK
The easiest way to handle this on second thought is to replace you special max code with something like
local value = enemyDB:Max(.....)
then you avoid any need to complicated special handling.