Skip to content

Commit f96904f

Browse files
Merge pull request #544 from MathIsFun0/main
Merge to latest
2 parents b8fce96 + 05e62f7 commit f96904f

File tree

4 files changed

+18
-73
lines changed

4 files changed

+18
-73
lines changed

items/code.lua

Lines changed: 10 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,7 @@ local seed = {
11501150
+ #G.hand.highlighted
11511151
+ #G.consumeables.highlighted
11521152
+ (G.pack_cards and #G.pack_cards.highlighted or 0)
1153+
--+ (G.shop_cards and #G.shop_cards.highlighted or 0) TODO: this so you can use seed when it's in shop
11531154
== 2
11541155
end,
11551156
loc_vars = function(self, info_queue, card)
@@ -2147,9 +2148,15 @@ local multiply = {
21472148
},
21482149
cost = 4,
21492150
can_use = function(self, card)
2150-
return #G.jokers.highlighted == 1
2151-
and not Card.no(G.jokers.highlighted[1], "immune_to_chemach", true)
2152-
and not Card.no(G.jokers.highlighted[1], "immutable", true)
2151+
if not G.GAME.modifiers.cry_beta then
2152+
return #G.jokers.highlighted == 1 and not Card.no(G.jokers.highlighted[1], "immutable", true)
2153+
else
2154+
return #G.jokers.highlighted == 2
2155+
and not (
2156+
Card.no(G.jokers.highlighted[1], "immutable", true)
2157+
or Card.no(G.jokers.highlighted[2], "immutable", true)
2158+
)
2159+
end
21532160
end,
21542161
use = function(self, card, area, copier)
21552162
if not G.jokers.highlighted[1].config.cry_multiply then
@@ -4260,71 +4267,6 @@ local pointer = {
42604267
box = "the box",
42614268
windmill = "the windmill",
42624269
clock = "the clock",
4263-
-- Jen's Almanac aliases
4264-
freddy = "freddy snowshoe",
4265-
paupovlin = "paupovlin revere",
4266-
poppin = "paupovlin revere",
4267-
dandy = 'Dandicus "Dandy" Dancifer',
4268-
jen = "jen walter",
4269-
jen2 = "Jen Walter the Wondergeist",
4270-
jen3 = "Jen Walter the Wondergeist (Ascended)",
4271-
survivor = "the survivor",
4272-
monk = "the monk",
4273-
hunter = "the hunter",
4274-
gourmand = "the gourmand",
4275-
saint = "the saint",
4276-
genius = "the genius",
4277-
r_fool = "the genius",
4278-
scientist = "the scientist",
4279-
r_magician = "the scientist",
4280-
lowlaywoman = "the low laywoman",
4281-
laywoman = "the low laywoman",
4282-
r_priestess = "the low laywoman",
4283-
peasant = "the peasant",
4284-
r_empress = "the peasant",
4285-
servant = "the servant",
4286-
r_emperor = "the servant",
4287-
adversary = "the adversary",
4288-
r_hierophant = "the adversary",
4289-
rivals = "the rivals",
4290-
r_lovers = "the rivals",
4291-
hitchhiker = "the hitchhiker",
4292-
r_chariot = "the hitchhiker",
4293-
injustice = "c_jen_reverse_justice",
4294-
r_justice = "c_jen_reverse_justice",
4295-
extrovert = "the extrovert",
4296-
r_hermit = "the extrovert",
4297-
discofpenury = "the disc of penury",
4298-
r_wheeloffortune = "the disc of penury",
4299-
r_wof = "the disc of penury",
4300-
infirmity = "infirmity",
4301-
r_strength = "infirmity",
4302-
zen = "zen",
4303-
r_hangedman = "zen",
4304-
life = "life",
4305-
r_death = "life",
4306-
prodigality = "prodigality",
4307-
r_temperance = "prodigality",
4308-
angel = "the angel",
4309-
r_devil = "the angel",
4310-
collapse = "the collapse",
4311-
r_tower = "the collapse",
4312-
flash = "the flash",
4313-
r_star = "the flash",
4314-
eclipsespectral = "c_jen_reverse_moon",
4315-
eclipsetorat = "c_jen_reverse_moon",
4316-
r_moon = "c_jen_reverse_moon",
4317-
darkness = "the darkness",
4318-
r_sun = "the darkness",
4319-
cunctation = "cunctation",
4320-
r_judgement = "cunctation",
4321-
desolate = "desolate",
4322-
r_world = "desolate",
4323-
-- jen tokens
4324-
topuptoken = "top-up token",
4325-
sagittarius = "sagittarius a*",
4326-
["sagitarius a*"] = "sagittarius a*", --minor spelling mistakes are forgiven
4327-
sagitarius = "sagittarius a*", --minor spelling mistakes are forgiven
43284270
}
43294271
for k, v in pairs(aliases) do
43304272
Cryptid.aliases[k] = v

items/sleeve.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ if CardSleeves then
448448
key = "antimatter_sleeve",
449449
name = "Antimatter Sleeve",
450450
atlas = "atlasSleeves",
451-
pos = { x = 0, y = 2 },
451+
pos = { x = 0, y = 1 },
452452
config = {
453453
cry_antimatter = true,
454454
cry_crit_rate = 0.25, --Critical Deck

items/spooky.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ local choco_dice = {
135135
then
136136
--todo: check if duplicates of event are already started/finished
137137
SMODS.Events["ev_cry_choco" .. card.ability.extra.roll]:finish()
138-
card.ability.extra.roll = Cryptid.roll("cry_choco", 1, 10, { ignore_value = card.ability.extra.roll })
138+
card.ability.extra.roll = Cryptid.roll("cry_choco", 2, 10, { ignore_value = card.ability.extra.roll })
139139
SMODS.Events["ev_cry_choco" .. card.ability.extra.roll]:start()
140140
return {
141141
message = tostring(card.ability.extra.roll),
@@ -1839,7 +1839,7 @@ items = {
18391839
wrapped,
18401840
choco_dice,
18411841
choco_base_event,
1842-
choco1,
1842+
--choco1,
18431843
choco2,
18441844
choco3,
18451845
potion,
@@ -1855,7 +1855,7 @@ items = {
18551855
trick_or_treat,
18561856
candy_basket,
18571857
blacklist,
1858-
ghost,
1858+
--ghost,
18591859
possessed,
18601860
spookydeck,
18611861
candy_dagger,

lib/calculate.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,10 @@ function Card:calculate_joker(context)
597597
if active_side.ability.cry_rigged then
598598
G.GAME.probabilities.normal = ggpn
599599
end
600-
if next(find_joker("cry-Scalae")) or next(find_joker("cry-Double Scale")) then
600+
if
601+
(next(find_joker("cry-Scalae")) or next(find_joker("cry-Double Scale")))
602+
or (active_side.ability.name == "cry-Exponentia" or "cry-Compound Interest")
603+
then
601604
active_side:cry_double_scale_calc(orig_ability, in_context_scaling)
602605
end
603606
return ret, trig

0 commit comments

Comments
 (0)