<%- include('partials/nav', { activePage: '' }) %>
Back to Home
<% if (playerData.squadron_name) { %> <% const _sqHref = playerData.squadron_clan_id != null ? `/squadrons/${playerData.squadron_clan_id}` : `/squadrons/${encodeURIComponent(playerData.squadron_long_name || playerData.squadron_name)}`; %> <%= playerData.squadron_name %> <% } %>

<%= playerData.nick %>

<%= t('player.uidLabel') %>: <%= playerData.uid %>
<%= t('common.recordingSince') %>
<% if (playerData.no_stats_yet) { %>
No stats yet for this player
<% } %>
<%= totals.totalBattles %>
<%= t('player.totalBattles') %>
<%= totals.totalWins %>
<%= t('player.totalWins') %>
<%= totals.overallWinRate %>
<%= t('common.winRate') %>
<%= totals.totalKills %>
<%= t('common.totalKills') %>
<%= totals.overallKDR %>
<%= t('common.kdr') %>
<%= totals.totalBattles > 0 ? (totals.totalKills / totals.totalBattles).toFixed(2) : '0.00' %>
<%= t('common.kps') %>
<%= totals.totalAirKills %>
<%= t('common.airKills') %>
<%= totals.totalGroundKills || (totals.totalKills - totals.totalAirKills) %>
<%= t('common.groundKills') %>
<%= totals.totalAssists %>
<%= t('common.assists') %>
<%= totals.totalDeaths %>
<%= t('common.deaths') %>
<%= totals.totalCaptures %>
<%= t('common.captures') %>
<%= t('player.loadingTimeline') %>

<%= t('player.vehicleStatistics') %>

<%= playerData.vehicles ? playerData.vehicles.length : 0 %> <%= t('player.vehiclesShown') %>
style="display:none;"<% } %>> <% if (playerData.vehicles) { playerData.vehicles.filter(v => v.vehicle !== 'DISCONNECTED').forEach(vehicle => { const totalKills = vehicle.stats.ground_kills + vehicle.stats.air_kills; const kdrNum = vehicle.stats.deaths > 0 ? totalKills / vehicle.stats.deaths : totalKills; const kdr = kdrNum.toFixed(2); const kdrColor = kdrNum >= 3 ? '#90EE90' : kdrNum >= 2 ? '#A8E6CF' : kdrNum >= 1.5 ? '#FFD700' : kdrNum >= 1 ? '#FFA500' : '#FF6B6B'; const battles = vehicle.stats.total_battles || 0; const wins = vehicle.stats.wins || 0; const winRate = battles > 0 ? ((wins / battles) * 100).toFixed(1) + '%' : '0.0%'; const kps = battles > 0 ? (totalKills / battles).toFixed(2) : '0.00'; %> <% }); } %>
<%= t('common.vehicle') %> <%= t('common.battles') %> <%= t('common.wins') %> <%= t('common.winRate') %> <%= t('common.kdr') %> <%= t('common.kps') %> <%= t('common.groundKills') %> <%= t('common.airKills') %> <%= t('common.assists') %> <%= t('common.captures') %> <%= t('common.deaths') %>
<%= vehicle.vehicle %> <%= battles %> <%= wins %> <%= winRate %> <%= kdr %> <%= kps %> <%= vehicle.stats.ground_kills %> <%= vehicle.stats.air_kills %> <%= vehicle.stats.assists %> <%= vehicle.stats.captures %> <%= vehicle.stats.deaths %>
0) { %> style="display:none;"<% } %>>

<%= t('player.noVehicleData') %>

<%= t('player.noVehiclesForRange') %>

<%- include('partials/footer') %>