File tree Expand file tree Collapse file tree 3 files changed +0
-38
lines changed
Expand file tree Collapse file tree 3 files changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -739,18 +739,6 @@ local cube = {
739739 " Math" ,
740740 },
741741 },
742- init = function (self )
743- local sc = Card .set_cost
744- function Card :set_cost ()
745- sc (self )
746- if self .ability .name == " cry-Cube" then
747- self .cost = - 27
748- end
749- if self .ability .name == " cry-Big Cube" then
750- self .cost = 27
751- end
752- end
753- end ,
754742}
755743local triplet_rhythm = {
756744 object_type = " Joker" ,
Original file line number Diff line number Diff line change @@ -1725,14 +1725,6 @@ return {
17251725 name = " Spooky" ,
17261726 init = function ()
17271727 -- Cursed rarity patches
1728- local sc = Card .set_cost
1729- function Card :set_cost ()
1730- sc (self )
1731- if self .config and self .config .center and self .config .center .rarity == " cry_cursed" then
1732- self .sell_cost = 0
1733- self .sell_cost_label = 0
1734- end
1735- end
17361728 -- Really hacky patch to remove sell button for cursed jokers
17371729 local G_UIDEF_use_and_sell_buttons_ref = G .UIDEF .use_and_sell_buttons
17381730 function G .UIDEF .use_and_sell_buttons (card )
Original file line number Diff line number Diff line change @@ -526,24 +526,6 @@ return {
526526 SMODS .calculate_context ({ remove_playing_cards = true , removed = destroyed_cards })
527527 end ,
528528 }, true )
529-
530- local sc = Card .set_cost
531- function Card :set_cost ()
532- sc (self )
533- if self .ability .set == " Voucher" and G .GAME .modifiers .cry_voucher_price_hike then
534- self .cost = math.floor (self .cost * G .GAME .modifiers .cry_voucher_price_hike )
535- -- Update related costs
536- self .sell_cost = math.max (1 , math.floor (self .cost / 2 )) + (self .ability .extra_value or 0 )
537- if
538- self .area
539- and self .ability .couponed
540- and (self .area == G .shop_jokers or self .area == G .shop_booster )
541- then
542- self .cost = 0
543- end
544- self .sell_cost_label = self .facing == " back" and " ?" or self .sell_cost
545- end
546- end
547529 for _ , v in pairs (self .items ) do
548530 if v .object_type == " Stake" then
549531 v .sticker_pos = v .pos
You can’t perform that action at this time.
0 commit comments