Module:Abilities-test/card: Difference between revisions

mNo edit summary
mNo edit summary
Line 317: Line 317:
local icon = get_icon(prop.Type)
local icon = get_icon(prop.Type)
local status_effect = prop.StatusEffect
if status_effect == 'CustomDebuff' then
status_effect = 'Debuff'
end
local main_box
local main_box
if prop.StatusEffect then
if prop.StatusEffect then
Line 325: Line 329:
key = prop.Key,
key = prop.Key,
value = value,
value = value,
status_effect = prop.StatusEffect,
status_effect = status_effect,
icon = icon.img,
icon = icon.img,
icon_link = icon.link,
icon_link = icon.link,