@@ -391,9 +391,8 @@ local error_joker = {
391391 eternal_compat = false ,
392392 atlas = " atlasepic" ,
393393 loc_vars = function (self , info_queue , center )
394- local ok , ret = pcall (predict_card_for_shop )
395- if safe_get (G .GAME , " pseudorandom" ) and G .STAGE == G .STAGES .RUN and ok then
396- cry_error_msgs [# cry_error_msgs ].string = " %%" .. ret
394+ if safe_get (G .GAME , " pseudorandom" ) and G .STAGE == G .STAGES .RUN then
395+ cry_error_msgs [# cry_error_msgs ].string = " %%" .. (pcall (predict_card_for_shop ) or " J6" )
397396 else
398397 cry_error_msgs [# cry_error_msgs ].string = " %%J6"
399398 end
@@ -1633,36 +1632,33 @@ local soccer = {
16331632 " set_cry_epic" ,
16341633 },
16351634 },
1636- immutable = true ,
1635+ immutable = true , -- i swear i changed this... whatever
16371636 rarity = " cry_epic" ,
16381637 order = 58 ,
16391638 cost = 20 ,
16401639 atlas = " atlasepic" ,
16411640 loc_vars = function (self , info_queue , center )
16421641 return { vars = { center .ability .extra .holygrail } }
16431642 end ,
1644- add_to_deck = function (self , card , from_debuff ) -- TODO: Card in booster packs, Voucher slots
1643+ add_to_deck = function (self , card , from_debuff )
16451644 card .ability .extra .holygrail = math.floor (card .ability .extra .holygrail )
1645+ local mod = card .ability .extra .holygrail
16461646 G .jokers .config .card_limit = G .jokers .config .card_limit
1647- + ((Card .get_gameset (card ) == " modest" ) and 0 or card .ability .extra .holygrail )
1648- G .consumeables .config .card_limit = G .consumeables .config .card_limit + card .ability .extra .holygrail
1649- G .hand :change_size (card .ability .extra .holygrail )
1650- if not G .GAME .modifiers .cry_booster_packs then
1651- G .GAME .modifiers .cry_booster_packs = 2
1652- end
1653- G .GAME .modifiers .cry_booster_packs = G .GAME .modifiers .cry_booster_packs + card .ability .extra .holygrail
1654- change_shop_size (card .ability .extra .holygrail )
1647+ + ((Card .get_gameset (card ) == " modest" ) and 0 or mod )
1648+ G .consumeables .config .card_limit = G .consumeables .config .card_limit + mod
1649+ G .hand :change_size (mod )
1650+ SMODS .change_booster_limit (mod )
1651+ SMODS .change_voucher_limit (mod )
16551652 end ,
16561653 remove_from_deck = function (self , card , from_debuff )
1654+ card .ability .extra .holygrail = math.floor (card .ability .extra .holygrail )
1655+ local mod = card .ability .extra .holygrail
16571656 G .jokers .config .card_limit = G .jokers .config .card_limit
1658- - ((Card .get_gameset (card ) == " modest" ) and 0 or card .ability .extra .holygrail )
1659- G .consumeables .config .card_limit = G .consumeables .config .card_limit - card .ability .extra .holygrail
1660- G .hand :change_size (- card .ability .extra .holygrail )
1661- if not G .GAME .modifiers .cry_booster_packs then
1662- G .GAME .modifiers .cry_booster_packs = 2
1663- end
1664- G .GAME .modifiers .cry_booster_packs = G .GAME .modifiers .cry_booster_packs - card .ability .extra .holygrail
1665- change_shop_size (card .ability .extra .holygrail * - 1 )
1657+ + ((Card .get_gameset (card ) == " modest" ) and 0 or - mod )
1658+ G .consumeables .config .card_limit = G .consumeables .config .card_limit - mod
1659+ G .hand :change_size (- mod )
1660+ SMODS .change_booster_limit (- mod )
1661+ SMODS .change_voucher_limit (- mod )
16661662 end ,
16671663 cry_credits = {
16681664 idea = {
0 commit comments