Cast When Damage Taken rounding error.

Video evidence for rounding bug https://youtu.be/THi4r8DjsF4

Cast When Damage Taken not proccing when taking exactly the threshold amount of damage(after truncation, etc).

Description:
Character has 5089 hp and -60% chaos resistance
using lvl 5 cwdt(812 damage threshold)
uses Doedre's Elixer (10% of life as chaos damage)
Takes floor(floor(5089*.1)*1.6) damage. Which is 812.
Does not proc lvl 5 cwdt

Equip item with +1 str
Character has 5091 hp
uses Doedre's Elixer (10% of life as chaos damage)
Takes floor(floor(5089*.1)*1.6) damage. Which is 814.
Procs level 5 cwdt.

I was surprised that the character did not take floor(5089*(.1*1.6)) damage which would have been 814 damage.
Last bumped on Mar 18, 2016, 6:20:12 PM
This thread has been automatically archived. Replies are disabled.

Report Forum Post

Report Account:

Report Type

Additional Info