mirror of
https://github.com/ershisan99/Fantoms-Preview.git
synced 2025-12-16 12:32:48 +00:00
Update Card.lua
This commit is contained in:
@@ -12,3 +12,14 @@ function get_X_same(num, hand)
|
||||
end
|
||||
return orig_get_X_same(num, clean_hand)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user