@@ -421,18 +421,6 @@ function Cryptid.manipulate(card, args)
421421 end )
422422 end
423423 end
424- if not Cryptid .base_values [card .config .center .key ] then
425- Cryptid .base_values [card .config .center .key ] = {}
426- for i , v in pairs (card .ability ) do
427- if (type (v ) == " table" and v .tetrate ) or type (v ) == " number" and to_big (v ) < to_big (0 ) then
428- Cryptid .base_values [card .config .center .key ][i .. " ability" ] = v
429- elseif type (v ) == " table" then
430- for i2 , v2 in pairs (v ) do
431- Cryptid .base_values [card .config .center .key ][i2 .. i ] = v2
432- end
433- end
434- end
435- end
436424 Cryptid .manipulate_table (card , card , " ability" , args )
437425 if card .base then
438426 Cryptid .manipulate_table (card , card , " base" , args )
@@ -470,6 +458,18 @@ function Cryptid.manipulate(card, args)
470458 end
471459 -- ew ew ew ew
472460 G .P_CENTERS [card .config .center .key ].config = config
461+ if not Cryptid .base_values [card .config .center .key ] then
462+ Cryptid .base_values [card .config .center .key ] = {}
463+ for i , v in pairs (card .ability ) do
464+ if (type (v ) == " table" and v .tetrate ) or type (v ) == " number" and to_big (v ) < to_big (0 ) then
465+ Cryptid .base_values [card .config .center .key ][i .. " ability" ] = v
466+ elseif type (v ) == " table" then
467+ for i2 , v2 in pairs (v ) do
468+ Cryptid .base_values [card .config .center .key ][i2 .. i ] = v2
469+ end
470+ end
471+ end
472+ end
473473 end
474474end
475475
0 commit comments