Change ante scaling in non-cryptid Acceleration Deck

This commit is contained in:
Emik 2025-03-24 12:27:35 +01:00
parent 82863e7933
commit ce5703bd23
Signed by untrusted user who does not match committer: emik
GPG key ID: 09CDFF9E5703688D
2 changed files with 11 additions and 8 deletions

View file

@ -14,14 +14,15 @@ SMODS.Back {
loc_txt = { loc_txt = {
name = "Acceleration Deck", name = "Acceleration Deck",
text = { text = {
Cryptid and "" or "{C:attention}Ante increases twice{} as strong",
"After defeating the {C:attention}Boss Blind{},", "After defeating the {C:attention}Boss Blind{},",
"set {C:attention}ante {}to the {C:attention}next", Cryptid and "set {C:attention}ante {}to the {C:attention}next" or "",
"{C:attention}triangle number {}and create", Cryptid and "{C:attention}triangle number {}and create" or "",
Cryptid and "an {C:spectral,E:1}Empowered Tag" or "a {C:dark_edition}Negative {C:spectral,E:1}Soul", Cryptid and "an {C:spectral,E:1}Empowered Tag" or "create a {C:dark_edition}Negative {C:spectral,E:1}Soul",
} }
}, },
apply = function(_) apply = function(_)
G.GAME.win_ante = G.GAME.win_ante * (G.GAME.win_ante + 1) / 2 G.GAME.win_ante = Cryptid and G.GAME.win_ante * (G.GAME.win_ante + 1) / 2 or G.GAME.win_ante * 2 - 1
G.GAME.nitro = true G.GAME.nitro = true
end, end,
trigger_effect = function(_, args) trigger_effect = function(_, args)
@ -87,7 +88,7 @@ SMODS.Back {
loc_txt = { loc_txt = {
name = "Tortoise Deck", name = "Tortoise Deck",
text = { text = {
"{C:attention}Ante increases{} are", "{C:attention}Ante increases",
"{C:attention}half{} as strong", "{C:attention}half{} as strong",
} }
}, },
@ -154,8 +155,10 @@ function ease_ante(mod)
end end
if G.GAME.nitro then if G.GAME.nitro then
mod = G.GAME.round_resets.ante < 0 and -G.GAME.round_resets.ante mod = Cryptid and
or math.ceil(next_triangle_number(G.GAME.round_resets.ante) - G.GAME.round_resets.ante) (G.GAME.round_resets.ante < 0 and -G.GAME.round_resets.ante
or math.ceil(next_triangle_number(G.GAME.round_resets.ante) - G.GAME.round_resets.ante)) or
(mod > 0 and mod * 2 or mod)
end end
if G.GAME.tortoise and mod > 0 then if G.GAME.tortoise and mod > 0 then

View file

@ -71,7 +71,7 @@ SMODS.Blind {
pos = {x = 0, y = 0}, pos = {x = 0, y = 0},
vars = {}, vars = {},
dollars = 15, dollars = 15,
mult = 0.5, mult = Cryptid and 0.5 or 0.25,
defeat = function(_) defeat = function(_)
if not G.GAME.blind.disabled then if not G.GAME.blind.disabled then
offset_operator(1) offset_operator(1)