Skip to content

Commit 18a65c9

Browse files
committed
pre-emptive starfruit fix
1 parent ecb78d3 commit 18a65c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

items/epic.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2477,13 +2477,13 @@ local starfruit = {
24772477
calculate = function(self, card, context)
24782478
if context.joker_main then
24792479
return {
2480-
e_mult = card.ability.emult,
2480+
e_chipsmult = card.ability.emult,
24812481
}
24822482
end
24832483
if context.reroll_shop then
24842484
card.ability.emult = card.ability.emult - card.ability.emult_mod
24852485
--floating point precision can kiss my ass istg
2486-
if card.ability.emult <= 1.00000001 then
2486+
if to_number(card.ability.emult) <= 1.00000001 then
24872487
G.E_MANAGER:add_event(Event({
24882488
func = function()
24892489
play_sound("tarot1")

0 commit comments

Comments
 (0)