Module:ProfessionList: Difference between revisions

m
profit per xp
No edit summary
m (profit per xp)
(One intermediate revision by the same user not shown)
Line 156:
item.sellPrice = search.getShopSellPrice(item.product)
item.profit = item.buyPrice and item.sellPrice and item.sellPrice - item.buyPrice
item.profitPerXP = item.profit and item.xp and item.profit / item.xp
end
Line 199 ⟶ 201:
:addClass('plinkt-image no-border')
:css{ ['border-left'] = '0', ['padding-left'] = '0' }
:wikitext('[[File:' .. image .. '.png|link=' .. link .. '|30px]]')
:done()
:tag('td')
11,305

edits