Skip to content
Merged

augh #113

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
2 changes: 1 addition & 1 deletion lib/hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ G.FUNCS.use_card = function(e, mute, nosave)
blocking = false,
blockable = true,
func = function()
if Entropy.is_inverted(card.config.center) and not card.config.center.hidden then
if Entropy.is_inverted(card.config.center) and not card.config.center.hidden and card.config.center.set ~= "Joker" then
G.GAME.last_inversion = {
key = card.config.center.key,
set = card.config.center.set
Expand Down
5 changes: 0 additions & 5 deletions lib/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ function Entropy.is_inverted(card)
local card = card.config and card.config.center or card
local key = card.key or card.config.center and card.config.center_key or ""
if card.set == "Joker" then
for i, v in pairs(G.P_CENTER_POOLS.Joker) do
if v.corruptions then
for i, c in pairs(v.corruptions) do if c == key then return true end end
end
end
if card.corruptions then return true end
end
return Entropy.FlipsideInversions[key] and not Entropy.FlipsidePureInversions[key]
Expand Down