diff --git a/localization/en-us.lua b/localization/en-us.lua index 60a74c3..94ba859 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -92,7 +92,8 @@ return { j_Roland_hexagon = { name = "Hexagon", text = { - "Earn {C:money}$#1#{} if", + "Gains {C:money}$#1#{} of", + "{C:attention}sell value{} if", "played hand is a", "{C:attention}Four of a Kind", }, diff --git a/src/joker.lua b/src/joker.lua index b5e4096..6a650a6 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -283,7 +283,7 @@ SMODS.Joker { atlas = "void", pronouns = "they_them", pos = {x = 0, y = 0}, - config = {extra = {money = 2}}, + config = {extra = {money = 4}}, cost = 4, rarity = 1, eternal_compat = true, @@ -293,9 +293,12 @@ SMODS.Joker { return {vars = {card.ability.extra.money}} end, calculate = function(_, card, context) - return context.joker_main and - context.scoring_name == "Four of a Kind" and - {dollars = card.ability.extra.money} or nil + if not context.joker_main or + context.scoring_name ~= "Four of a Kind" then + return + end + + card.sell_cost = card.sell_cost + card.ability.extra.money end, }