We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cda779 commit 488bd9fCopy full SHA for 488bd9f
items/spectral.lua
@@ -33,7 +33,8 @@ local lock = {
33
use = function(self, card, area, copier)
34
local used_consumable = copier or card
35
check_for_unlock({ cry_used_consumable = "c_cry_lock" })
36
- local target = #G.jokers.cards == 1 and G.jokers.cards[1] or G.jokers.cards[math.random(#G.jokers.cards)]
+ local target = #G.jokers.cards == 1 and G.jokers.cards[1]
37
+ or pseudorandom_element(G.jokers.cards, pseudoseed("Dudeman"))
38
G.E_MANAGER:add_event(Event({
39
trigger = "after",
40
delay = 0.4,
0 commit comments