Skip to content

Commit 0783ec1

Browse files
This is already in lib/overrides
1 parent be5126a commit 0783ec1

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

items/misc_joker.lua

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -81,36 +81,6 @@ local dropshot = {
8181
"Math",
8282
},
8383
},
84-
init = function(self)
85-
local gigo = Game.init_game_object
86-
function Game:init_game_object()
87-
local g = gigo(self)
88-
g.current_round.cry_dropshot_card = { suit = "Spades" }
89-
return g
90-
end
91-
local rcc = reset_castle_card
92-
function reset_castle_card()
93-
rcc()
94-
if not G.GAME.current_round.cry_dropshot_card then
95-
G.GAME.current_round.cry_dropshot_card = {}
96-
end
97-
G.GAME.current_round.cry_dropshot_card.suit = "Spades"
98-
local valid_castle_cards = {}
99-
for k, v in ipairs(G.playing_cards) do
100-
if v.ability.effect ~= "Stone Card" then
101-
valid_castle_cards[#valid_castle_cards + 1] = v
102-
end
103-
end
104-
if valid_castle_cards[1] then
105-
local castle_card =
106-
pseudorandom_element(valid_castle_cards, pseudoseed("cry_dro" .. G.GAME.round_resets.ante))
107-
if not G.GAME.current_round.cry_dropshot_card then
108-
G.GAME.current_round.cry_dropshot_card = {}
109-
end
110-
G.GAME.current_round.cry_dropshot_card.suit = castle_card.base.suit
111-
end
112-
end
113-
end,
11484
}
11585
local happyhouse = {
11686
object_type = "Joker",

0 commit comments

Comments
 (0)