Skip to content

Commit 4678852

Browse files
committed
modification stuff
1 parent ef20a3f commit 4678852

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

items/misc.lua

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ local azure_seal = {
393393
name = "cry-Azure-Seal",
394394
key = "azure",
395395
badge_colour = HEX("1d4fd7"),
396-
config = { planets_amount = 3 },
396+
config = { planets_amount = 2 },
397397
loc_vars = function(self, info_queue)
398398
return { vars = { self.config.planets_amount } }
399399
end,
@@ -741,7 +741,7 @@ local mosaic = {
741741
shader = "mosaic",
742742
in_shop = true,
743743
extra_cost = 5,
744-
config = { x_chips = 2.5, trigger = nil },
744+
config = { x_chips = 2, trigger = nil },
745745
sound = {
746746
sound = "cry_e_mosaic",
747747
per = 1,
@@ -937,15 +937,15 @@ local glitched = {
937937
on_apply = function(card)
938938
if not card.ability.cry_glitched then
939939
Cryptid.manipulate(card, {
940-
min = 0.1,
941-
max = 10,
940+
min = 0.25,
941+
max = 4,
942942
})
943943

944944
if card.config.center.apply_glitched then
945945
card.config.center:apply_glitched(card, function(val)
946946
return Cryptid.manipulate_value(val, {
947-
min = 0.1 * (G.GAME.modifiers.cry_misprint_min or 1),
948-
max = 10 * (G.GAME.modifiers.cry_misprint_max or 1),
947+
min = 0.25 * (G.GAME.modifiers.cry_misprint_min or 1),
948+
max = 4 * (G.GAME.modifiers.cry_misprint_max or 1),
949949
type = "X",
950950
}, Cryptid.is_card_big(card))
951951
end)
@@ -1280,8 +1280,8 @@ local noisy_stats = {
12801280
chips = 0,
12811281
},
12821282
max = {
1283-
mult = 30,
1284-
chips = 150,
1283+
mult = 8,
1284+
chips = 64,
12851285
},
12861286
}
12871287
local noisy = {
@@ -1823,12 +1823,12 @@ local glass_edition = {
18231823
},
18241824
weight = 7,
18251825
extra_cost = 2,
1826-
config = { x_mult = 3, shatter_chance = 8, trigger = nil },
1826+
config = { x_mult = 3, odds = 8, trigger = nil },
18271827
loc_vars = function(self, info_queue, card)
18281828
return {
18291829
vars = {
1830-
((card and card.edition and card.edition.shatter_chance or self.config.shatter_chance) - 1),
1831-
(card and card.edition and card.edition.shatter_chance or self.config.shatter_chance),
1830+
cry_prob(card.ability.cry_prob, card.ability.extra.odds, card.ability.cry_rigged),
1831+
card.ability.extra.odds,
18321832
card and card.edition and card.edition.x_mult or self.config.x_mult,
18331833
},
18341834
}
@@ -1845,10 +1845,8 @@ local glass_edition = {
18451845
then
18461846
if
18471847
not card.ability.eternal
1848-
and not (
1849-
pseudorandom(pseudoseed("cry_fragile"))
1850-
> ((self.config.shatter_chance - 1) / self.config.shatter_chance)
1851-
)
1848+
and pseudorandom("cry_fragile_destroy")
1849+
< cry_prob(card.ability.cry_prob, card.ability.extra.odds, card.ability.cry_rigged) / card.ability.extra.odds
18521850
then
18531851
-- this event call might need to be pushed later to make more sense
18541852
G.E_MANAGER:add_event(Event({
@@ -1875,10 +1873,8 @@ local glass_edition = {
18751873
if context.main_scoring and context.cardarea == G.play then
18761874
if
18771875
not card.ability.eternal
1878-
and (
1879-
pseudorandom(pseudoseed("cry_fragile"))
1880-
> ((self.config.shatter_chance - 1) / self.config.shatter_chance)
1881-
)
1876+
and pseudorandom("cry_fragile_destroy")
1877+
< cry_prob(card.ability.cry_prob, card.ability.extra.odds, card.ability.cry_rigged) / card.ability.extra.odds
18821878
then
18831879
card.config.will_shatter = true
18841880
end
@@ -1952,7 +1948,7 @@ local gold_edition = {
19521948
weight = 7,
19531949
extra_cost = 4,
19541950
in_shop = true,
1955-
config = { dollars = 2, active = true },
1951+
config = { dollars = 1, active = true },
19561952
loc_vars = function(self, info_queue, card)
19571953
return { vars = { card and card.edition and card.edition.dollars or self.config.dollars } }
19581954
end,

0 commit comments

Comments
 (0)