{{extend elemLayout}} {{block 'css'}} {{/block}} {{ set statMap = { totalNum:'抽卡总数', star5Num:'金卡',c5UpNum:'UP角色',w5UpNum:'UP武器', star4Num:'紫卡',avgUpNum:'平均UP抽' } }} {{block 'main'}}
{{if gacha && gacha.totalStat }} {{set stat = gacha.totalStat }}
{{each statMap title key}} {{if stat[key] }}
{{stat[key]}} {{title}}
{{/if}} {{/each}}
{{/if}}
#角色统计/#武器统计角色/武器池统计, #常驻统计/#集录统计常驻/集录池统计
#全部统计全部抽卡统计, #抽卡帮助 获取帮助
{{each gacha.versionData vData}} {{set stats = vData.stats}}
{{if vData.from}}
{{vData.version}} {{vData.half}}
{{vData.name}}
{{vData.from}}~{{vData.to}}
{{else}}
{{vData.version}}
{{/if}}
{{set keyMap = {totalNum:'总抽卡',star5Num:'金卡',upNum:'UP金卡', c4Num:'紫角色', w4Num:'紫武器'} }} {{each keyMap title key}} {{if stats[key] > 0}}
{{stats[key]}}
{{title}}
{{/if}} {{/each}}
{{each vData.items ds}} {{set item = gacha.itemMap[ds.id]}} {{if item.star === 4 || item.star === 5}}
{{ds.num}}
{{item.name.length >4 ? item.abbr : item.name}}
{{/if}} {{/each}}
{{/each}}
{{/block}}