mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +00:00
修正已知伤害计算的问题
This commit is contained in:
parent
878fda5d3d
commit
a2a356c97a
BIN
resources/character/imgs/icon-sr.png
Normal file
BIN
resources/character/imgs/icon-sr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -160,12 +160,24 @@ body {
|
||||
.i-cdmg {
|
||||
background-position: -96px 0;
|
||||
}
|
||||
.i-stance {
|
||||
background-position: -64px 0;
|
||||
}
|
||||
.i-recharge {
|
||||
background-position: -112px 0;
|
||||
}
|
||||
.i-dmg {
|
||||
background-position: -128px 0;
|
||||
}
|
||||
.i-heal {
|
||||
background-position: -144px 0;
|
||||
}
|
||||
.i-speed {
|
||||
background-position: -160px 0;
|
||||
}
|
||||
.i-effPct {
|
||||
background-position: -176px 0;
|
||||
}
|
||||
.detail.attr li:nth-child(even) {
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
@ -832,6 +844,9 @@ body {
|
||||
.game-sr .artis-weapon {
|
||||
display: none;
|
||||
}
|
||||
.game-sr .char-attr .icon i {
|
||||
background-image: url('./imgs/icon-sr.png');
|
||||
}
|
||||
.sr-weapon {
|
||||
margin: 0 15px 5px 10px;
|
||||
border-radius: 10px;
|
||||
|
@ -10,6 +10,7 @@
|
||||
{{set talentMap = game === 'sr' ? {a: '普攻', e: '战技', t:'天赋', q: '爆发'} : {a: '普攻', e: '战技', q: '爆发'} }}
|
||||
{{set {imgs, costumeSplash} = data }}
|
||||
{{set imgs = imgs || {} }}
|
||||
{{set gameHash = game === 'gs' ? '#':'*' }}
|
||||
|
||||
{{block 'main'}}
|
||||
<div class="game-{{game}}">
|
||||
@ -111,12 +112,6 @@
|
||||
<!-- 【 武器+圣遗物列表】 -->
|
||||
<div>
|
||||
{{if game === 'sr'}}
|
||||
<div class="cont">
|
||||
<div class="cont-footer dmg-desc">
|
||||
<strong>伤害计算、圣遗物评分及词条数功能尚未完成...</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sr-weapon">
|
||||
<div class="weapon-img" style="background-image:url({{_res_path}}{{weapon.splash}})"></div>
|
||||
<div class="weapon-info">
|
||||
@ -194,10 +189,18 @@
|
||||
<!-- 【 伤害表格 】 -->
|
||||
{{ set {dmgRet, dmgCfg, enemyLv, enemyName, dmgMsg, dmgData} = dmgCalc }}
|
||||
<div>
|
||||
{{if game === 'gs'}}
|
||||
{{if mode === "profile"}}
|
||||
<div class="cont">
|
||||
<div class="cont-footer dmg-desc">
|
||||
当前评分为<strong>喵喵版评分规则</strong>,分值仅供参考与娱乐。可使用<strong>#{{data.abbr}}圣遗物</strong>来查看评分详情
|
||||
当前评分为<strong>喵喵版评分规则</strong>,分值仅供参考与娱乐。可使用<strong>{{gameHash}}{{data.abbr}}圣遗物</strong>来查看评分详情
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<div class="cont">
|
||||
<div class="cont-footer dmg-desc">
|
||||
<strong>伤害计算、圣遗物评分及词条数功能尚未完成...</strong>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
@ -205,7 +208,7 @@
|
||||
{{if dmgData?.length > 0}}
|
||||
<div class="dmg-cont dmg-list cont">
|
||||
<div class="cont-title">
|
||||
伤害计算<span>目标为{{enemyLv}}级{{enemyName||'小宝'}},如需调整等级可使用 #敌人等级{{enemyLv}} 来进行设置</span>
|
||||
伤害计算<span>目标为{{enemyLv}}级{{enemyName||'小宝'}}{{if game==='gs'}},如需调整等级可使用 #敌人等级{{enemyLv}} 来进行设置{{/if}}</span>
|
||||
</div>
|
||||
<div class="cont-table">
|
||||
<div class="tr thead">
|
||||
@ -229,7 +232,7 @@
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="cont-footer dmg-desc">
|
||||
使用命令<strong>#{{data.abbr}}伤害</strong>可以查看伤害详情,使用命令<strong>#角色面板帮助</strong>可查看帮助说明
|
||||
使用命令<strong>{{gameHash}}{{data.abbr}}伤害</strong>可以查看伤害详情,使用命令<strong>#角色面板帮助</strong>可查看帮助说明
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
@ -241,7 +244,7 @@
|
||||
{{if dmgCfg && dmgCfg.attr && dmgCfg.attr.length>0 && dmgRet}}
|
||||
<div class="dmg-calc dmg-cont cont">
|
||||
<div class="cont-title">
|
||||
词条伤害计算<span>#{{data.abbr}}伤害{{dmgCfg.userIdx+1}}: 当前计算为[{{dmgCfg.title}}]</span>
|
||||
词条伤害计算<span>{{gameHash}}{{data.abbr}}伤害{{dmgCfg.userIdx+1}}: 当前计算为[{{dmgCfg.title}}]</span>
|
||||
</div>
|
||||
<div class="cont-table">
|
||||
<div class="tr thead ">
|
||||
@ -281,7 +284,7 @@
|
||||
<li>大数字的含义为圣遗物副词条置换后<strong>平均伤害</strong>的变化,下方的详情数字为<strong>平均伤害</strong>/<strong>暴击伤害</strong>。</li>
|
||||
<li>关于<strong>平均伤害</strong>:是将暴击率计算在内的伤害期望,能反映综合的输出能力,不等于实际伤害数字。</li>
|
||||
<li>可用于评估当前面板下圣遗物副词条的侧重方向。实际游戏情况更加复杂,结果供参考~</li>
|
||||
<li>如需更换计算的伤害类型,可使用命令 <strong>#{{data.abbr}}伤害+序号</strong>来切换,序号参见伤害计算板块</li>
|
||||
<li>如需更换计算的伤害类型,可使用命令 <strong>{{gameHash}}{{data.abbr}}伤害+序号</strong>来切换,序号参见伤害计算板块</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -183,6 +183,8 @@ body {
|
||||
background-position: @i*-4 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.i-cpct {
|
||||
background-position: @i*-5 0;
|
||||
}
|
||||
@ -190,6 +192,9 @@ body {
|
||||
.i-cdmg {
|
||||
background-position: @i*-6 0;
|
||||
}
|
||||
.i-stance {
|
||||
background-position: @i*-4 0;
|
||||
}
|
||||
|
||||
.i-recharge {
|
||||
background-position: @i*-7 0;
|
||||
@ -199,6 +204,18 @@ body {
|
||||
background-position: @i*-8 0;
|
||||
}
|
||||
|
||||
.i-heal {
|
||||
background-position: @i*-9 0;
|
||||
}
|
||||
|
||||
.i-speed {
|
||||
background-position: @i*-10 0;
|
||||
}
|
||||
|
||||
.i-effPct {
|
||||
background-position: @i*-11 0;
|
||||
}
|
||||
|
||||
.detail.attr {
|
||||
li {
|
||||
&:nth-child(even) {
|
||||
@ -1046,6 +1063,12 @@ body {
|
||||
.artis-weapon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.char-attr {
|
||||
.icon i {
|
||||
background-image: url('./imgs/icon-sr.png');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sr-weapon {
|
||||
|
@ -12,11 +12,21 @@ export default {
|
||||
},
|
||||
野穗伴行的快枪手: {
|
||||
2: attr('atkPct', 12),
|
||||
4: [attr('speed', 6), attr('aDmg', 10)]
|
||||
4: [attr('speed', 6), {
|
||||
title: '普攻伤害提高10%',
|
||||
data: {
|
||||
aDmg: 10
|
||||
}
|
||||
}]
|
||||
},
|
||||
净庭教宗的圣骑士: {
|
||||
2: attr('defPct', 15),
|
||||
4: attr('shield', 20)
|
||||
4: {
|
||||
title: '护盾强效提高20%',
|
||||
data: {
|
||||
shield: 20
|
||||
}
|
||||
}
|
||||
},
|
||||
密林卧雪的猎人: {
|
||||
2: attr('ice', 10),
|
||||
|
Loading…
Reference in New Issue
Block a user