ee1cd3c05d
between client & server. If the op is called on the client, it updates the user & then POSTs to the server with op of the same name. If called on server, it updates the user and user.save()s
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
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}} / {{Shared.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)}} % |