2022-05-22 13:10:10 +00:00
|
|
|
{{extend elemLayout}}
|
2022-06-04 21:29:24 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{block 'css'}}
|
2022-08-20 23:40:32 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/profile-detail.css"/>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/block}}
|
|
|
|
|
2022-06-04 21:29:24 +00:00
|
|
|
{{set weapon = data.weapon}}
|
|
|
|
|
2023-02-21 19:49:49 +00:00
|
|
|
{{set dataSource = data.dataSource}}
|
|
|
|
{{set talentMap = {a: '普攻', e: '战技', q: '爆发'} }}
|
2023-02-22 17:48:44 +00:00
|
|
|
{{set {imgs, costumeSplash} = data }}
|
|
|
|
{{set imgs = imgs || {} }}
|
2022-06-04 21:29:24 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{block 'main'}}
|
|
|
|
<div class="basic">
|
|
|
|
<div class="main-pic"
|
2023-02-21 19:49:49 +00:00
|
|
|
style="background-image:url({{_res_path}}{{costumeSplash||imgs?.splash}})"></div>
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="detail">
|
2022-09-24 12:19:59 +00:00
|
|
|
<div class="char-name">{{data.name}}</div>
|
2022-08-18 23:16:28 +00:00
|
|
|
<div class="char-lv">UID {{uid}} - Lv.{{data.level}}
|
2022-06-04 21:29:24 +00:00
|
|
|
<span class="cons cons-{{data.cons}}">{{data.cons}}命</span></div>
|
2023-02-21 19:49:49 +00:00
|
|
|
<div>
|
|
|
|
{{if mode !== 'weapon'}}
|
|
|
|
<div class="char-talents">
|
|
|
|
{{each talentMap tName key}}
|
|
|
|
{{set talent = data.talent[key] || {} }}
|
|
|
|
<div class="talent-item">
|
|
|
|
<div class="talent-icon
|
2022-09-24 12:19:59 +00:00
|
|
|
{{talent.level > talent.original ? `talent-plus`:``}}
|
|
|
|
{{talent.original >= 10 ? `talent-crown`:``}}">
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="talent-icon-img"
|
|
|
|
style="background-image:url({{_res_path}}{{imgs[key]}})"></div>
|
|
|
|
<span>{{talent.level}}</span>
|
|
|
|
</div>
|
2022-04-15 22:05:31 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{/each}}
|
2022-04-15 22:05:31 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
<ul class="attr">
|
|
|
|
<li><i class="i-hp"></i>生命值<strong>{{attr.hp}}</strong><span>(+{{attr.hpPlus}})</span></li>
|
|
|
|
<li><i class="i-atk"></i>攻击力<strong>{{attr.atk}}</strong><span>(+{{attr.atkPlus}})</span></li>
|
|
|
|
<li><i class="i-def"></i>防御力<strong>{{attr.def}}</strong><span>(+{{attr.defPlus}})</span></li>
|
|
|
|
<li><i class="i-mastery"></i>元素精通<strong>{{attr.mastery}}</strong></li>
|
|
|
|
<li><i class="i-cr"></i>暴击率<strong>{{attr.cpct}}</strong></li>
|
|
|
|
<li><i class="i-cd"></i>暴击伤害<strong>{{attr.cdmg}}</strong></li>
|
|
|
|
<li><i class="i-re"></i>元素充能<strong>{{attr.recharge}}</strong></li>
|
|
|
|
<li><i class="i-dmg"></i>伤害加成<strong>{{attr.dmg}}</strong></li>
|
|
|
|
</ul>
|
|
|
|
{{else}}
|
|
|
|
<div class="char-weapon">
|
|
|
|
<div class="img" style="background-image:url({{_res_path}}{{weapon.img}})"></div>
|
|
|
|
<div class="head">
|
|
|
|
<strong>{{weapon.name}}</strong>
|
|
|
|
<div class="star star-{{weapon.star}}"></div>
|
|
|
|
<span>Lv.{{weapon.leve || weapon.level}} <span
|
|
|
|
class="affix affix-{{weapon.affix}}">精{{weapon.affix}}</span></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="char-cons">
|
2022-09-03 21:08:57 +00:00
|
|
|
{{set cons = [1,2,3,4,5,6]}}
|
|
|
|
{{each cons idx}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="cons-item">
|
2022-06-04 21:29:24 +00:00
|
|
|
<div class="talent-icon {{idx * 1 > data.cons * 1 ? 'off' : '' }}">
|
2022-06-27 20:46:49 +00:00
|
|
|
<div class="talent-icon-img"
|
2022-09-01 20:09:59 +00:00
|
|
|
style="background-image:url({{_res_path}}{{imgs[`cons${idx}`]}})"></div>
|
2022-04-23 21:16:37 +00:00
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2022-11-24 18:17:31 +00:00
|
|
|
|
|
|
|
<div class="data-info">
|
|
|
|
{{if data.dataSource}}
|
2023-02-09 16:57:25 +00:00
|
|
|
<span>数据源:{{ {change:"面板变换"}[data.dataSource]||data.dataSource }}</span>
|
2022-11-24 18:17:31 +00:00
|
|
|
{{/if}}
|
|
|
|
{{if data.updateTime}}
|
|
|
|
<span class="time">{{data.updateTime}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2022-04-17 11:03:44 +00:00
|
|
|
|
2022-11-26 08:12:32 +00:00
|
|
|
{{if changeProfile}}
|
|
|
|
<div class="cont">
|
|
|
|
<div class="cont-footer dmg-desc">
|
|
|
|
<strong>该面板为非实际数据。当前替换命令:</strong> {{changeProfile}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-02-21 19:49:49 +00:00
|
|
|
<!-- 【 武器+圣遗物列表】 -->
|
|
|
|
<div>
|
|
|
|
{{if mode === "profile"}}
|
|
|
|
{{set ad = artisDetail}}
|
|
|
|
<div class="artis">
|
|
|
|
<div>
|
|
|
|
<div class="item weapon">
|
|
|
|
<div class="img" style="background-image:url({{_res_path}}{{weapon.img}})"></div>
|
|
|
|
<div class="head">
|
|
|
|
<strong>{{weapon.name}}</strong>
|
|
|
|
<div class="star star-{{weapon.star}}"></div>
|
|
|
|
<span>Lv.{{weapon.leve || weapon.level}} <span
|
|
|
|
class="affix affix-{{weapon.affix}}">精{{weapon.affix}}</span></span>
|
|
|
|
</div>
|
2022-04-15 22:05:31 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="item arti-stat">
|
|
|
|
<div class="arti-class-title">评分规则:{{ad.classTitle}}</div>
|
|
|
|
<div class="arti-stat-ret">
|
|
|
|
<div><strong class="mark-{{ad.markClass}}">{{ad.markClass}}</strong><span>圣遗物评级</span></div>
|
|
|
|
<div><strong>{{ad.mark}}</strong><span>圣遗物总分</span></div>
|
|
|
|
</div>
|
2022-09-06 19:28:46 +00:00
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{each ad.artis ds idx}}
|
|
|
|
<div class="item arti">
|
|
|
|
{{if ds && ds.name && ds.main && ds.main.key && ds.main.key!="undefined"}}
|
|
|
|
<div class="arti-icon">
|
|
|
|
<div class="img" style="background-image:url({{_res_path}}{{ds.img}})"></div>
|
|
|
|
<span>+{{ds.level}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="head">
|
|
|
|
<strong>{{ds.name}}</strong>
|
|
|
|
<span class="mark mark-{{ds.markClass}}"><span>{{ds.mark}}分</span> - {{ds.markClass}}</span>
|
|
|
|
</div>
|
|
|
|
<ul class="detail attr">
|
|
|
|
<li class="arti-main"><span class="title">{{artisKeyTitle[ds.main?.key]}}</span><span class="val">+{{ds.main.value}}</span>
|
|
|
|
</li>
|
|
|
|
{{each ds.attrs attr}}
|
|
|
|
{{if attr && attr.key}}
|
|
|
|
<li class="{{ad.charWeight[attr.key]*1 > 79.9 ?`great`:(ad.charWeight[attr.key]*1>0 ? `useful`:`nouse`)}}">
|
|
|
|
<span class="title"> {{if attr.upNum}}<i class="up-num up-{{attr.upNum}}"></i>{{/if}}{{artisKeyTitle[attr.key]}}</span>
|
|
|
|
<span class="val">+{{attr.value}}</span>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2022-04-29 22:35:21 +00:00
|
|
|
{{/if}}
|
2023-02-21 19:49:49 +00:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2022-04-29 22:35:21 +00:00
|
|
|
|
2022-06-11 14:10:53 +00:00
|
|
|
|
2023-02-21 19:49:49 +00:00
|
|
|
<!-- 【 伤害表格 】 -->
|
2023-02-22 17:48:44 +00:00
|
|
|
{{ set {dmgRet, dmgCfg, enemyLv, enemyName, dmgMsg, dmgData} = dmgCalc }}
|
2023-02-21 19:49:49 +00:00
|
|
|
<div>
|
|
|
|
{{if mode === "profile"}}
|
|
|
|
<div class="cont">
|
|
|
|
<div class="cont-footer dmg-desc">
|
|
|
|
当前评分为<strong>喵喵版评分规则</strong>,分值仅供参考与娱乐。可使用<strong>#{{data.abbr}}圣遗物</strong>来查看评分详情
|
|
|
|
</div>
|
2022-06-04 21:29:24 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{/if}}
|
|
|
|
|
2023-02-22 17:48:44 +00:00
|
|
|
{{if dmgData?.length > 0}}
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="dmg-cont dmg-list cont">
|
|
|
|
<div class="cont-title">
|
|
|
|
伤害计算<span>目标为{{enemyLv}}级{{enemyName||'小宝'}},如需调整等级可使用 #敌人等级{{enemyLv}} 来进行设置</span>
|
2022-06-04 21:29:24 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="cont-table">
|
|
|
|
<div class="tr thead">
|
|
|
|
<div class="title dmg-idx">#</div>
|
|
|
|
<div class="title dmg-title">伤害类型</div>
|
|
|
|
<div>暴击伤害</div>
|
|
|
|
<div>平均伤害(计算暴击率)</div>
|
|
|
|
</div>
|
|
|
|
{{each dmgData dmg idx}}
|
|
|
|
<div class="dmg tr">
|
|
|
|
<div class="title dmg-idx">{{idx+1}}</div>
|
|
|
|
<div class="title dmg-title">{{dmg.title}}</div>
|
|
|
|
{{if dmg.dmg === "NaN"}}
|
|
|
|
<div class="value value-full">{{dmg.avg}}{{dmg.unit}}</div>
|
|
|
|
<div class="value value-none"></div>
|
|
|
|
{{else}}
|
|
|
|
<div class="value">{{dmg.dmg}}{{dmg.unit}}</div>
|
|
|
|
<div class="value">{{dmg.avg}}{{dmg.unit}}</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
<div class="cont-footer dmg-desc">
|
|
|
|
使用命令<strong>#{{data.abbr}}伤害</strong>可以查看伤害详情,使用命令<strong>#角色面板帮助</strong>可查看帮助说明
|
2022-06-04 21:29:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{/if}}
|
2022-06-04 21:29:24 +00:00
|
|
|
</div>
|
|
|
|
|
2023-02-21 19:49:49 +00:00
|
|
|
<!-- 【 伤害变化详情 】 -->
|
|
|
|
<div>
|
|
|
|
{{if mode === "dmg"}}
|
2023-02-22 17:48:44 +00:00
|
|
|
{{if dmgCfg && dmgCfg.attr && dmgCfg.attr.length>0 && dmgRet}}
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="dmg-calc dmg-cont cont">
|
|
|
|
<div class="cont-title">
|
|
|
|
词条伤害计算<span>#{{data.abbr}}伤害{{dmgCfg.userIdx+1}}: 当前计算为[{{dmgCfg.title}}]</span>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="cont-table">
|
|
|
|
<div class="tr thead ">
|
|
|
|
<div class="td">词条变化</div>
|
|
|
|
{{each dmgCfg.attr attr}}
|
|
|
|
<div class="td">
|
|
|
|
<strong>{{attr.title}}</strong>
|
|
|
|
<span>+{{attr.text}}</span>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{each dmgRet row rowIdx}}
|
|
|
|
<div class="tr">
|
|
|
|
<div class="title">
|
|
|
|
<strong>{{dmgCfg.attr[rowIdx].title}}</strong>
|
|
|
|
<span>-{{dmgCfg.attr[rowIdx].text}}</span>
|
|
|
|
</div>
|
|
|
|
{{each row cell colIdx}}
|
|
|
|
{{if cell.type === "na"}}
|
|
|
|
<div class="td na">
|
|
|
|
<strong>-</strong>
|
|
|
|
<span>{{dmgCfg.basicRet.avg}}{{dmgCfg.basicRet.dmg!="NaN"?`/${dmgCfg.basicRet.dmg}`:''}}</span>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="td {{cell.type}}">
|
|
|
|
<strong>{{cell.val}}</strong>
|
2022-04-30 21:06:17 +00:00
|
|
|
|
2023-02-21 19:49:49 +00:00
|
|
|
<span>{{cell.avg}}{{cell.dmg!="NaN"?`/${cell.dmg}`:''}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
2022-04-29 22:35:21 +00:00
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="cont-footer dmg-desc">
|
|
|
|
<ul>
|
|
|
|
<li>大数字的含义为圣遗物副词条置换后<strong>平均伤害</strong>的变化,下方的详情数字为<strong>平均伤害</strong>/<strong>暴击伤害</strong>。</li>
|
|
|
|
<li>关于<strong>平均伤害</strong>:是将暴击率计算在内的伤害期望,能反映综合的输出能力,不等于实际伤害数字。</li>
|
|
|
|
<li>可用于评估当前面板下圣遗物副词条的侧重方向。实际游戏情况更加复杂,结果供参考~</li>
|
|
|
|
<li>如需更换计算的伤害类型,可使用命令 <strong>#{{data.abbr}}伤害+序号</strong>来切换,序号参见伤害计算板块</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
|
2023-02-21 19:49:49 +00:00
|
|
|
<div class="dmg-cont dmg-msg cont">
|
|
|
|
<div class="cont-title">Buff列表<span>部分Buff的触发条件以及层数可能影响实际伤害结果</span></div>
|
|
|
|
<div class="cont-table">
|
|
|
|
{{each dmgMsg msg}}
|
|
|
|
<div class="tr">
|
|
|
|
<div class="th">{{msg[0]}}</div>
|
|
|
|
<div class="td">{{msg[1]}}</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-04-15 22:05:31 +00:00
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2023-02-21 19:49:49 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/block}}
|