战斗力构成
<%=data.box_score%>
基础分
<%=data.elo_score%>
胜率分
<%=data.win_ratio_score%>
胜场分
<%=data.win_battle_score%>
<%
// 经典对战
var class_total = data.total_win_normal + data.total_lose_normal;
var class_winRate = parseInt((data.total_win_normal / class_total)*100) || 0;
//极地大乱斗
var aram_total = data.total_win_aram + data.total_lose_aram;
var aram_winRate = parseInt((data.total_win_aram / aram_total)*100) || 0;
//人机
var bot_total = data.total_win_bot + data.total_lose_bot;
var bot_winRate = parseInt((data.total_win_bot / bot_total)*100) || 0;
var _s7 = data.formatted_ranked_history.flex_sr || data.formatted_ranked_history.s7;
var _s7_dsp = data.formatted_ranked_history.s7;//S7单双排
var _s6 = data.formatted_ranked_history.s6;
var _s5 = data.formatted_ranked_history.s5;
var S7_total = _s7.lo + _s7.w;
var S7_winRate = parseInt((_s7.w / S7_total)*100) || 0;
var S6_total = _s6.lo + _s6.w;
var S6_winRate = parseInt((_s6.w / S6_total)*100) || 0;
var s7_dsp_total = _s7_dsp.lo + _s7_dsp.w;
var s7_dsp_winRate = parseInt((_s7_dsp.w / s7_dsp_total)*100) || 0;
var S6_total = _s6.lo + _s6.w;
var S6_winRate = parseInt((_s6.w / S6_total)*100) || 0;
if ( _s5 ){
var S5_total = _s5.lo + _s5.w;
var S5_winRate = parseInt((_s5.w / S5_total)*100) || 0;
}
%>
比赛类型 |
总场次 |
胜率 |
胜场 |
负场 |
段位 |
胜点 |
匹配 |
<%= class_total %> |
<%= class_winRate %>% |
<%= data.total_win_normal %> |
<%= data.total_lose_normal %> |
-- |
-- |
S7灵活组排<% if ( _s7 ) { %><%}%> |
<%= S7_total %> |
<%= S7_winRate %>% |
<%= _s7.w %> |
<%= _s7.lo %> |
<%= formatDW(_s7) %> |
<%= _s7.p %> |
<% if ( _s7_dsp ){ %>
S7单双排 |
<%= s7_dsp_total %> |
<%= s7_dsp_winRate %>% |
<%= _s7_dsp.w %> |
<%= _s7_dsp.lo %> |
<%= formatDW(_s7_dsp) %> |
<%= _s7_dsp.p %> |
<% } %>
<% if ( _s6 ){ %>
S6排位赛 |
<%= S6_total %> |
<%= S6_winRate %>% |
<%= _s6.w %> |
<%= _s6.lo %> |
<%= formatDW(_s6) %> |
-- |
<% } %>
大乱斗 |
<%= aram_total %> |
<%= aram_winRate %>% |
<%= data.total_win_aram %> |
<%= data.total_lose_aram %> |
-- |
-- |
人机 |
<%= bot_total %> |
<%= bot_winRate %>% |
<%= data.total_win_bot %> |
<%= data.total_lose_bot %> |
-- |
-- |