Mojira Archive
MC-56042

stat.damageDealt doesn't take damage reduction into account

The stat.damageDealt doesn't take any damage reduction like armor, protection or resistance into account when incrementing the score.

Example: Summon a Zombie with resistance 5 which makes it invulnerable. Hitting the zombie will still increment the stat.damageDealt score as if the resistance effect wasn't there. The same behavior is seen with armor, and armor with protection enchantments.

This also applies to stat.damageTaken.
As of 14w31a. stat.damageTaken is tracked correctly.

Cannot Reproduce

Isak

[Mojang] Searge (Michael Stoyke)

2014-05-29, 07:01 PM

2016-01-27, 11:11 PM

2016-01-27, 11:11 PM

0

7

Confirmed

Minecraft 14w21b, Minecraft 14w27b, Minecraft 14w32b, Minecraft 1.8.2-pre1

-