Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 10 additions & 68 deletions items/code.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,7 @@ local seed = {
+ #G.hand.highlighted
+ #G.consumeables.highlighted
+ (G.pack_cards and #G.pack_cards.highlighted or 0)
--+ (G.shop_cards and #G.shop_cards.highlighted or 0) TODO: this so you can use seed when it's in shop
== 2
end,
loc_vars = function(self, info_queue, card)
Expand Down Expand Up @@ -2147,9 +2148,15 @@ local multiply = {
},
cost = 4,
can_use = function(self, card)
return #G.jokers.highlighted == 1
and not Card.no(G.jokers.highlighted[1], "immune_to_chemach", true)
and not Card.no(G.jokers.highlighted[1], "immutable", true)
if not G.GAME.modifiers.cry_beta then
return #G.jokers.highlighted == 1 and not Card.no(G.jokers.highlighted[1], "immutable", true)
else
return #G.jokers.highlighted == 2
and not (
Card.no(G.jokers.highlighted[1], "immutable", true)
or Card.no(G.jokers.highlighted[2], "immutable", true)
)
end
end,
use = function(self, card, area, copier)
if not G.jokers.highlighted[1].config.cry_multiply then
Expand Down Expand Up @@ -4260,71 +4267,6 @@ local pointer = {
box = "the box",
windmill = "the windmill",
clock = "the clock",
-- Jen's Almanac aliases
freddy = "freddy snowshoe",
paupovlin = "paupovlin revere",
poppin = "paupovlin revere",
dandy = 'Dandicus "Dandy" Dancifer',
jen = "jen walter",
jen2 = "Jen Walter the Wondergeist",
jen3 = "Jen Walter the Wondergeist (Ascended)",
survivor = "the survivor",
monk = "the monk",
hunter = "the hunter",
gourmand = "the gourmand",
saint = "the saint",
genius = "the genius",
r_fool = "the genius",
scientist = "the scientist",
r_magician = "the scientist",
lowlaywoman = "the low laywoman",
laywoman = "the low laywoman",
r_priestess = "the low laywoman",
peasant = "the peasant",
r_empress = "the peasant",
servant = "the servant",
r_emperor = "the servant",
adversary = "the adversary",
r_hierophant = "the adversary",
rivals = "the rivals",
r_lovers = "the rivals",
hitchhiker = "the hitchhiker",
r_chariot = "the hitchhiker",
injustice = "c_jen_reverse_justice",
r_justice = "c_jen_reverse_justice",
extrovert = "the extrovert",
r_hermit = "the extrovert",
discofpenury = "the disc of penury",
r_wheeloffortune = "the disc of penury",
r_wof = "the disc of penury",
infirmity = "infirmity",
r_strength = "infirmity",
zen = "zen",
r_hangedman = "zen",
life = "life",
r_death = "life",
prodigality = "prodigality",
r_temperance = "prodigality",
angel = "the angel",
r_devil = "the angel",
collapse = "the collapse",
r_tower = "the collapse",
flash = "the flash",
r_star = "the flash",
eclipsespectral = "c_jen_reverse_moon",
eclipsetorat = "c_jen_reverse_moon",
r_moon = "c_jen_reverse_moon",
darkness = "the darkness",
r_sun = "the darkness",
cunctation = "cunctation",
r_judgement = "cunctation",
desolate = "desolate",
r_world = "desolate",
-- jen tokens
topuptoken = "top-up token",
sagittarius = "sagittarius a*",
["sagitarius a*"] = "sagittarius a*", --minor spelling mistakes are forgiven
sagitarius = "sagittarius a*", --minor spelling mistakes are forgiven
}
for k, v in pairs(aliases) do
Cryptid.aliases[k] = v
Expand Down
2 changes: 1 addition & 1 deletion items/sleeve.lua
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ if CardSleeves then
key = "antimatter_sleeve",
name = "Antimatter Sleeve",
atlas = "atlasSleeves",
pos = { x = 0, y = 2 },
pos = { x = 0, y = 1 },
config = {
cry_antimatter = true,
cry_crit_rate = 0.25, --Critical Deck
Expand Down
6 changes: 3 additions & 3 deletions items/spooky.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ local choco_dice = {
then
--todo: check if duplicates of event are already started/finished
SMODS.Events["ev_cry_choco" .. card.ability.extra.roll]:finish()
card.ability.extra.roll = Cryptid.roll("cry_choco", 1, 10, { ignore_value = card.ability.extra.roll })
card.ability.extra.roll = Cryptid.roll("cry_choco", 2, 10, { ignore_value = card.ability.extra.roll })
SMODS.Events["ev_cry_choco" .. card.ability.extra.roll]:start()
return {
message = tostring(card.ability.extra.roll),
Expand Down Expand Up @@ -1748,7 +1748,7 @@ items = {
wrapped,
choco_dice,
choco_base_event,
choco1,
--choco1,
choco2,
choco3,
potion,
Expand All @@ -1764,7 +1764,7 @@ items = {
trick_or_treat,
candy_basket,
blacklist,
ghost,
--ghost,
possessed,
spookydeck,
candy_dagger,
Expand Down
5 changes: 4 additions & 1 deletion lib/calculate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,10 @@ function Card:calculate_joker(context)
if active_side.ability.cry_rigged then
G.GAME.probabilities.normal = ggpn
end
if next(find_joker("cry-Scalae")) or next(find_joker("cry-Double Scale")) then
if
(next(find_joker("cry-Scalae")) or next(find_joker("cry-Double Scale")))
or (active_side.ability.name == "cry-Exponentia" or "cry-Compound Interest")
then
active_side:cry_double_scale_calc(orig_ability, in_context_scaling)
end
return ret, trig
Expand Down