I was doing some mental calculations in a match and it seems that I took a little more damage than what I was expecting, so I went into Map Editor to test this out, and I'm now not sure how damage calculation works.
Case in question:
Vanguard Shield Knight attacks a Gendarme
Gendarme takes 9 damage, which makes sense, because it's 12 - 3
Vanguard Shield Knight takes 8 damage back, not 7, which makes me confused, because I thought it would work like:
floor(max(1(minimum damage), 11*0.5(counter)*1(since no bonus on counter) - 5(armor)) + 6(weapon effect damage)*1.01(weapon effect bonus))
floor(max(1, 5.5 - 5) + 6.06)
floor(1 + 6.06)
7
but it seems it work something like:
floor(max(1(minimum damage), 11*0.5(counter)*1(since no bonus on counter) - 5(armor))) + ceil(6(weapon effect damage)*1.01(weapon effect bonus))
floor(max(1, 5.5 - 5)) + ceil(6.06)
1 + 7
8
If that's the case, then the display should show it as such, which is not the case right now, as seen here:

If it's rounded up, it should show:
+-2
+1
+2
+5
+9