From 6c7429dc60593a3a118250f2940f25744608e6f8 Mon Sep 17 00:00:00 2001 From: Emik Date: Fri, 22 May 2026 22:24:01 +0200 Subject: [PATCH] Fix Arctic Circle retriggers --- manifest.json | 2 +- src/joker.lua | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index dcf016e..9be1028 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "author": [ "Emik" ], - "version": "2.5.0", + "version": "2.5.1", "badge_colour": "8BE9FD", "main_file": "src/main.lua", "badge_text_colour": "44475A", diff --git a/src/joker.lua b/src/joker.lua index aa1511e..0389f4a 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -414,7 +414,7 @@ joker { pronouns = "it_its", cost = 10, rarity = 3, - config = {extra = {[false] = 1, [true] = 2}}, + config = {extra = {frozen = 2, non_frozen = 1}}, attributes = {"retrigger", "editions"}, eternal_compat = true, blueprint_compat = true, @@ -423,7 +423,10 @@ joker { table.insert(info_queue, G.P_CENTERS.e_Roland_frozen) end, calculate = function(_, card, context) - return context.repetition and {repetitions = card.ability.extra[is_frozen(context.other_card)]} or + local extra = card.ability.extra + + return (context.repetition and context.other_card) and + {repetitions = is_frozen(context.other_card) and extra.frozen or extra.non_frozen} or SMODS.merge_effects( f(G.jokers.cards):where(is_frozen):map(function(v) return SMODS.blueprint_effect(card, v, context) or true