@@ -1757,9 +1757,9 @@ local gardenfork = {
17571757 calculate = function (self , card , context )
17581758 if context .cardarea == G .jokers and context .before and not context .blueprint then
17591759 for i = 1 , # context .full_hand do
1760- if SMODS . Ranks [ context .full_hand [ i ]. base . value ]. key == " Ace " then
1760+ if context .other_card : get_id () == 14 then
17611761 for j = 1 , # context .full_hand do
1762- if SMODS . Ranks [ context .full_hand [ j ]. base . value ]. key == " 7 " then
1762+ if context .other_card : get_id () == 7 then -- :( ekshpenshive
17631763 ease_dollars (card .ability .extra .money )
17641764 return { message = " $" .. card .ability .extra .money , colour = G .C .MONEY }
17651765 end
@@ -1801,8 +1801,8 @@ local lightupthenight = {
18011801 end ,
18021802 calculate = function (self , card , context )
18031803 if context .cardarea == G .play and context .individual then
1804- local rank = SMODS . Ranks [ context .other_card . base . value ]. key
1805- if rank == " 2 " or rank == " 7 " then
1804+ local rank = context .other_card : get_id ()
1805+ if rank == 2 or rank == 7 then
18061806 return {
18071807 x_mult = card .ability .extra .xmult ,
18081808 colour = G .C .RED ,
@@ -1845,8 +1845,7 @@ local nosound = {
18451845 calculate = function (self , card , context )
18461846 if context .repetition then
18471847 if context .cardarea == G .play then
1848- local rank = SMODS .Ranks [context .other_card .base .value ].key
1849- if rank == " 7" then
1848+ if context .other_card :get_id () == 7 then
18501849 return {
18511850 message = localize (" k_again_ex" ),
18521851 repetitions = card .ability .extra .retriggers ,
@@ -1901,8 +1900,8 @@ local antennastoheaven = {
19011900 }
19021901 end
19031902 if context .cardarea == G .play and context .individual and not context .blueprint then
1904- local rank = SMODS . Ranks [ context .other_card . base . value ]. key
1905- if rank == " 4 " or rank == " 7 " then
1903+ local rank = context .other_card : get_id ()
1904+ if rank == 4 or rank == 7 then
19061905 card .ability .extra .x_chips = card .ability .extra .x_chips + card .ability .extra .bonus
19071906 return {
19081907 extra = { focus = card , message = localize (" k_upgrade_ex" ) },
@@ -1990,8 +1989,7 @@ local weegaming = {
19901989 calculate = function (self , card , context )
19911990 if context .repetition then
19921991 if context .cardarea == G .play then
1993- local rank = SMODS .Ranks [context .other_card .base .value ].key
1994- if rank == " 2" then
1992+ if context .other_card :get_id () == 2 then
19951993 return {
19961994 message = localize (" k_again_ex" ),
19971995 repetitions = card .ability .extra .retriggers ,
@@ -5907,6 +5905,7 @@ local oldblueprint = {
59075905 end
59085906 end
59095907 if other_joker and other_joker ~= card then
5908+
59105909 context .blueprint = (context .blueprint and (context .blueprint + 1 )) or 1
59115910 context .blueprint_card = context .blueprint_card or card
59125911
@@ -5915,12 +5914,20 @@ local oldblueprint = {
59155914 end
59165915
59175916 local other_joker_ret , trig = other_joker :calculate_joker (context )
5917+ local eff_card = context .blueprint_card or card
5918+
5919+ context .blueprint = nil
5920+ context .blueprint_card = nil
5921+
5922+ if other_joker_ret == true then
5923+ return other_joker_ret
5924+ end
59185925 if other_joker_ret or trig then
59195926 if not other_joker_ret then
59205927 other_joker_ret = {}
59215928 end
5922- other_joker_ret .card = context . blueprint_card or card
5923- other_joker_ret .colour = G .C .BLUE
5929+ other_joker_ret .card = eff_card
5930+ other_joker_ret .colour = darken ( G .C .BLUE , 0.3 )
59245931 other_joker_ret .no_callback = true
59255932 return other_joker_ret
59265933 end
0 commit comments