diff --git a/manifest.json b/manifest.json index 4892a99..f7beb4a 100644 --- a/manifest.json +++ b/manifest.json @@ -16,5 +16,5 @@ "Bakery (>=3.0.0~*)" ], "conflicts": [], - "version": "1.12.11" + "version": "1.12.12" } \ No newline at end of file diff --git a/src/back.lua b/src/back.lua index af85369..cc4e402 100644 --- a/src/back.lua +++ b/src/back.lua @@ -736,11 +736,11 @@ back { end end, apply = function(_) - for _, v in pairs({ - "tag_charm", + for _, v in ipairs({ + "j_Bakery_Lua", + not Jane.cry and "tag_charm" or nil, "tag_meteor", "tag_ethereal", - "j_Bakery_Lua", "c_jane_token_tag_charm", "c_jane_token_tag_meteor", "c_jane_token_tag_ethereal", diff --git a/src/omega.lua b/src/omega.lua index 0d54128..d04e9d7 100644 --- a/src/omega.lua +++ b/src/omega.lua @@ -1282,15 +1282,15 @@ function create_card(...) if not G.GAME.banned_keys[key] and card:gc().key:sub(2) == key:sub(#"c_jane_", #key - #"_omega") and pseudorandom("omega_replacement") < G.GAME.modifiers.omega_replacement then - local copy = G.GAME.modifiers.omegas_found - G.GAME.modifiers.omegas_found = (G.GAME.modifiers.omegas_found or 0) + 1 + local copy = G.GAME.modifiers.omegas_found or 0 + G.GAME.modifiers.omegas_found = copy + 1 Jane.q(function() card:set_ability(G.P_CENTERS[key]) card:juice_up(1.5, 1.5) card:set_cost() - if not copy or copy <= 0 then + if copy <= 0 then local pitch = math.pow(2 ^ (1 / 6), G.GAME.modifiers.omegas_found - 1) if not G.GAME.obsidian then