17,101
edits
Falterfire (talk | contribs) (Changed formatting slightly) |
(getCombatAreaTable: Fix area icons) |
||
Line 32: | Line 32: | ||
for i, area in ipairs(areas) do | for i, area in ipairs(areas) do | ||
result = result..'\r\n|-' | result = result..'\r\n|-' | ||
result = result..'\r\n|class="table-img" data-sort-value="' .. area.name .. '"| '..Icons.Icon({area.name, type=' | result = result..'\r\n|class="table-img" data-sort-value="' .. area.name .. '"| '..Icons.Icon({area.name, type='combatArea', size='50', notext=true}) | ||
result = result..'||' .. Icons.getExpansionIcon(area.id) .. Icons.Icon({area.name, type=' | result = result..'||' .. Icons.getExpansionIcon(area.id) .. Icons.Icon({area.name, type='combatArea', noicon=true}) | ||
result = result..'||data-sort-value="'..area.difficulty[1]..'"|'..Areas._getAreaStat(area, 'difficulty') | result = result..'||data-sort-value="'..area.difficulty[1]..'"|'..Areas._getAreaStat(area, 'difficulty') | ||
local lowLvl, highLvl = p.getLowHighLevels(area.monsterIDs) | local lowLvl, highLvl = p.getLowHighLevels(area.monsterIDs) |