2021-02-15 17:18:01 +00:00
|
|
|
extends master.pug
|
|
|
|
|
|
|
|
block tab-content
|
2021-02-21 03:28:33 +00:00
|
|
|
table#main-table.table.table-sm.table-borderless.table-striped.table-hover.sticky-header
|
2021-02-15 17:18:01 +00:00
|
|
|
tr.header-above
|
|
|
|
th(colspan="2")
|
|
|
|
th(colspan="3").text-center.bg-info.text-light Reward
|
|
|
|
th(colspan="7").text-center.bg-secondary.text-light Stats
|
|
|
|
th(colspan="5").text-center.bg-dark.text-light Resistance
|
|
|
|
tr.header
|
|
|
|
th.align-middle Img
|
2021-02-21 03:28:33 +00:00
|
|
|
+sortHeader('Name', 'name')
|
|
|
|
+sortHeader('Gold', 'gold')
|
|
|
|
+sortHeader('Exp', 'exp')
|
2021-02-15 17:18:01 +00:00
|
|
|
th.align-middle Drops
|
2021-02-21 03:28:33 +00:00
|
|
|
+sortHeader('HP', 'hp')
|
|
|
|
+sortHeader('MP', 'mp')
|
|
|
|
+sortHeader('Power', 'power')
|
|
|
|
+sortHeader('Guard', 'guard')
|
|
|
|
+sortHeader('Magic', 'magic')
|
|
|
|
+sortHeader('Speed', 'speed')
|
2021-02-15 17:18:01 +00:00
|
|
|
th.align-middle Spells
|
2021-02-21 03:28:33 +00:00
|
|
|
+sortHeader('Fire', 'res-fire')
|
|
|
|
+sortHeader('Ice', 'res-ice')
|
|
|
|
+sortHeader('Thunder', 'res-thunder')
|
|
|
|
+sortHeader('Vacuum', 'res-vacuum')
|
|
|
|
+sortHeader('Debuff', 'res-debuff')
|
|
|
|
tbody.data: each enemy in enemies
|
2021-02-15 17:18:01 +00:00
|
|
|
tr(
|
|
|
|
data-name=enemy.name
|
|
|
|
data-gold=enemy.gold
|
|
|
|
data-exp=enemy.exp
|
|
|
|
data-hp=enemy.hp
|
|
|
|
data-mp=enemy.mp
|
|
|
|
data-power=enemy.power
|
|
|
|
data-guard=enemy.guard
|
|
|
|
data-magic=enemy.magic
|
|
|
|
data-speed=enemy.speed
|
|
|
|
data-res-fire=enemy.resistance.fire
|
|
|
|
data-res-ice=enemy.resistance.ice
|
|
|
|
data-res-thunder=enemy.resistance.thunder
|
|
|
|
data-res-vacuum=enemy.resistance.vacuum
|
|
|
|
data-res-debuff=enemy.resistance.debuff
|
|
|
|
)
|
|
|
|
td
|
|
|
|
td: strong= enemy.name
|
|
|
|
td: code= enemy.gold
|
|
|
|
td: code= enemy.exp
|
|
|
|
td
|
|
|
|
+na(Object.keys(enemy.drops).length)
|
|
|
|
ul.list-horizontal: each rate, item in enemy.drops
|
|
|
|
li
|
|
|
|
= item + ' (' + (rate * 100).toFixed(2) + '%)'
|
|
|
|
td: code= enemy.hp
|
|
|
|
td: code= enemy.mp
|
|
|
|
td: code= enemy.power
|
|
|
|
td: code= enemy.guard
|
|
|
|
td: code= enemy.magic
|
|
|
|
td: code= enemy.speed
|
|
|
|
td
|
|
|
|
+na(enemy.spells.length)
|
|
|
|
ul.list-horizontal: each spell in enemy.spells
|
|
|
|
li= spell
|
|
|
|
td: code= enemy.resistance.fire
|
|
|
|
td: code= enemy.resistance.ice
|
|
|
|
td: code= enemy.resistance.thunder
|
|
|
|
td: code= enemy.resistance.vacuum
|
|
|
|
td: code= enemy.resistance.debuff
|