2022-09-03 21:08:57 +00:00
|
|
|
{{set ds = $data[0] || false }}
|
2023-05-30 19:16:44 +00:00
|
|
|
{{set {_res_path, icon,lvs,type,game,minLv,maxLv} = $data[1]}}
|
2022-09-03 21:08:57 +00:00
|
|
|
|
|
|
|
<div class="talent-line">
|
2023-05-30 19:16:44 +00:00
|
|
|
<div class="talent-icon">
|
|
|
|
<img src="{{_res_path}}{{icon}}"/>
|
|
|
|
</div>
|
|
|
|
<div class="talent-info">
|
|
|
|
<div class="talent-name">{{ds.name}}</div>
|
|
|
|
<div class="talent-desc">
|
|
|
|
{{each ds.desc d}}
|
|
|
|
{{ if d[0] === "<" || game==='sr' }}
|
|
|
|
{{@d}}
|
|
|
|
{{else if d!=""}}
|
|
|
|
<p>{{d}}</p>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
2022-09-19 05:45:42 +00:00
|
|
|
</div>
|
2023-05-30 19:16:44 +00:00
|
|
|
</div>
|
2022-09-19 05:45:42 +00:00
|
|
|
|
2023-05-30 19:16:44 +00:00
|
|
|
{{if ds.tables && ds.tables.length > 0}}
|
|
|
|
<div class="talent-common-info">
|
|
|
|
{{each ds.tables tr}}
|
|
|
|
{{if tr.isSame}}
|
|
|
|
<div>
|
|
|
|
<strong>{{tr.name}}{{if tr.unit}}({{tr.unit}}){{/if}}</strong>
|
|
|
|
<span>{{tr.values[0]}}</span>
|
2022-09-19 05:45:42 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-05-30 19:16:44 +00:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
<table class="talent-table cont-table">
|
|
|
|
<tr class="tr">
|
2023-07-06 00:37:28 +00:00
|
|
|
<td class="th"></td>
|
2023-05-30 19:16:44 +00:00
|
|
|
{{each lvs lv idx}}
|
|
|
|
{{if idx+1 >= minLv && idx+1 <= maxLv }}
|
|
|
|
<td class="th lv">{{lv}}</td>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
</tr>
|
|
|
|
{{each ds.tables tr}}
|
|
|
|
{{if !tr.isSame}}
|
|
|
|
<tr class="tr">
|
|
|
|
<td class="th talent-name">
|
|
|
|
{{tr.name}}
|
|
|
|
{{if tr.unit}}
|
|
|
|
<span class="unit">({{tr.unit}})</span>
|
|
|
|
{{/if}}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{{each tr.values v idx}}
|
|
|
|
{{if idx+1 >= minLv && idx+1 <= maxLv }}
|
|
|
|
<td class="td">{{v}}</td>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
{{/if}}
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
{{/if}}
|
2022-09-03 21:08:57 +00:00
|
|
|
</div>
|