Skip to content

Murder Mystery computed stats

Computed Murder Mystery statistics, derived from the parsed MurderMysteryStats block. They are always present on an enriched player as player.stats.murderMystery.computed (when the raw murderMystery block exists), produced by computeMurderMystery(raw).

All ratios are rounded to 2 decimals. A ratio with a zero denominator yields the numerator (K/D convention). *Share fields are percentages from 0 to 100 (0 when the whole is 0). *ForNext* fields are the additional amount needed to reach the next whole-number value of the corresponding ratio (0 when the denominator is 0).

MurderMysteryComputed

ts
export interface MurderMysteryComputed {
  readonly kdr: number;
  readonly killsForNextKdr: number;
  readonly winRate: number;
  readonly killsPerGame: number;
  readonly knifeKillShare: number;
  readonly bowKillShare: number;
  readonly thrownKnifeKillShare: number;
  readonly trapKillShare: number;
  readonly murdererKillShare: number;
  readonly avgTimeSurvivedPerGame: number;
  readonly detectiveWinShare: number;
  readonly murdererWinShare: number;
  readonly survivorWinShare: number;
  readonly legendaryChestRate: number;
  readonly coinsPerGame: number;
  readonly heroRate: number;
  readonly mostPlayedMap: string | null;
  readonly mostPlayedGamemode: string | null;
}
FieldFormulaMeaning
kdrkills / deathsKill/death ratio (bare ratio)
killsForNextKdrneededForNextWholeRatio(kills, deaths)Kills needed to reach the next whole KDR
winRatewins / gamesFraction of games won (bare ratio, not a percent)
killsPerGamekills / gamesAverage kills per game
knifeKillShare100 * knifeKills / killsPercent (0-100) of kills made with the knife
bowKillShare100 * bowKills / killsPercent (0-100) of kills made with the bow
thrownKnifeKillShare100 * thrownKnifeKills / killsPercent (0-100) of kills made with a thrown knife
trapKillShare100 * trapKills / killsPercent (0-100) of kills made with traps
murdererKillShare100 * killsAsMurderer / killsPercent (0-100) of kills made while playing as the murderer
avgTimeSurvivedPerGametotalTimeSurvivedSeconds / gamesAverage survival time per game, in seconds
detectiveWinShare100 * detectiveWins / winsPercent (0-100) of wins earned as the detective
murdererWinShare100 * murdererWins / winsPercent (0-100) of wins earned as the murderer
survivorWinShare100 * survivorWins / winsPercent (0-100) of wins earned as a survivor
legendaryChestRateopenedLegendaries / openedChestsLegendary pulls per chest opened (bare ratio, not a percent)
coinsPerGamecoinsPickedUp / gamesAverage coins picked up per game
heroRatewasHero / gamesTimes the player was the hero per game played (bare ratio, not a percent)
mostPlayedMapmap in raw.maps with the highest games, only counting maps with more than 0 gamesMost-played map; null when no map has games
mostPlayedGamemodegamemode in raw.gamemodes with the highest games, only counting gamemodes with more than 0 gamesMost-played gamemode; null when no gamemode has games

Released under the MIT License.