Skip to content

Commit 449820a

Browse files
committed
scalae&double scale more in line with originals
1 parent d5a2972 commit 449820a

File tree

3 files changed

+37
-17
lines changed

3 files changed

+37
-17
lines changed

items/epic.lua

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,13 @@ local double_scale = {
10501050
immutable = true,
10511051
atlas = "atlasepic",
10521052
calc_scaling = function(self, card, other, current_scaling, current_scalar, args)
1053+
if to_big(times_current) >= to_big(times_needed) then
1054+
times_current = times_current - times_needed
1055+
else
1056+
return {
1057+
message = number_format(times_current).."/"..number_format(times_needed)
1058+
}
1059+
end
10531060
if not G.GAME.cryptid_base_scales then
10541061
G.GAME.cryptid_base_scales = {}
10551062
end
@@ -1084,6 +1091,18 @@ local double_scale = {
10841091
"Mathguy",
10851092
},
10861093
},
1094+
config = {
1095+
times_needed = 4
1096+
times_current = 0
1097+
},
1098+
loc_vars = function(sef, queue, card)
1099+
return {
1100+
vars = {
1101+
card.ability.times_needed,
1102+
card.ability.times_current
1103+
}
1104+
}
1105+
end
10871106
}
10881107

10891108
-- Nostalgic Candy

items/exotic.lua

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ local scalae = {
882882
demicoloncompat = true,
883883
calculate = function(self, card, context)
884884
if
885-
(context.end_of_round and not context.individual and not context.repetition and not context.blueprint)
885+
(context.end_of_round and not context.individual and not context.repetition and not context.blueprint and G.GAME.blind_on_deck == "Boss")
886886
or context.forcetrigger
887887
then
888888
card.ability.extra.scale = lenient_bignum(to_big(card.ability.extra.scale) + card.ability.extra.scale_mod)
@@ -934,10 +934,17 @@ local scalae = {
934934
end
935935
end,
936936
loc_vars = function(self, info_queue, card)
937+
local example = { 2, 3, 4 }
938+
for i = 1, #example do
939+
example[i] = to_big(example[i]) ^ (card.ability.extra.scale + 1)
940+
end
937941
return {
938942
vars = {
939-
number_format(card.ability.extra.scale),
943+
number_format(card.ability.extra.scale + 1),
940944
number_format(card.ability.extra.scale_mod),
945+
example[1],
946+
example[2],
947+
example[3],
941948
},
942949
}
943950
end,

localization/en-us.lua

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,21 +1553,14 @@ return {
15531553
"for each {C:attention}Jolly Joker{}",
15541554
},
15551555
},
1556-
-- ["j_cry_Double Scale"] = { -- ?????????????
1557-
-- name = "Double Scale",
1558-
-- text = {
1559-
-- "Scaling {C:attention}Jokers{}",
1560-
-- "scale {C:attention}quadratically",
1561-
-- "{C:inactive,s:0.8}(ex. +1, +3, +6, +10)",
1562-
-- "{C:inactive,s:0.8}(grows by +1, +2, +3)",
1563-
-- },
1564-
-- },
1565-
["j_cry_Double Scale"] = {
1556+
["j_cry_Double Scale"] = { -- ?????????????
15661557
name = "Double Scale",
15671558
text = {
15681559
"Scaling {C:attention}Jokers{}",
1569-
"scale {C:attention}twice{} as fast",
1570-
'{C:inactive,s:0.8}"It\'s called double scale, not quadratic scale!"',
1560+
"scale {C:attention}quadratically",
1561+
"every {C:attention}#1#{} {C:inactive}[#2#]{} Scales"
1562+
"{C:inactive,s:0.8}(ex. +1, +3, +6, +10)",
1563+
"{C:inactive,s:0.8}(grows by +1, +2, +3)",
15711564
},
15721565
},
15731566
j_cry_dropshot = {
@@ -2590,10 +2583,11 @@ return {
25902583
name = "Scalae",
25912584
text = {
25922585
"Scaling {C:attention}Jokers{} scale",
2593-
"{X:dark_edition,C:white}X#1#{} as fast",
2594-
"increase multiplier by {C:attention}#2#{}",
2595-
"at end of round",
2586+
"as a degree-{C:attention}#1#{} polynomial",
2587+
"raise degree by {C:attention}#2#{}",
2588+
"when a Boss Blind is defeated",
25962589
"{C:inactive,s:0.8}({C:attention,s:0.8}Scalae{C:inactive,s:0.8} excluded)",
2590+
"{C:inactive,s:0.8}(ex. +1, +#3#, +#4#, +#5#)",
25972591
},
25982592
},
25992593
j_cry_scrabble = {

0 commit comments

Comments
 (0)