[MC-11051] playerKillCount, totalKillCount always assigns the kill to the person, that did first hit a player, even if he has been killed by someone else. Created: 05/Mar/13  Updated: 27/Jul/13  Resolved: 27/Jul/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w09c, Snapshot 13w10a, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a
Fix Version/s: Minecraft 1.6.2

Type: Bug
Reporter: kinsi Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to MC-10026 Scoreboard totalKillCount objective d... Resolved
Confirmation Status: Unconfirmed

 Description   

When im creating a scoreboard to find out about a players kill, the kill will always go to the person, that did first hit the person, that was killed.

How to reproduce:
/scoreboard objectives add kills totalKillCount kills OR /scoreboard objectives add kills playerKillCount kills
/scoreboard objectives setdisplay kills

you need 3 players, of which one has to be in survival move.
Player 1 attacks the player that is in survival mode once.
Player 2 attacks the player that is in survival mode until he dies
Player 1 got the kill counted.

what im expecting:
the player that actually did the last hit(killed the player) should get the kill.

i hope this will be fixed before 1.5 comes out.



 Comments   
Comment by Kumasasa [ 27/Jul/13 ]

Thanks.
The "most-damage-gets-the-credit" is intended. See MC-10026.
For feature suggestions or changes please use the Minecraft Forums: Suggestions.

Comment by kinsi [ 27/Jul/13 ]

Though this particular bug is fixed in 1.6.2, it still gives the kill to the person that did the most damage, not to the last hitter.

i would suggest adding something like "TotalLastHitCount" or something like that, because in the way it is currently, its not that useful

Comment by Kumasasa [ 27/Jul/13 ]

Is this still a concern in the current Minecraft version 1.6.2 / Launcher version 1.1.2 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by kinsi [ 18/Mar/13 ]

in my tests, it actually always went to the player who did the first hit.

Comment by [Mod] Torabi [ 18/Mar/13 ]

According to Dinnerbone's comment on MC-10026, the kill should go to whoever did the most damage, not necessarily the first or the last one to hit them.

Comment by Daniel "Glampkoo" [ 12/Mar/13 ]

Confirmed in 1.5pre

Generated at Sun Jan 12 12:26:23 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.