#mod code
1 messages · Page 1 of 1 (latest)
SMODS.Booster {
key = "atomic_normal_1",
kind = "Element",
cost = 4,
config = {extra = 2, choose = 1},
group_key = "k_bium_atomic_pack",
draw_hand = true,
create_card = function(self, card)
local card = create_card("Element", G.pack_cards, nil, nil, true, true, nil, "bium_element")
end,
pos = {x = 0, y = 0},
weight = 1,
atlas = "booster",
ease_background_colour = function(self)
ease_colour(G.C.DYN_UI.MAIN, G.C.SET.Element)
ease_background_colour({new_colour = G.C.SET.Element, special_colour = G.C.BLACK, contrast = 2})
end,
loc_vars = function(self, info_queue, card)
return {
vars = {
card and card.ability.choose or self.config.choose,
card and card.ability.extra or self.config.extra,
},
}
end,
}```
im on mobile so i might be misreading but i think you dont return anything in create card
Mobile formats that horribly, I'm gonna be of no help
oh ok