Allow Saint to remove Eternal stickers from Frozen cards

This commit is contained in:
Emik 2026-06-23 21:05:21 +02:00
parent ced0a9ab08
commit 40e8d4086b
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 7 additions and 9 deletions

View file

@ -18,5 +18,5 @@
"conflicts": [
"Jen"
],
"version": "1.9.1"
"version": "1.9.2"
}

View file

@ -722,19 +722,17 @@ SMODS.Joker {
Bakery_use_joker = function(_, card)
for joker_index = 1, math.max(card.rank - 1, 1) do
local joker = G.jokers.cards[joker_index]
if card.ability.extra.is_attuned and joker.Roland_frozen then
goto edition_only
end
joker:set_eternal(not joker.ability.eternal)
if joker.Roland_frozen_ability then
joker.Roland_frozen_ability.eternal = joker.ability.eternal
end
if not card.ability.extra.is_attuned or joker.ability.eternal then
joker:juice_up()
goto no_edition
goto continue
end
::edition_only::
local edition = 1
for ii, vv in ipairs(joker.edition and G.P_CENTER_POOLS.Edition or {}) do
@ -746,7 +744,7 @@ SMODS.Joker {
local next = edition < #G.P_CENTER_POOLS.Edition and edition + 1 or 1
joker:set_edition(G.P_CENTER_POOLS.Edition[next].key)
::no_edition::
::continue::
end
end,
}