Change ante scaling in non-cryptid Acceleration Deck
This commit is contained in:
parent
82863e7933
commit
ce5703bd23
2 changed files with 11 additions and 8 deletions
17
src/back.lua
17
src/back.lua
|
|
@ -14,14 +14,15 @@ SMODS.Back {
|
|||
loc_txt = {
|
||||
name = "Acceleration Deck",
|
||||
text = {
|
||||
Cryptid and "" or "{C:attention}Ante increases twice{} as strong",
|
||||
"After defeating the {C:attention}Boss Blind{},",
|
||||
"set {C:attention}ante {}to the {C:attention}next",
|
||||
"{C:attention}triangle number {}and create",
|
||||
Cryptid and "an {C:spectral,E:1}Empowered Tag" or "a {C:dark_edition}Negative {C:spectral,E:1}Soul",
|
||||
Cryptid and "set {C:attention}ante {}to the {C:attention}next" or "",
|
||||
Cryptid and "{C:attention}triangle number {}and create" or "",
|
||||
Cryptid and "an {C:spectral,E:1}Empowered Tag" or "create a {C:dark_edition}Negative {C:spectral,E:1}Soul",
|
||||
}
|
||||
},
|
||||
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
|
||||
end,
|
||||
trigger_effect = function(_, args)
|
||||
|
|
@ -87,7 +88,7 @@ SMODS.Back {
|
|||
loc_txt = {
|
||||
name = "Tortoise Deck",
|
||||
text = {
|
||||
"{C:attention}Ante increases{} are",
|
||||
"{C:attention}Ante increases",
|
||||
"{C:attention}half{} as strong",
|
||||
}
|
||||
},
|
||||
|
|
@ -154,8 +155,10 @@ function ease_ante(mod)
|
|||
end
|
||||
|
||||
if G.GAME.nitro then
|
||||
mod = 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)
|
||||
mod = Cryptid and
|
||||
(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
|
||||
|
||||
if G.GAME.tortoise and mod > 0 then
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ SMODS.Blind {
|
|||
pos = {x = 0, y = 0},
|
||||
vars = {},
|
||||
dollars = 15,
|
||||
mult = 0.5,
|
||||
mult = Cryptid and 0.5 or 0.25,
|
||||
defeat = function(_)
|
||||
if not G.GAME.blind.disabled then
|
||||
offset_operator(1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue