Skip to content

Commit c8ca052

Browse files
committed
endurance bulk use
1 parent 5cc5d6d commit c8ca052

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

items/inversions/reverse_tarots.lua

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,19 @@ local endurance = {
639639

640640
end
641641
end,
642+
bulk_use = function(self,card2,area,copier,amt)
643+
local cards = Entropy.GetHighlightedCards({G.hand, G.jokers, G.consumeables}, card)
644+
for i, card in pairs(cards) do
645+
card.ability.banana = true
646+
if not Card.no(card, "immutable", true) then
647+
Cryptid.with_deck_effects(card, function(card3)
648+
Cryptid.manipulate(card3, { value=card2.ability.factor^to_big(amt) })
649+
end)
650+
end
651+
card:juice_up()
652+
653+
end
654+
end,
642655
can_use = function(self, card)
643656
local num = #Entropy.GetHighlightedCards({G.hand, G.jokers, G.consumeables}, card)
644657
return num > 0 and num <= card.ability.select

lovely/core.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ local bigzero = to_big(0)
11911191
if not G.GAME.blind or to_big(G.GAME.blind.chips or 0) <= bigzero then
11921192
G.ARGS.score_intensity.earned_score = 0
11931193
else
1194-
G.ARGS.score_intensity.earned_score = to_number(math.max(Entropy.get_chipmult_score(G.GAME.current_round.current_hand.chips, G.GAME.current_round.current_hand.mult), 100))
1194+
G.ARGS.score_intensity.earned_score = to_number(math.min(Entropy.get_chipmult_score(G.GAME.current_round.current_hand.chips, G.GAME.current_round.current_hand.mult), 1e300))
11951195
end
11961196
bigzero = nil
11971197
'''

0 commit comments

Comments
 (0)