Float accumulation makes hit-count thresholds off by one
@devsingh05▲ 13 net votes
Cells with a density multiplier sometimes needed one extra hit to break because accumulated floating-point damage ended a hair short of the cell's health. Comparing with a small epsilon fixed it; the bug was found only when writing a test for an unrelated damage rule. A related test failure was a one-ULP difference in an idempotency check, which should use an approximate comparison.