Buff non-attuned saint

This commit is contained in:
Emik 2026-02-11 05:35:33 +01:00
parent 777aa0ca75
commit 3c222e0f64
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 24 additions and 3 deletions

View file

@ -17,5 +17,5 @@
"conflicts": [ "conflicts": [
"Jen" "Jen"
], ],
"version": "1.5.20" "version": "1.5.21"
} }

View file

@ -478,12 +478,13 @@ SMODS.Joker {
loc_txt = { loc_txt = {
name = "The Saint{C:jane_RGB}#1#", name = "The Saint{C:jane_RGB}#1#",
text = Cryptid and { text = Cryptid and {
"{C:attention}Use {}to toggle {X:legendary,C:white}Eternal{} stickers to the left",
"{C:spectral}Analog{}, {C:spectral}Ankh{}, {C:spectral}Gateway{}, and", "{C:spectral}Analog{}, {C:spectral}Ankh{}, {C:spectral}Gateway{}, and",
"{C:spectral,s:0.95}Summoning {s:0.95}will {C:attention,s:0.95}not destroy Jokers", "{C:spectral,s:0.95}Summoning {s:0.95}will {C:attention,s:0.95}not destroy Jokers",
"{C:jane_RGB}#2#{}#3#{X:black,C:jane_RGB,s:1.5}#4#{C:spectral}#5#{C:mult}#6#", "{C:jane_RGB}#2#{}#3#{X:black,C:jane_RGB,s:1.5}#4#{C:spectral}#5#{C:mult}#6#",
"{C:inactive,s:1.25}#7#{C:attention,s:1.25}#8#{C:inactive,s:1.25}#9#{C:inactive}#10#", "{C:inactive,s:1.25}#7#{C:attention,s:1.25}#8#{C:inactive,s:1.25}#9#{C:inactive}#10#",
} or { } or {
"{C:spectral}Ankh {}will {C:attention}not destroy Jokers", "{C:attention}Use {}to toggle {X:legendary,C:white}Eternal{} stickers to the left",
"{C:jane_RGB}#2#{}#3#{C:dark_edition}#4#{C:spectral}#5#", "{C:jane_RGB}#2#{}#3#{C:dark_edition}#4#{C:spectral}#5#",
"{C:inactive,s:1.25}#6#{C:attention,s:1.25}#7#{C:inactive,s:1.25}#8#{C:inactive}#9#", "{C:inactive,s:1.25}#6#{C:attention,s:1.25}#7#{C:inactive,s:1.25}#8#{C:inactive}#9#",
}, },
@ -499,7 +500,7 @@ SMODS.Joker {
info_queue[#info_queue + 1] = G.P_CENTERS.c_cry_analog info_queue[#info_queue + 1] = G.P_CENTERS.c_cry_analog
end end
info_queue[#info_queue + 1] = G.P_CENTERS.c_ankh info_queue[#info_queue + 1] = Cryptid and G.P_CENTERS.c_ankh or nil
info_queue[#info_queue + 1] = Cryptid and G.P_CENTERS.c_cry_gateway or G.P_CENTERS.c_soul info_queue[#info_queue + 1] = Cryptid and G.P_CENTERS.c_cry_gateway or G.P_CENTERS.c_soul
if Cryptid then if Cryptid then
@ -669,6 +670,26 @@ SMODS.Joker {
ascend() ascend()
end, end,
Bakery_can_use = function(_, card)
return not card.debuff and Jane.can_use()
end,
Bakery_use_joker = function(_, card)
if card.debuff then
return
end
for k, v in ipairs(G.jokers.cards) do
if card == v then
for i = 1, math.max(k - 1, 1) do
local joker = G.jokers.cards[i]
joker:set_eternal(not joker.ability.eternal)
joker:juice_up()
end
return
end
end
end,
} }
if Cryptid then if Cryptid then