minecraft.custom:damage_dealt records incorrect damage
The statistic minecraft.custom:minecraft.damage_dealt will not record how much damage was dealt by an attack, but rather how much damage was subtracted from the target's health. If you damage an enemy at 2 health with an attack that deals 6 damage, the statistic will only increment by 20 rather than 60.
To recreate, simply create a scoreboard objective with the damage_dealt statistic and damage an enemy.
2019-06-07, 12:42 AM
2020-12-03, 07:42 PM
2
3
-