Skip to content

Commit 7e7faa0

Browse files
committed
2 parents 4f3fae0 + e365428 commit 7e7faa0

File tree

6 files changed

+413
-102
lines changed

6 files changed

+413
-102
lines changed

Cryptid.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
--- MOD_DESCRIPTION: Adds unbalanced ideas to Balatro.
77
--- BADGE_COLOUR: 708b91
88
--- DEPENDENCIES: [Talisman>=2.0.0-beta8<=2.0.9, Steamodded>=1.0.0~ALPHA-1225a<=1.0.0~ALPHA-1304a]
9-
--- VERSION: 0.5.3c
9+
--- VERSION: 0.5.3d
1010
--- PRIORITY: 2147483647
1111

1212
----------------------------------------------

Items/CodeCards.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,7 @@ local commit = {
601601
can_use = function(self, card)
602602
return #G.jokers.highlighted == 1
603603
and not G.jokers.highlighted[1].ability.eternal
604-
and not (
605-
type(G.jokers.highlighted[1].config.center.rarity) == "number"
606-
and G.jokers.highlighted[1].config.center.rarity >= 5
607-
)
604+
and (not Jen or not Jen.overpowered(G.jokers.highlighted[1].config.center.rarity))
608605
end,
609606
use = function(self, card, area, copier)
610607
local deleted_joker_key = G.jokers.highlighted[1].config.center.key
@@ -1123,6 +1120,7 @@ local rework = {
11231120
if not tag.ability then
11241121
tag.ability = {}
11251122
end
1123+
if jkr.config.center.key == "c_base" then jkr.config.center.key = "j_scholar" end
11261124
tag.ability.rework_key = jkr.config.center.key
11271125
tag.ability.rework_edition = G.P_CENTER_POOLS.Edition[found_index].key
11281126
add_tag(tag)

Items/MiscJokers.lua

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6758,7 +6758,7 @@ local digitalhallucinations = {
67586758
end)
67596759
}))
67606760
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = localize('k_plus_'..short1[i]), colour = G.C.SECONDARY_SET[short2[i]]})
6761-
return true -- this triggers BEFORE a retrigger joker and looks like jank. i can't get a message showing up without status text so this is the best option rn
6761+
return nil, true -- this triggers BEFORE a retrigger joker and looks like jank. i can't get a message showing up without status text so this is the best option rn
67626762
end
67636763
end
67646764
if boosty.ability.name:find('code') then
@@ -6774,7 +6774,7 @@ local digitalhallucinations = {
67746774
end
67756775
}))
67766776
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = localize('cry_plus_code'), colour = G.C.SET.Code})
6777-
return true
6777+
return nil, true
67786778
end
67796779
if boosty.ability.name:find('Buffoon') then
67806780
G.E_MANAGER:add_event(Event({
@@ -6790,7 +6790,7 @@ local digitalhallucinations = {
67906790
end
67916791
}))
67926792
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = localize('k_plus_joker'), colour = G.C.FILTER})
6793-
return true
6793+
return nil, true
67946794
end
67956795
if boosty.ability.name:find('Standard') then
67966796
G.E_MANAGER:add_event(Event({
@@ -6816,7 +6816,7 @@ local digitalhallucinations = {
68166816
draw_card(G.play,G.deck, 90,'up', nil)
68176817

68186818
playing_card_joker_effects({true}) -- who knows what most this stuff does, i just copied it from marble jonkler
6819-
return true
6819+
return nil, true
68206820
end
68216821
end
68226822
end,
@@ -6848,9 +6848,9 @@ local arsonist = {
68486848
calculate = function(self, card, context)
68496849
if context.destroying_card then
68506850
local eval = evaluate_poker_hand(context.full_hand)
6851-
if next(eval['Full House']) then
6852-
return true
6853-
end
6851+
if next(eval['Full House']) then
6852+
return not context.destroying_card.ability.eternal
6853+
end
68546854
end
68556855
end,
68566856
cry_credits = {
@@ -6875,11 +6875,14 @@ local zooble = {
68756875
cost = 6,
68766876
atlas = "atlasone",
68776877
order = 132,
6878-
loc_vars = function(self, info_queue, center)
6879-
return { vars = {center.ability.extra.mult,center.ability.extra.a_mult }}
6878+
blueprint_compat = true,
6879+
eternal_compat = true,
6880+
perishable_compat = false,
6881+
loc_vars = function(self, info_queue, card)
6882+
return { vars = {card.ability.extra.mult, card.ability.extra.a_mult }}
68806883
end,
68816884
calculate = function(self, card, context)
6882-
if context.before and context.cardarea == G.jokers then
6885+
if context.before and context.cardarea == G.jokers and not context.blueprint then
68836886
if not (next(context.poker_hands['Straight']) or next(context.poker_hands['Straight Flush'])) then
68846887
local unique_ranks = {}
68856888
for i, v in pairs (context.scoring_hand) do

0 commit comments

Comments
 (0)