Skip to content

Commit c6a5505

Browse files
authored
i thought it was a bug but no
it's just coded like that for some reason???? what the fuck??????????? how do you even do it like that?????????????????????? how did nobody call this out????????????????????????????????????????????????????
1 parent 81af5ac commit c6a5505

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

items/tag.lua

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -235,23 +235,21 @@ local gambler = {
235235
if context.type == "new_blind_choice" then
236236
if pseudorandom("cry_gambler_tag") < G.GAME.probabilities.normal / tag.config.odds then
237237
local lock = tag.ID
238-
G.CONTROLLER.locks[lock] = true
239-
tag:yep("+", G.C.SECONDARY_SET.Spectral, function()
240-
local emp = Tag("tag_cry_empowered")
241-
if tag.ability.shiny then -- good fucking luck
238+
G.CONTROLLER.locks[lock] = true
239+
tag:yep('+', G.C.SECONDARY_SET.Spectral,function()
240+
local emp = Tag("tag_cry_empowered")
241+
if tag.ability.shiny then -- good fucking luck
242242
emp.ability.shiny = cry_rollshinybool()
243243
end
244244
add_tag(emp)
245-
emp:apply_to_run({ type = "new_blind_choice" })
246-
G.CONTROLLER.locks[lock] = nil
247-
return true
248-
end)
245+
emp:apply_to_run({type = 'new_blind_choice'})
246+
G.CONTROLLER.locks[lock] = nil
247+
return true
248+
end)
249249
else
250250
tag:nope()
251251
for i = 1, #G.GAME.tags do
252-
if G.GAME.tags[i]:apply_to_run({ type = "new_blind_choice" }) then
253-
break
254-
end
252+
if G.GAME.tags[i]:apply_to_run({type = 'new_blind_choice'}) then break end
255253
end
256254
end
257255
tag.triggered = true
@@ -285,13 +283,13 @@ local bundle = {
285283
local lock = tag.ID
286284
G.CONTROLLER.locks[lock] = true
287285
tag:yep("+", G.C.ATTENTION, function()
288-
local tags = { "standard", "charm", "meteor", "buffoon" }
286+
local tags = {'standard', 'charm', 'meteor', 'buffoon'}
289287
for i, v in ipairs(tags) do
290-
local _tag = Tag("tag_" .. v)
288+
local _tag = Tag("tag_"..v)
291289
_tag.ability.shiny = cry_rollshinybool()
292290
add_tag(_tag)
293291
if i == 1 then
294-
_tag:apply_to_run({ type = "new_blind_choice" })
292+
_tag:apply_to_run({type = 'new_blind_choice'})
295293
end
296294
end
297295
G.CONTROLLER.locks[lock] = nil
@@ -1073,7 +1071,7 @@ local booster = {
10731071
local lock = tag.ID
10741072
G.CONTROLLER.locks[lock] = true
10751073
tag:yep("+", G.C.BLUE, function()
1076-
G.GAME.boostertag = true
1074+
G.GAME.boostertag = (G.GAME.boostertag or 0) + 1
10771075
G.CONTROLLER.locks[lock] = nil
10781076
return true
10791077
end)

lovely/misprint.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,15 @@ if G.GAME.cry_oboe then
5555
self.ability.extra = self.ability.extra + G.GAME.cry_oboe
5656
G.GAME.pack_choices = G.GAME.pack_choices + G.GAME.cry_oboe
5757
G.GAME.cry_oboe = nil
58-
G.GAME.pack_size = self.ability.extra
5958
end
60-
if G.GAME.boostertag then
61-
self.ability.extra = self.ability.extra * 2
62-
G.GAME.pack_choices = G.GAME.pack_choices * 2
63-
G.GAME.boostertag = nil
64-
G.GAME.pack_size = self.ability.extra
59+
if G.GAME.boostertag and G.GAME.boostertag > 0 then
60+
self.ability.extra = self.ability.extra * (2^G.GAME.boostertag)
61+
G.GAME.pack_choices = G.GAME.pack_choices * (2^G.GAME.boostertag)
62+
G.GAME.boostertag = 0
6563
end
64+
self.ability.extra = math.min(self.ability.extra, 1000)
65+
G.GAME.pack_choices = math.min(G.GAME.pack_choices, 1000)
66+
G.GAME.pack_size = self.ability.extra
6667
'''
6768
match_indent = true
6869

0 commit comments

Comments
 (0)