Update Card.lua

This commit is contained in:
Fantom-Balatro
2025-03-23 19:47:58 -06:00
committed by GitHub
parent e0070217ea
commit b648b7c289

View File

@@ -12,3 +12,14 @@ function get_X_same(num, hand)
end end
return orig_get_X_same(num, clean_hand) return orig_get_X_same(num, clean_hand)
end end
local orig_get_highest = get_highest
function get_highest(hand)
local clean_hand = {}
for _, v in pairs(hand) do
if v.get_nominal then
table.insert(clean_hand, v)
end
end
return orig_get_highest(clean_hand)
end