892
edits
m (or not?) |
m (smol test) |
||
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 = string.gsub(row.otherModifiers, ' | local _, nummodifiers = string.gsub(row.otherModifiers, '\n', '\n') | ||
if nummodifiers < 5 then | if nummodifiers < 5 then | ||
result = result..'||'..row.otherModifiers | result = result..'||'..nummodifiers..' modifiers: '..row.otherModifiers | ||
else | else | ||
result = result..'|| many modifiers' | result = result..'|| many modifiers' |
edits