mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 23:51:39 +00:00
4f4f1dc9d3
调整部分角色的伤害计算文案
133 lines
5.5 KiB
HTML
133 lines
5.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
|
|
<link rel="shortcut icon" href="#"/>
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/common/common.css"/>
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/detail.css"/>
|
|
</head>
|
|
<body {{cfgScale}} class="elem_{{elem}} char-{{name}}">
|
|
<div class="container" id="container">
|
|
<div class="basic">
|
|
<div class="main-pic"
|
|
style="background-image:url({{_res_path}}/meta/character/{{name}}/gacha_splash.png)"></div>
|
|
<div class="detail">
|
|
<div class="char-name">{{name}}</div>
|
|
<div class="char-lv">UID {{uid}} - Lv.{{data.lv}}</div>
|
|
<div class="char-talents">
|
|
{{each talentMap tName key}}
|
|
<div class="talent-item">
|
|
<div class="talent-icon
|
|
{{talent[key].level_current > talent[key].level_original ? `talent-plus`:``}}
|
|
{{talent[key].level_original == 10 ? `talent-crown`:``}}">
|
|
<div class="talent-icon-img"
|
|
style="background-image:url({{_res_path}}/meta/character/{{name}}/talent_{{key}}.png)"></div>
|
|
<span>{{talent[key].level_current}}</span>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
<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.cRate}}</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.dmgBonus}}</strong></li>
|
|
</ul>
|
|
</div>
|
|
<div class="char-cons">
|
|
{{each cons con idx}}
|
|
<div class="cons-item">
|
|
<div class="talent-icon {{idx * 1 > avatar.actived_constellation_num * 1 ? 'off' : '' }}">
|
|
<img src="{{_res_path}}/meta/character/{{name}}/cons_{{idx}}.png"/>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
{{if dmgData.length > 0}}
|
|
<div class="dmg-cont cont">
|
|
<div class="tr thead">
|
|
<div class="title">伤害类型</div>
|
|
<div>暴击伤害</div>
|
|
<div>平均伤害(计算暴击率)</div>
|
|
</div>
|
|
{{each dmgData dmg idx}}
|
|
<div class="dmg tr">
|
|
<div class="title">{{dmg.title}}</div>
|
|
<div class="value">{{dmg.dmg}}</div>
|
|
<div class="value">{{dmg.avg}}</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
<div class="dmg-notice">目标为{{enemyLv}}级小宝,如需调整等级可使用 #敌人等级{{enemyLv}} 来进行设置</div>
|
|
{{/if}}
|
|
|
|
{{if mode === "profile"}}
|
|
<div class="artis">
|
|
<div>
|
|
<div class="item weapon">
|
|
<img src="{{_sys_res_path}}/genshin/logo/weapon/{{weapon.name}}.png"/>
|
|
<div class="head">
|
|
<strong>{{weapon.name}}</strong>
|
|
<div class="star star-{{weapon.rarity}}"></div>
|
|
<span>Lv.{{weapon.level}} <span
|
|
class="affix affix-{{weapon.affix_level}}">精{{weapon.affix_level}}</span></span>
|
|
</div>
|
|
</div>
|
|
<div class="item stat">
|
|
<div><strong class="mark-{{markScore}}">{{markScore}}</strong><span>圣遗物评级</span></div>
|
|
<div><strong>{{totalMark}}</strong><span>圣遗物总分</span></div>
|
|
</div>
|
|
</div>
|
|
{{each reliquaries ds}}
|
|
<div class="item arti">
|
|
{{if ds.name && ds.main && ds.main[0] && ds.main[0]!="undefined"}}
|
|
<div class="arti-icon">
|
|
<img src="{{_sys_res_path}}/genshin/logo/reliquaries/{{ds.name}}.png"/>
|
|
<span>+{{ds.level}}</span>
|
|
</div>
|
|
<div class="head">
|
|
<strong>{{ds.name}}</strong>
|
|
<span class="mark mark-{{ds.markType}}"><span>{{ds.mark}}分</span> - {{ds.markType}}</span>
|
|
</div>
|
|
<ul class="detail">
|
|
<li class="arti-main"><span class="title">{{ds.main[0]}}</span><span class="val">+{{ds.main[1]}}</span></li>
|
|
{{each ds.attrs attr}}
|
|
{{if attr[0]}}
|
|
<li class="{{usefulMark[attr[0]] ? `useful`:`nouse`}}"><span class="title">{{attr[0]}}</span><span
|
|
class="val">+{{attr[1]}}</span></li>
|
|
{{/if}}
|
|
{{/each}}
|
|
</ul>
|
|
{{/if}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{if mode === "dmg"}}
|
|
<div class="dmg-cont dmg-msg cont">
|
|
<div class="tr thead">
|
|
<div class="title">
|
|
Buff列表
|
|
</div>
|
|
<div class="info">部分Buff的触发条件以及层数可能影响实际伤害结果</div>
|
|
</div>
|
|
{{each dmgMsg msg}}
|
|
<div class="tr">
|
|
<div class="th">{{msg[0]}}</div>
|
|
<div class="td">{{msg[1]}}</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
<div class="copyright">Created By Yunzai-Bot & Miao-Plugin</div>
|
|
</div>
|
|
</body>
|
|
<script type="text/javascript"></script>
|
|
</html>
|