Nerf Phytoestrogens
This commit is contained in:
parent
61a6954546
commit
9f26d375c6
2 changed files with 9 additions and 5 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue