MibooGram/resources/genshin/player_card/damage.jinja2

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
701 B
Plaintext
Raw Normal View History

<table class="table-auto border-collapse w-full bg-black bg-opacity-20 rounded-lg">
<thead>
<tr class="bg-black bg-opacity-20">
<th class="px-4 py-2">技能</th>
<th class="px-4 py-2">暴击伤害</th>
<th class="px-4 py-2">期望伤害</th>
</tr>
</thead>
<tbody>
{% for item in damage_info %}
<tr class="text-center odd:bg-white odd:bg-opacity-10">
<td class="border px-4 py-2">{{ item.skill_info.name }}</td>
<td class="border px-4 py-2">{{ item.damage.critical|round|int }}</td>
<td class="border px-4 py-2">{{ item.damage.expectation|round|int }}</td>
</tr>
{% endfor %}
</tbody>
</table>