Module:ItemsByStat: Difference between revisions

mNo edit summary
mNo edit summary
Line 26: Line 26:
local tableData = selectByStat(stat)
local tableData = selectByStat(stat)
local outString = ""
local outString = ""
return(tableData[3][1])
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"