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

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

@ -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%;
}
}