diff --git a/localization/en-us.lua b/localization/en-us.lua index fecb9ee..9300944 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -132,7 +132,7 @@ return { }, j_Roland_phytoestrogens = { name = "Phytoestrogens", - text = {"{C:mult}+Chips#1#{} Mult"}, + text = {"{C:mult}+Chips{} Mult", "{X:mult,C:white}X#1#{} Mult"}, }, j_Roland_monomino = { name = "Monomino", diff --git a/src/joker.lua b/src/joker.lua index 92242d6..f24b5ce 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -281,18 +281,22 @@ joker { joker { key = "phytoestrogens", pronouns = "she_her", - config = {extra = {division = Cryptid and 1 or 4}}, + config = {extra = {xmult = 0.1}}, cost = 8, rarity = 3, eternal_compat = true, blueprint_compat = true, perishable_compat = true, loc_vars = function(_, _, card) - local division = card.ability.extra.division - return {vars = {division == 1 and "" or "/" .. number_format(division)}} + return {vars = {card.ability.extra.xmult}} end, calculate = function(_, card, context) - return context.joker_main and {mult = hand_chips / card.ability.extra.division} or nil + if not context.joker_main then + return + end + + SMODS.calculate_effect({mult = hand_chips}, card) + SMODS.calculate_effect({xmult = card.ability.extra.mult}, card) end, }