Skip to content

Commit ba9159d

Browse files
committed
remove more seed related stuff
1 parent bf9d5c8 commit ba9159d

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

lib/calculate.lua

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -563,13 +563,9 @@ function Card:calculate_joker(context)
563563
if not active_side or active_side.will_shatter then
564564
return
565565
end
566-
local ggpn = G.GAME.probabilities.normal
567566
if not G.GAME.cry_double_scale then
568567
G.GAME.cry_double_scale = { double_scale = true } --doesn't really matter what's in here as long as there's something
569568
end
570-
if active_side.ability.cry_rigged then
571-
G.GAME.probabilities.normal = 1e9
572-
end
573569
local orig_ability = copy_table(active_side.ability)
574570
local in_context_scaling = false
575571
local callback = context.callback
@@ -647,9 +643,6 @@ function Card:calculate_joker(context)
647643
in_context_scaling = true
648644
end
649645
end
650-
if active_side.ability.cry_rigged then
651-
G.GAME.probabilities.normal = ggpn
652-
end
653646
if next(find_joker("cry-Scalae")) or next(find_joker("cry-Double Scale")) then
654647
active_side:cry_double_scale_calc(orig_ability, in_context_scaling)
655648
end
@@ -693,10 +686,6 @@ function Cryptid.apply_scale_mod(jkr, orig_scale_scale, orig_scale_base, new_sca
693686
for i = 1, #G.jokers.cards do
694687
local obj = G.jokers.cards[i].config.center
695688
if obj.cry_scale_mod and type(obj.cry_scale_mod) == "function" then
696-
local ggpn = G.GAME.probabilities.normal
697-
if G.jokers.cards[i].ability.cry_rigged then
698-
G.GAME.probabilities.normal = 1e9
699-
end
700689
local o = obj:cry_scale_mod(
701690
G.jokers.cards[i],
702691
jkr,
@@ -705,9 +694,6 @@ function Cryptid.apply_scale_mod(jkr, orig_scale_scale, orig_scale_base, new_sca
705694
orig_scale_base,
706695
new_scale_base
707696
)
708-
if G.jokers.cards[i].ability.cry_rigged then
709-
G.GAME.probabilities.normal = ggpn
710-
end
711697
if o then
712698
if #dbl_info.scaler[info_i] == 2 then
713699
if
@@ -737,15 +723,8 @@ function Cryptid.apply_scale_mod(jkr, orig_scale_scale, orig_scale_base, new_sca
737723

738724
local reps = {}
739725
for j = 1, #G.jokers.cards do
740-
local ggpn = G.GAME.probabilities.normal
741-
if G.jokers.cards[j].ability.cry_rigged then
742-
G.GAME.probabilities.normal = 1e9
743-
end
744726
local check =
745727
cj(G.jokers.cards[j], { retrigger_joker_check = true, other_card = G.jokers.cards[i] })
746-
if G.jokers.cards[j].ability.cry_rigged then
747-
G.GAME.probabilities.normal = ggpn
748-
end
749728
if type(check) == "table" then
750729
reps[j] = check and check.repetitions and check or 0
751730
else
@@ -768,10 +747,6 @@ function Cryptid.apply_scale_mod(jkr, orig_scale_scale, orig_scale_base, new_sca
768747
if (type(rep) == "table") and rep.repetitions and (rep.repetitions > 0) then
769748
for r = 1, rep.repetitions do
770749
card_eval_status_text(rep.card, "jokers", nil, nil, nil, rep)
771-
local ggpn = G.GAME.probabilities.normal
772-
if G.jokers.cards[i].ability.cry_rigged then
773-
G.GAME.probabilities.normal = 1e9
774-
end
775750
local o = obj:cry_scale_mod(
776751
G.jokers.cards[i],
777752
jkr,
@@ -780,10 +755,6 @@ function Cryptid.apply_scale_mod(jkr, orig_scale_scale, orig_scale_base, new_sca
780755
orig_scale_base,
781756
new_scale_base
782757
)
783-
if G.jokers.cards[i].ability.cry_rigged then
784-
G.GAME.probabilities.normal = ggpn
785-
end
786-
787758
if o then
788759
if #dbl_info.scaler[info_i] == 2 then
789760
if

0 commit comments

Comments
 (0)