PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

Add support for Call of the Void enemy damage reduction

Open andrewbelu opened this issue 3 years ago • 1 comments

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: image
  • With two Call of the Void's equipped and base chill effect with Shaper of Winter and some chill effect: image
  • 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): image

Link to a build that showcases this PR:

https://pastebin.com/DW4wLKiK

andrewbelu avatar Dec 16 '22 00:12 andrewbelu

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.

QuickStick123 avatar Dec 29 '22 05:12 QuickStick123