habitica/views/shared/profiles/stats.jade

47 lines
No EOL
1.4 KiB
Text

h4 Equipment
p
strong {{itemText('weapon',profile.items.weapon)}}
| : {{itemStat('weapon',profile.items.weapon)}} Attack
p
strong {{itemText('armor',profile.items.armor)}}
| : {{itemStat('armor',profile.items.armor)}} Protection
p
strong {{itemText('head',profile.items.head)}}
| : {{itemStat('head',profile.items.head)}} Protection
p
strong {{itemText('shield',profile.items.shield)}}
| : {{itemStat('shield',profile.items.shield)}} Protection
h4 Stats
p
strong Health
| : {{profile.stats.hp | number:0}} / 50
p
strong Gold
| : {{profile.stats.gp | number:0}}
p
strong Level
| : {{profile.stats.lvl}}
p
strong Experience
| : {{profile.stats.exp | number:0}} / {{tnl(profile.stats.lvl)}}
p
strong Strength
| : 
span(popover-trigger='mouseenter', popover='(Level-1)/2') {{userStr(profile.stats.lvl)}}
p
strong Defense
| : 
span(popover-trigger='mouseenter', popover='(Level-1)/2') {{userDef(profile.stats.lvl)}}
p
strong Pets Found
| : {{profile.petCount}}
hr
p
strong Total Experience Boost
| : 
span(popover-trigger='mouseenter', popover='Attack + Strength') {{totalStr(profile.stats.lvl, profile.items.weapon)}} %
p
strong Total Damage Reduction
| : 
span(popover-trigger='mouseenter', popover='Defense + Protection') {{totalDef(profile.stats.lvl, profile.items.armor, profile.items.head, profile.items.shield)}} %