http://replay.pokemonshowdown.com/gen7vgc2017-551093744
Turn 3, Assurance does increased damage although Arcanine did not take prior damage that turn.
The assurance was targeted for the lele, so possibly it factored in lele taking damage before switching targets to arcanine.