if (killerName.equals(playerName)) {
points = (int) (killer.getLevel()
* ((float) damageDone / (float) totalDamageReceived));
final DeathmatchState deathmatchState = DeathmatchState.createFromQuestString(killer.getQuest("deathmatch"));
deathmatchState.addPoints(points);
killer.setQuest("deathmatch", deathmatchState.toQuestString());
}
// For some quests etc., it is required that the player kills a
// certain creature without the help of others.
// Find out if the player killed this RPEntity on his own, but