Skip to content

Commit 9caffbf

Browse files
committed
Addresses #1034, timing for Wee Joker should be fixed, any jokers that would retrigger prior to SMODS.scale_card being implemented should now retrigger again
1 parent a48c77d commit 9caffbf

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

lovely/scaling.toml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ SMODS.scale_card(self, {
111111
scalar_value = "extra",
112112
message_colour = G.C.RED
113113
})
114+
return nil, true
114115
'''
115116
# Ride The Bus
116117
[[patches]]
@@ -159,6 +160,7 @@ SMODS.scale_card(self, {
159160
}
160161
})
161162
self:set_cost()
163+
return nil, true
162164
'''
163165

164166
# Runner/Square Joker/Castle
@@ -181,6 +183,7 @@ SMODS.scale_card(self, {
181183
ref_value = "chips",
182184
scalar_value = "chip_mod",
183185
})
186+
return nil, true
184187
'''
185188

186189
# Wee Joker
@@ -203,11 +206,12 @@ SMODS.scale_card(self, {
203206
ref_table = self.ability.extra,
204207
ref_value = "chips",
205208
scalar_value = "chip_mod",
206-
scaling_message = {
207-
extra = {focus = self, message = localize('k_upgrade_ex')},
208-
colour = G.C.CHIPS
209-
}
209+
no_message = true
210210
})
211+
return {
212+
extra = {focus = self, message = localize('k_upgrade_ex')},
213+
card = self
214+
}
211215
'''
212216

213217
# Ice Cream
@@ -231,6 +235,7 @@ SMODS.scale_card(self, {
231235
operation = "-",
232236
message_key = 'a_chips_minus'
233237
})
238+
return nil, true
234239
'''
235240

236241
# Madness
@@ -309,7 +314,6 @@ SMODS.scale_card(self, {
309314
scalar_value = "extra",
310315
message_colour = G.C.FILTER
311316
})
312-
return nil, true
313317
'''
314318
# Lucky Cat
315319
[[patches]]
@@ -381,6 +385,7 @@ SMODS.scale_card(self, {
381385
message_key = 'a_xmult',
382386
message_colour = G.C.RED
383387
})
388+
return nil, true
384389
'''
385390

386391
# Green Joker: Subtraction
@@ -412,6 +417,7 @@ if self.ability.mult ~= 0 then
412417
message_key = 'a_mult_minus',
413418
message_colour = G.C.RED
414419
})
420+
return nil, true
415421
end
416422
'''
417423

@@ -435,6 +441,7 @@ SMODS.scale_card(self, {
435441
scalar_table = self.ability.extra,
436442
scalar_value = "hand_add"
437443
})
444+
return nil, true
438445
'''
439446

440447
# Vampire
@@ -462,6 +469,7 @@ SMODS.scale_card(self, {
462469
ref_table[ref_value] = initial + scaling*#enhanced
463470
end
464471
})
472+
return nil, true
465473
'''
466474

467475
# Hologram
@@ -506,6 +514,7 @@ SMODS.scale_card(self, {
506514
scalar_value = "increase",
507515
message_colour = G.C.MONEY
508516
})
517+
return nil, true
509518
'''
510519

511520
# Turtle Bean
@@ -533,6 +542,7 @@ SMODS.scale_card(self, {
533542
G.hand:change_size(- change)
534543
end
535544
})
545+
return nil, true
536546
'''
537547

538548
# Popcorn
@@ -557,6 +567,7 @@ SMODS.scale_card(self, {
557567
colour = G.C.MULT,
558568
operation = '-'
559569
})
570+
return nil, true
560571
'''
561572

562573
# Ramen
@@ -583,6 +594,7 @@ SMODS.scale_card(self, {
583594
message_key = 'a_xmult_minus',
584595
colour = G.C.RED
585596
})
597+
return nil, true
586598
'''
587599

588600
# Yorick
@@ -609,6 +621,7 @@ SMODS.scale_card(self, {
609621
message_key = 'a_xmult',
610622
message_colour = G.C.RED
611623
})
624+
return nil, true
612625
'''
613626

614627
# Canio

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1028g-STEAMODDED"
1+
return "1.0.0~BETA-1028h-STEAMODDED"

0 commit comments

Comments
 (0)