Module:ItemsByStat: Difference between revisions
SerpentofSet (talk | contribs) mNo edit summary |
SerpentofSet (talk | contribs) mNo edit summary |
||
Line 26: | Line 26: | ||
local tableData = selectByStat(stat) | local tableData = selectByStat(stat) | ||
local outString = "" | local outString = "" | ||
return(tableData[ | return(tableData[1][1]) | ||
-- for i=1,#tableData[1] do | -- for i=1,#tableData[1] do | ||
-- outString = outString.."Name: [["..tableData[1][i].."]] Increased Weapon Damage: "..tableData[3][i].."\n\n" | -- outString = outString.."Name: [["..tableData[1][i].."]] Increased Weapon Damage: "..tableData[3][i].."\n\n" |