Compare commits

...

2 commits

Author SHA1 Message Date
fd6f25b913
Merge branch 'main' of https://git.emik.dev/emik/Jane 2026-05-23 21:34:48 +02:00
940058d18d
Restrict Spearmaster use button 2026-05-23 21:34:10 +02:00

View file

@ -418,7 +418,13 @@ SMODS.Joker {
c[i].jane_spearmaster = true
c[i]:use_consumeable()
SMODS.calculate_context {using_consumeable = true, consumeable = c[i], area = c[i].from_area}
local normal = c[i].area ~= G.pack_cards
c[i]:start_dissolve()
if not normal then
G.GAME.pack_choices = G.GAME.pack_choices - 1
local _ = G.GAME.pack_choices <= 0 and G.FUNCS.end_consumeable()
end
end
end
end,