Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-56042

stat.damageDealt doesn't take damage reduction into account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • Affects Version/s: Minecraft 14w21b, Minecraft 14w27b, Minecraft 14w32b, Minecraft 1.8.2-pre1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              searge [Mojang] Searge (Michael Stoyke)
              Reporter:
              norisak Isak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: