@@ -16,7 +16,7 @@ SMODS.PokerHand({
1616 },
1717 evaluate = function (parts , hand )
1818 if cry_card_enabled (" set_cry_poker_hand_stuff" ) ~= true or cry_card_enabled (" c_cry_asteroidbelt" ) ~= true then
19- return
19+ return {}
2020 end
2121 local stones = {}
2222 for i , card in ipairs (hand ) do
@@ -27,6 +27,24 @@ SMODS.PokerHand({
2727 return # stones >= 5 and { stones } or {}
2828 end ,
2929})
30+ SMODS .PokerHandPart ({
31+ key = " cfpart" ,
32+ func = function (hand )
33+ if cry_card_enabled (" set_cry_poker_hand_stuff" ) ~= true or cry_card_enabled (" c_cry_void" ) ~= true then
34+ return {}
35+ end
36+ local eligible_cards = {}
37+ for i , card in ipairs (hand ) do
38+ if true then -- card.ability.name ~= "Gold Card"
39+ eligible_cards [# eligible_cards + 1 ] = card
40+ end
41+ end
42+ if # eligible_cards > 7 then
43+ return { eligible_cards }
44+ end
45+ return {}
46+ end ,
47+ })
3048SMODS .PokerHand ({
3149 key = " Clusterfuck" ,
3250 visible = false ,
@@ -45,15 +63,13 @@ SMODS.PokerHand({
4563 { " C_5" , true },
4664 },
4765 evaluate = function (parts , hand )
48- if cry_card_enabled (" set_cry_poker_hand_stuff" ) ~= true or cry_card_enabled (" c_cry_void" ) ~= true then
49- return
50- end
5166 local other_hands = next (parts ._flush ) or next (parts ._straight ) or next (parts ._all_pairs )
52- if # hand > 7 then
67+ if next ( parts . cry_cfpart ) then
5368 if not other_hands then
54- return { hand }
69+ return { SMODS . merge_lists ( parts . cry_cfpart ) }
5570 end
5671 end
72+ return {}
5773 end ,
5874})
5975SMODS .PokerHand ({
@@ -110,7 +126,7 @@ SMODS.PokerHand({
110126 end
111127 end
112128 if sc_max == # scored_cards / 2 - 1 and sc_unique == 1 then
113- return
129+ return {}
114130 end
115131 if # scored_cards >= 8 then
116132 return { scored_cards }
0 commit comments