892
edits
m (testing) |
m (testing combat passive slot) |
||
Line 887: | Line 887: | ||
function p.getCombatPassiveSlotItems(frame) | function p.getCombatPassiveSlotItems(frame) | ||
local table = '{| class="wikitable"\r\n' | local table = '{| class="wikitable"\r\n' | ||
table = table..'! | table = table..'!Item\r\n! Passive\r\n' | ||
table = table..'|-\r\n' | table = table..'|-\r\n' | ||
for i, item in pairs(ItemData.Items) do | for i, item in pairs(ItemData.Items) do | ||
if item.isPassiveItem then | if item.isPassiveItem then | ||
table = table..'\r\n! | table = table..'\r\n!'..item.name..'\r\n| passive\r\n' | ||
table = table..'|-\r\n' | |||
end | end | ||
end | end |
edits