Anonymous

Module:Skills/Agility: Difference between revisions

From Melvor Idle
no edit summary
(Undo revision 48129 by Jetbent (talk))
Tag: Undo
No edit summary
Line 53: Line 53:
   result = '{| class="wikitable sortable stickyHeader"'
   result = '{| class="wikitable sortable stickyHeader"'
   result = result..'\r\n|- class="headerRow-0"'
   result = result..'\r\n|- class="headerRow-0"'
   result = result..'\r\n!Slot!!Name!!XP!!GP!!Time'--!!XP/s!!GP/s
   result = result..'\r\n!Slot!!Name!!XP!!GP!!Time!!XP/s!!GP/s'--!!XP/s!!GP/s (left comment here for posterity)
   result = result..'!!Bonuses!!Requirements!!Cost'
   result = result..'!!Bonuses!!Requirements!!Cost'


Line 85: Line 85:
     result = result..'||'..XP..'||data-sort-value="'..GP..'"|'..Icons.GP(GP)
     result = result..'||'..XP..'||data-sort-value="'..GP..'"|'..Icons.GP(GP)
     result = result..'||data-sort-value="'..Time..'"|'..Shared.timeString(Time, true)
     result = result..'||data-sort-value="'..Time..'"|'..Shared.timeString(Time, true)
     --result = result..'||'..Shared.round(XP / Time, 2, 2)
     -- Readded XP/Time and GP/Time (previously commented out)
     --result = result..'||data-sort-value="'..GP/Time..'"|'..Icons.GP(Shared.round(GP/Time, 2, 2))
    result = result..'||'..Shared.round(XP / Time, 2, 2)
     result = result..'||data-sort-value="'..GP/Time..'"|'..Icons.GP(Shared.round(GP/Time, 2, 2))


     local bonuses = {}
     local bonuses = {}
13

edits