2022-05-22 13:10:10 +00:00
|
|
|
{{extend elemLayout}}
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{block 'css'}}
|
2022-09-04 21:03:23 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/wiki/character-talent.css"/>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/block}}
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{block 'main'}}
|
2023-05-30 19:16:44 +00:00
|
|
|
|
2022-09-01 20:09:59 +00:00
|
|
|
<div class="head-box" style="background-image:url('{{_res_path}}{{imgs.card}}')">
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="head">
|
2023-02-19 02:38:51 +00:00
|
|
|
<img src="{{_res_path}}{{imgs.qFace||imgs.face}}"/>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="head-detail">
|
2023-08-11 03:47:34 +00:00
|
|
|
<div class="name">
|
2023-11-06 19:52:55 +00:00
|
|
|
{{if game === 'gs'}}
|
|
|
|
{{title}}·{{name}}
|
2023-08-11 03:47:34 +00:00
|
|
|
{{else}}
|
|
|
|
{{name}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="desc">
|
2023-11-06 19:52:55 +00:00
|
|
|
{{if game === 'gs'}}
|
2023-08-11 03:47:34 +00:00
|
|
|
{{@desc}}
|
2023-11-06 19:52:55 +00:00
|
|
|
{{else}}
|
2023-08-11 03:47:34 +00:00
|
|
|
{{detail.desc}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2022-09-29 13:21:52 +00:00
|
|
|
{{ if line[0]?.num !== 'NaN'}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="data-box">
|
2023-11-27 20:18:06 +00:00
|
|
|
<div class="tab-label">{{game === 'gs' ? '90' : '80'}}级基础数据</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="data-line">
|
|
|
|
{{each line item}}
|
|
|
|
<div class="data_line_item">
|
|
|
|
<div class="num">{{item.num}}</div>
|
|
|
|
<div class="label">{{item.label}}</div>
|
2022-04-06 19:51:44 +00:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-29 13:21:52 +00:00
|
|
|
{{else}}
|
|
|
|
<div class="data-box">
|
|
|
|
<div class="tab-label">90级基础数据</div>
|
|
|
|
<div class="data-line">
|
|
|
|
暂无详细数据
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2023-05-30 19:16:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{if mode == "talent"}}
|
2023-12-06 20:58:41 +00:00
|
|
|
{{set talentKey = game === 'gs' ? ['a','e','q']:['a','e','q','t'] }}
|
|
|
|
{{each talentKey type}}
|
|
|
|
{{if detail.talent[type]}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="talent-box elem-bg">
|
2023-12-06 20:58:41 +00:00
|
|
|
<div class="talent-detail cont {{detail.talent[type+2]?'talent-merge':''}}">
|
2023-11-06 19:52:55 +00:00
|
|
|
{{set minLv = game === 'gs' ? 6 : (type==='a' || type ==='a2'? 1 : 6) }}
|
|
|
|
{{set maxLv = game === 'gs' ? 13 : (type==='a' || type ==='a2' ? 7 : 12 )}}
|
2023-12-06 20:58:41 +00:00
|
|
|
<% include(_tpl_path+'/talent-detail.html', [detail.talent[type], {_res_path,lvs,type,icon:imgs[type],minLv,maxLv,game}]) %>
|
|
|
|
|
|
|
|
{{if detail.talent[type+2]}}
|
|
|
|
{{set minLv = game === 'gs' ? 6 : (type==='a' || type ==='a2'? 1 : 6) }}
|
|
|
|
{{set maxLv = game === 'gs' ? 13 : (type==='a' || type ==='a2' ? 7 : 12 )}}
|
|
|
|
<% include(_tpl_path+'/talent-detail.html', [detail.talent[type+2], {_res_path,lvs,type,icon:imgs[type],minLv,maxLv,game}]) %>
|
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-12-06 20:58:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-12-06 20:58:41 +00:00
|
|
|
{{/if}}
|
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}}
|
2022-04-07 19:39:43 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="talent-box elem-bg">
|
|
|
|
<div class="talent-detail passive-talent">
|
2023-08-11 03:47:34 +00:00
|
|
|
{{if game === 'gs'}}
|
|
|
|
{{each detail.passive pass idx}}
|
|
|
|
<% include(_tpl_path+'/talent-detail.html', [pass, {_res_path,icon:imgs['passive'+idx],game}]) %>
|
|
|
|
{{/each}}
|
|
|
|
{{else}}
|
|
|
|
{{each detail.treeData treeData idx}}
|
|
|
|
{{if treeData.type === 'skill'}}
|
|
|
|
<% include(_tpl_path+'/talent-detail.html', [treeData, {_res_path,icon:imgs['tree'+treeData.idx],game}]) %>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{if mode == "cons"}}
|
|
|
|
<div class="talent-box elem-bg">
|
|
|
|
<div class="talent-detail">
|
2022-09-03 21:08:57 +00:00
|
|
|
{{each detail.cons con idx}}
|
2023-05-30 19:16:44 +00:00
|
|
|
<% include(_tpl_path+'/talent-detail.html', [con, {_res_path,lvs,type,icon:imgs['cons'+idx],game}]) %>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-11-06 19:52:55 +00:00
|
|
|
{{/block}}
|