892
edits
m (1-indexing because consistency) |
m (hiding modifiers if many) |
||
Line 378: | Line 378: | ||
result = result..'||'..row.type..'||data-sort-value="'..row.val..'"|'..row.modifierText | result = result..'||'..row.type..'||data-sort-value="'..row.val..'"|'..row.modifierText | ||
if hasOtherModifiers and displayOtherMods then | if hasOtherModifiers and displayOtherMods then | ||
local _, nummodifiers = row.otherModifiers:gsub('\n','') | |||
if nummodifiers < 5 then | |||
result = result..'||'..row.otherModifiers | |||
else | |||
result = result..'|| many modifiers' | |||
end | |||
end | end | ||
end | end |
edits