@@ -1073,7 +1073,7 @@ local glass_edition = {
10731073 end
10741074
10751075 if
1076- context .cardarea == G .jokers and context .post_trigger -- animation-wise this looks weird sometimes
1076+ context .cardarea == G .jokers and context .post_trigger and context . other_card == card -- animation-wise this looks weird sometimes
10771077 then
10781078 if
10791079 not card .ability .eternal
@@ -1173,7 +1173,7 @@ local gold_edition = {
11731173 weight = 7 ,
11741174 extra_cost = 4 ,
11751175 in_shop = true ,
1176- config = { dollars = 2 },
1176+ config = { dollars = 2 , active = true },
11771177 loc_vars = function (self , info_queue )
11781178 return { vars = { self .config .dollars } }
11791179 end ,
@@ -1187,8 +1187,20 @@ local gold_edition = {
11871187 card .edition .cry_gold_seed = pseudorandom (" e_cry_gold" ) * 2 - 1
11881188 end ,
11891189 calculate = function (self , card , context )
1190- if context .post_trigger or (context .using_consumeable and context .consumeable == card ) then
1191- SMODS .calculate_effect ({ dollars = self .config .dollars }, card , true )
1190+ if
1191+ (
1192+ context .post_trigger -- for when on jonklers
1193+ and context .other_card == card
1194+ ) or (
1195+ context .main_scoring -- for when on playing cards
1196+ and context .cardarea == G .play
1197+ ) or (
1198+ context .using_consumeable -- for when using a consumable
1199+ and context .consumeable == card
1200+ )
1201+ then
1202+ print (context )
1203+ return { p_dollars = self .config .dollars } -- updated value
11921204 end
11931205 end ,
11941206}
0 commit comments