Move stat formulae to mouseover popup instead of inline

This commit is contained in:
Sabe Jones 2013-11-21 20:37:55 -06:00
parent 44f33f7298
commit e458b571dc

View file

@ -26,17 +26,22 @@ p
| : {{profile.stats.exp | number:0}} / {{tnl(profile.stats.lvl)}}
p
strong Strength
| (Level-1)/2: {{userStr(profile.stats.lvl)}}
| :
span(popover-trigger='mouseenter', popover='(Level-1)/2') {{userStr(profile.stats.lvl)}}
p
strong Defense
| (Level-1)/2: {{userDef(profile.stats.lvl)}}
| :
span(popover-trigger='mouseenter', popover='(Level-1)/2') {{userDef(profile.stats.lvl)}}
p
strong Pets Found
| : {{countExists(profile.items.pets)}}
hr
p
strong Total Experience Boost
| (Attack + Strength): {{totalStr(profile.stats.lvl, profile.items.weapon)}} %
| :
span(popover-trigger='mouseenter', popover='Attack + Strength') {{totalStr(profile.stats.lvl, profile.items.weapon)}} %
p
strong Total Damage Reduction
| (Defense + Protection): {{totalDef(profile.stats.lvl, profile.items.armor, profile.items.head, profile.items.shield)}} %
| :
span(popover-trigger='mouseenter', popover='Defense + Protection') {{totalDef(profile.stats.lvl, profile.items.armor, profile.items.head, profile.items.shield)}} %