mojira.dev
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.

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.

Related issues

Comments

migrated

Confirmed in 1.5pre

Torabi

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.

migrated

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

kumasasa

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.

migrated

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

kumasasa

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

migrated

(Unassigned)

Unconfirmed

Snapshot 13w09c, Snapshot 13w10a, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a

Minecraft 1.6.2

Retrieved