Module:Luacard2: Difference between revisions

From Archon Arcana - The KeyForge Wiki
Module:Luacard2
(Module:Luacard2)
(Module:Luacard2)
Line 286: Line 286:
where='CardData.Name="'..cardname..'"'
where='CardData.Name="'..cardname..'"'
})
})
return card_results[1]['Name']
cards[#cards+1] = card_results[1]
--cards[#cards] = card_results[1]
end
end
end
end
cards[#cards] = {
return cards
Name='TestCard',
Image='TestImage'
}
--return string.gmatch(card_names, '[^•]+')
--return cards
return 'None found'
end
end