@@ -7610,18 +7610,18 @@ local lebaron_james = {
76107610 name = " cry-LeBaron James" ,
76117611 key = " lebaron_james" ,
76127612 pos = { x = 2 , y = 5 },
7613- config = {extra = {h_mod = 1 , h_size = 0 } },
7613+ config = { extra = { h_mod = 1 , h_size = 0 } },
76147614 rarity = 3 ,
76157615 cost = 6 ,
76167616 atlas = " atlasone" ,
76177617 order = 133 ,
76187618 loc_vars = function (self , info_queue , center )
7619- return { vars = {center .ability .extra .h_mod ,center .ability .extra .h_size } }
7619+ return { vars = { center .ability .extra .h_mod , center .ability .extra .h_size } }
76207620 end ,
76217621 calculate = function (self , card , context )
76227622 if context .cardarea == G .play and context .individual then
76237623 if SMODS .Ranks [context .other_card .base .value ].key == " King" then
7624- G .hand :change_size (math.min (1000 - card .ability .extra .h_size , card .ability .extra .h_mod ))
7624+ G .hand :change_size (math.min (1000 - card .ability .extra .h_size , card .ability .extra .h_mod ))
76257625 card .ability .extra .h_size = card .ability .extra .h_size + card .ability .extra .h_mod
76267626 return {
76277627 message = localize ({ type = " variable" , key = " a_handsize" , vars = { card .ability .extra .h_mod } }),
@@ -7631,7 +7631,7 @@ local lebaron_james = {
76317631 end
76327632 end
76337633 if context .end_of_round and not context .individual and not context .repetition then
7634- G .hand :change_size (- 1 * math.min (1000 , card .ability .extra .h_size ))
7634+ G .hand :change_size (- 1 * math.min (1000 , card .ability .extra .h_size ))
76357635 card .ability .extra .h_size = 0
76367636 return {
76377637 card = card ,
@@ -7640,18 +7640,19 @@ local lebaron_james = {
76407640 end
76417641 end ,
76427642 remove_from_deck = function (self , card , from_debuff )
7643- G .hand :change_size (- 1 * math.min (1000 , card .ability .extra .h_size ))
7643+ G .hand :change_size (- 1 * math.min (1000 , card .ability .extra .h_size ))
76447644 end ,
76457645 cry_credits = {
76467646 idea = {
7647- " indefenite_idiot" , " HexaCryonic"
7647+ " indefenite_idiot" ,
7648+ " HexaCryonic" ,
76487649 },
76497650 code = {
7650- " AlexZGreat"
7651+ " AlexZGreat" ,
76517652 },
76527653 art = {
7653- " lamborghiniofficial"
7654- }
7654+ " lamborghiniofficial" ,
7655+ },
76557656 },
76567657 init = function (self )
76577658 -- Calculate enhancements for kings as if held in hand
@@ -7660,14 +7661,19 @@ local lebaron_james = {
76607661 local cce = Card .calculate_enhancement
76617662 function Card :calculate_enhancement (context )
76627663 local ret = cce (self , context )
7663- if not ret and next (SMODS .find_card (" j_cry_lebaron_james" )) and SMODS .Ranks [self .base .value ].key == " King" and context .cardarea == G .play then
7664+ if
7665+ not ret
7666+ and next (SMODS .find_card (" j_cry_lebaron_james" ))
7667+ and SMODS .Ranks [self .base .value ].key == " King"
7668+ and context .cardarea == G .play
7669+ then
76647670 context .cardarea = G .hand
76657671 local ret = cce (self , context )
76667672 context .cardarea = G .play
76677673 end
76687674 return ret
76697675 end
7670- end
7676+ end ,
76717677}
76727678local miscitems = {
76737679 jimball_sprite ,
0 commit comments