Buff Hexagon
This commit is contained in:
parent
33e126fcb5
commit
000a508e35
2 changed files with 9 additions and 5 deletions
|
|
@ -92,7 +92,8 @@ return {
|
||||||
j_Roland_hexagon = {
|
j_Roland_hexagon = {
|
||||||
name = "Hexagon",
|
name = "Hexagon",
|
||||||
text = {
|
text = {
|
||||||
"Earn {C:money}$#1#{} if",
|
"Gains {C:money}$#1#{} of",
|
||||||
|
"{C:attention}sell value{} if",
|
||||||
"played hand is a",
|
"played hand is a",
|
||||||
"{C:attention}Four of a Kind",
|
"{C:attention}Four of a Kind",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,7 @@ SMODS.Joker {
|
||||||
atlas = "void",
|
atlas = "void",
|
||||||
pronouns = "they_them",
|
pronouns = "they_them",
|
||||||
pos = {x = 0, y = 0},
|
pos = {x = 0, y = 0},
|
||||||
config = {extra = {money = 2}},
|
config = {extra = {money = 4}},
|
||||||
cost = 4,
|
cost = 4,
|
||||||
rarity = 1,
|
rarity = 1,
|
||||||
eternal_compat = true,
|
eternal_compat = true,
|
||||||
|
|
@ -293,9 +293,12 @@ SMODS.Joker {
|
||||||
return {vars = {card.ability.extra.money}}
|
return {vars = {card.ability.extra.money}}
|
||||||
end,
|
end,
|
||||||
calculate = function(_, card, context)
|
calculate = function(_, card, context)
|
||||||
return context.joker_main and
|
if not context.joker_main or
|
||||||
context.scoring_name == "Four of a Kind" and
|
context.scoring_name ~= "Four of a Kind" then
|
||||||
{dollars = card.ability.extra.money} or nil
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
card.sell_cost = card.sell_cost + card.ability.extra.money
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue