Module:Sandbox/User:Artoire/1: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
mNo edit summary |
||
Line 334: | Line 334: | ||
else |
else |
||
if weapon.pole then |
if weapon.pole then |
||
dbg.needed_poles = needed_poles |
|||
dbg.lookup_buy_poles = lookup_price(weapon.pole.name) |
|||
cost = cost + needed_poles * lookup_price(weapon.pole.name).buy |
cost = cost + needed_poles * lookup_price(weapon.pole.name).buy |
||
end |
end |
||
Line 341: | Line 341: | ||
if args.debug then |
if args.debug then |
||
dbg.cost = cost |
|||
row |
row |
||
:td{ mw.text.jsonEncode( |
:td{ mw.text.jsonEncode(dbg), attr = { colspan = "10" } } |
||
else |
else |
||
row:node(currency._cell(cost, { html = 'yes' })) |
row:node(currency._cell(cost, { html = 'yes' })) |