Module:Monsters: Difference between revisions

Add column name for average healing
(Adds average HP per chest when chest drops only foods (Eg.: Food Box 1))
(Add column name for average healing)
Line 1,220: Line 1,220:
result = result..'\r\n{|class="wikitable sortable"'
result = result..'\r\n{|class="wikitable sortable"'
result = result..'\r\n!Item!!Qty'
result = result..'\r\n!Item!!Qty'
result = result..'!!colspan="2"|Chance!!Price' .. (isAllFood and '!!Healing' or '')
result = result..'!!colspan="2"|Chance!!Price' .. (isAllFood and '!!Healing!!Avg. Healing' or '')


--Sort the loot table by weight in descending order
--Sort the loot table by weight in descending order
3

edits