Module:Luacard2: Difference between revisions

From Archon Arcana - The KeyForge Wiki
Module:Luacard2
(Module:Luacard2)
(Module:Luacard2)
Line 286: Line 286:
vars.thumbnail_cards = function(self)
vars.thumbnail_cards = function(self)
local cards = {}
local cards = {}
local card_names = self.Cards
local card_names = self['Cards']
for name in string.gmatch(card_names, '•[.+]•') do
for name in string.gmatch(card_names, '•[.+]•') do
if name~=vars.cardname_e then
if name~=vars.cardname_e then