4,683
edits
m (Add resistance icon before resistance values) |
m (Add table-img class to _getMonsterTable to prevent icons from shrinking down to 0px) |
||
Line 1,813: | Line 1,813: | ||
table.insert(tableParts, '\r\n|style="text-align:right" |' .. Num.formatnum(maxHit)) | table.insert(tableParts, '\r\n|style="text-align:right" |' .. Num.formatnum(maxHit)) | ||
else | else | ||
table.insert(tableParts, '\r\n|style="text-align:right;border-right:hidden" colspan="2" data-sort-value="' .. maxHit .. '"|' .. p._getMonsterStyleIcon({monster, notext=true})) | table.insert(tableParts, '\r\n|class="table-img" style="text-align:right;border-right:hidden" colspan="2" data-sort-value="' .. maxHit .. '"|' .. p._getMonsterStyleIcon({monster, notext=true})) | ||
table.insert(tableParts, '\r\n|style="text-align:right"|' .. Num.formatnum(maxHit)) | table.insert(tableParts, '\r\n|style="text-align:right"|' .. Num.formatnum(maxHit)) | ||
end | end |