mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-31 15:09:32 +00:00
floor some user stats
This commit is contained in:
parent
3f9054f459
commit
ec87bf82b6
1 changed files with 3 additions and 3 deletions
|
|
@ -56,10 +56,10 @@
|
|||
<p><strong>{itemText('shield',_user.items.shield)}</strong>: {itemStat('shield',_user.items.shield)}% Defense</p>
|
||||
|
||||
<h3>Stats</h3>
|
||||
<p><strong>HP</strong>: {_user.stats.hp} / 50</p>
|
||||
<p><strong>GP</strong>: {_user.stats.gp}</p>
|
||||
<p><strong>HP</strong>: {floor(_user.stats.hp)} / 50</p>
|
||||
<p><strong>GP</strong>: {floor(_user.stats.gp)}</p>
|
||||
<p><strong>Lvl</strong>: {_user.stats.lvl}</p>
|
||||
<p><strong>Exp</strong>: {_user.stats.exp} / {tnl(_user.stats.lvl)}</p>
|
||||
<p><strong>Exp</strong>: {floor(_user.stats.exp)} / {tnl(_user.stats.lvl)}</p>
|
||||
<p><strong>Strength</strong>: {userStr(_user.stats.lvl)}</p>
|
||||
<p><strong>Defense</strong>: {userDef(_user.stats.lvl)}</p>
|
||||
<p><strong>Pets Found</strong>: {count(_user.items.pets)}</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue