Hey everyone, im making a joker card that for each Joker of a specific type gives you some Mult, i tried this function but it crashes the game and it also uses SMODS.Joker rather than accesing which jokers the player currrently has which is obviously wrong but i dont know how to do it the right way, any help is appreciated!
update = function (self, card, dt)
card.ability.extra.shells = 0
for joker in SMODS.Joker do
if joker.key == "Shell" then
card.ability.extra.shells = card.ability.extra.shells + 1
end
end
end,
