尝试添加[艾莲]伤害计算

This commit is contained in:
a376148946 2024-07-26 13:48:19 +08:00
parent 8c964e5de5
commit bc04f1dcd0
13 changed files with 565 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{
"1011": "Electric",
"1021": "Physical",
"1031": "Ether",
"1041": "Fire",
"1061": "Physical",
"1081": "Physical",
"1091": "Ice",
"1101": "Fire",
"1111": "Electric",
"1121": "Fire",
"1131": "Ice",
"1141": "Ice",
"1151": "Fire",
"1161": "Electric",
"1181": "Electric",
"1191": "Ice",
"1201": "Ether",
"1211": "Electric",
"1221": "Ether",
"1241": "Ether",
"1251": "Electric",
"1271": "Electric",
"1281": "Physical"
}

View file

@ -0,0 +1,21 @@
{
"12102":["AttackAddedRatio","攻击力百分比"],
"12103":["AttackDelta","攻击力"],
"11102":["HPAddedRatio","生命值百分比"],
"11103":["HPDelta","生命值"],
"13102":["DefenceAddedRatio","防御力百分比"],
"13103":["DefenceDelta","防御力"],
"20103":["CriticalChanceBase","暴击率"],
"21103":["CriticalDamageBase","暴击伤害"],
"12202":["ImpactRatio","冲击力"],
"31203":["ElementMystery","异常精通"],
"31403":["ElementAbnormalPower","异常精通"],
"23203":["PenDelta","穿透值"],
"30502":["SpGetRatio","能量恢复"],
"23103":["PenRatioBase","穿透率"],
"31703":["IceAddedRatio","冰属性伤害提高"],
"31603":["FireAddedRatio","火属性伤害提高"],
"31503":["PhysicalAddedRatio","物理属性伤害提高"],
"31803":["ElectricAddedRatio","电属性伤害提高"],
"31903":["EtherAddedRatio","以太属性伤害提高"]
}

View file

@ -0,0 +1,25 @@
{
"1191": {
"A": [
4.962,5.414,5.866,6.318,6.77,7.22,7.674,8.126,8.578,9.03,9.482,9.934,10.386,10.838,11.29,11.742
],
"C": [
1.582,1.726,1.87,2.014,2.158,2.302,2.446,2.59,2.734,2.878,3.022,3.166,3.31,3.454,3.598,3.742
],
"ES": [
5.533,6.036,6.539,7.042,7.545,8.048,8.551,9.054,9.557,10.06,10.56,11.066,11.569,12.072,12.575,13.078
],
"EH": [
3.772,4.115,4.458,4.801,5.144,5.487,5.83,6.173,6.516,6.859,7.202,7.545,7.888,8.231,8.574,8.917
],
"R": [
18.908,20.627,22.346,24.065,25.784,27.503,29.222,30.941,32.66,34.379,36.098,37.817,39.536,41.255,42.974,44.693
],
"RL": [
7.946,8.669,9.392,10.115,10.838,11.561,12.284,13.007,13.73,14.453,15.176,15.898,16.622,17.345,18.068,18.791
],
"T": [
0.5, 0.583, 0.666, 0.75, 0.833, 0.916, 1
]
}
}

View file

@ -0,0 +1,20 @@
{
"14119": {
"Param": {
"IceDmgAdd": [
0.25,
0.315,
0.38,
0.445,
0.5
],
"CriticalChanceBase": [
0.2,
0.25,
0.3,
0.35,
0.4
]
}
}
}

View file

@ -617,4 +617,16 @@
z-index: 5;
}
.damagelist th {
text-align: center;
padding: 0.3em 0.3em;
width:33%;
}
.damagelist td {
text-align: center;
padding: 0.3em 0.3em;
width:33%;
}
/*# sourceMappingURL=card.css.map */

View file

@ -177,6 +177,29 @@
<% } %>
</div>
{{if damagelist}}
<div class="title">
<% include(sys.specialTitle, {en: 'DAMAGE' , cn: '伤害统计' }) %>
</div>
<table class="damagelist">
<thead>
<tr>
<th>类型</th>
<th>暴击伤害</th>
<th>期望伤害</th>
</tr>
</thead>
<tbody>
{{each damagelist damage}}
<tr>
<td>{{damage.title}}</td>
<td>{{damage.value.cd.toFixed(0)}}</td>
<td>{{damage.value.qw.toFixed(0)}}</td>
</tr>
{{/each}}
</tbody>
</table>
{{/if}}
</div>
</div>
{{/block}}

View file

@ -475,3 +475,15 @@
position: relative;
z-index: 5;
}
.damagelist {
th {
text-align: center;
padding: 0.3em 0.3em;
width:33%;
}
td {
text-align: center;
padding: 0.3em 0.3em;
width:33%;
}
}