Module:Abilities-test/card: Difference between revisions

mNo edit summary
m Undo revision 50269 by Saag (talk)
Tag: Undo
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 329: Line 325:
key = prop.Key,
key = prop.Key,
value = value,
value = value,
status_effect = status_effect,
status_effect = prop.StatusEffect,
icon = icon.img,
icon = icon.img,
icon_link = icon.link,
icon_link = icon.link,