@@ -221,8 +221,7 @@ local potofjokes = {
221221 },
222222 name = " cry-Pot of Jokes" ,
223223 key = " pot_of_jokes" ,
224- config = { extra = { h_size = - 2 , h_mod = 1 ,},
225- immutable = { h_added = 0 , h_mod_max = 1000 ,}},
224+ config = { extra = { h_size = - 2 , h_mod = 1 }, immutable = { h_added = 0 , h_mod_max = 1000 } },
226225 pos = { x = 5 , y = 0 },
227226 rarity = 3 ,
228227 order = 104 ,
@@ -241,7 +240,10 @@ local potofjokes = {
241240 end ,
242241 calculate = function (self , card , context )
243242 if context .end_of_round and not context .individual and not context .repetition and not context .blueprint then
244- if to_big (card .ability .extra .h_size ) + to_big (card .ability .extra .h_mod ) >= to_big (card .ability .immutable .h_mod_max ) then
243+ if
244+ to_big (card .ability .extra .h_size ) + to_big (card .ability .extra .h_mod )
245+ >= to_big (card .ability .immutable .h_mod_max )
246+ then
245247 card .ability .extra .h_size = card .ability .immutable .h_mod_max
246248 card .ability .extra .h_mod = 0
247249
@@ -255,7 +257,10 @@ local potofjokes = {
255257 end
256258 end
257259
258- local delta = math.min (math.max (0 , card .ability .immutable .h_mod_max - card .ability .extra .h_size ), card .ability .extra .h_mod )
260+ local delta = math.min (
261+ math.max (0 , card .ability .immutable .h_mod_max - card .ability .extra .h_size ),
262+ card .ability .extra .h_mod
263+ )
259264
260265 G .hand :change_size (delta )
261266
0 commit comments