Do not override editions

This commit is contained in:
Emik 2026-07-21 17:43:37 +02:00
parent b4b05d37dc
commit e8d0b74a1d
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 10 additions and 9 deletions

View file

@ -3,7 +3,7 @@
"id": "Roland",
"name": "Roland",
"prefix": "Roland",
"version": "2.9.71",
"version": "2.9.72",
"badge_colour": "8BE9FD",
"display_name": "Roland",
"main_file": "src/main.lua",

View file

@ -243,14 +243,15 @@ joker {
table.insert(info_queue, G.P_CENTERS.e_Roland_frozen)
end,
calculate = function(_, _, context)
return (context.selling_self or context.forcetrigger) and f(G.hand.cards):each(function(v)
q {
delay = 0.1,
func = function()
v:set_edition {Roland_frozen = true}
end,
}
end) or nil
return (context.selling_self or context.forcetrigger) and
f(G.hand.cards):where("edition", false):each(function(v)
q {
delay = 0.1,
func = function()
v:set_edition {Roland_frozen = true}
end,
}
end) or nil
end,
}