Module:ProfessionList: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
m (profit per xp) |
||
Line 156: | Line 156: | ||
item.sellPrice = search.getShopSellPrice(item.product) |
item.sellPrice = search.getShopSellPrice(item.product) |
||
item.profit = item.buyPrice and item.sellPrice and item.sellPrice - item.buyPrice |
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 |
end |