Fix Arctic Circle retriggers
This commit is contained in:
parent
02d4ee75dd
commit
6c7429dc60
2 changed files with 6 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
"author": [
|
"author": [
|
||||||
"Emik"
|
"Emik"
|
||||||
],
|
],
|
||||||
"version": "2.5.0",
|
"version": "2.5.1",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
"badge_text_colour": "44475A",
|
"badge_text_colour": "44475A",
|
||||||
|
|
|
||||||
|
|
@ -414,7 +414,7 @@ joker {
|
||||||
pronouns = "it_its",
|
pronouns = "it_its",
|
||||||
cost = 10,
|
cost = 10,
|
||||||
rarity = 3,
|
rarity = 3,
|
||||||
config = {extra = {[false] = 1, [true] = 2}},
|
config = {extra = {frozen = 2, non_frozen = 1}},
|
||||||
attributes = {"retrigger", "editions"},
|
attributes = {"retrigger", "editions"},
|
||||||
eternal_compat = true,
|
eternal_compat = true,
|
||||||
blueprint_compat = true,
|
blueprint_compat = true,
|
||||||
|
|
@ -423,7 +423,10 @@ joker {
|
||||||
table.insert(info_queue, G.P_CENTERS.e_Roland_frozen)
|
table.insert(info_queue, G.P_CENTERS.e_Roland_frozen)
|
||||||
end,
|
end,
|
||||||
calculate = function(_, card, context)
|
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(
|
SMODS.merge_effects(
|
||||||
f(G.jokers.cards):where(is_frozen):map(function(v)
|
f(G.jokers.cards):where(is_frozen):map(function(v)
|
||||||
return SMODS.blueprint_effect(card, v, context) or true
|
return SMODS.blueprint_effect(card, v, context) or true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue