Always allow Crimson Bean

This commit is contained in:
Emik 2026-07-15 17:40:48 +02:00
parent c199c236ab
commit 5437bdfe8f
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
3 changed files with 5 additions and 10 deletions

View file

@ -3,7 +3,7 @@
"id": "Roland", "id": "Roland",
"name": "Roland", "name": "Roland",
"prefix": "Roland", "prefix": "Roland",
"version": "2.9.59", "version": "2.9.60",
"badge_colour": "8BE9FD", "badge_colour": "8BE9FD",
"display_name": "Roland", "display_name": "Roland",
"main_file": "src/main.lua", "main_file": "src/main.lua",

View file

@ -720,12 +720,8 @@ joker {
end, end,
crimson = function() crimson = function()
local _ = G.jokers and f(G.jokers.cards, ipairs_reversed):where(is_frozen, false):each(function(v) local _ = G.jokers and f(G.jokers.cards, ipairs_reversed):where(is_frozen, false):each(function(v)
local right = G.jokers.cards[v.rank + 1] local r = G.jokers.cards[v.rank + 1]
local debuffed_by_crimson = r and not r.debuff and r.config.center.key == "j_Roland_crimson"
local debuffed_by_crimson = right and
not right.debuff and
right.config.center.key == "j_Roland_crimson" and
not ({j_mp_turtle_bean = true, j_turtle_bean = true})[v.config.center.key]
if debuffed_by_crimson and v.ability.Roland_crimson == nil then if debuffed_by_crimson and v.ability.Roland_crimson == nil then
local debuff = not not v.debuff local debuff = not not v.debuff

View file

@ -1,5 +1,7 @@
local qol = assert(SMODS.load_file "src/lib/shared.lua")() or require "lib.shared" local qol = assert(SMODS.load_file "src/lib/shared.lua")() or require "lib.shared"
local f, q = qol[1], qol[2] local f, q = qol[1], qol[2]
SMODS.current_mod.qol = qol
local animated = SMODS.Mods.Roland.config.animated_icon
q { q {
front = true, front = true,
@ -53,9 +55,6 @@ local function toggle(id)
}) })
end end
SMODS.current_mod.qol = qol
local animated = SMODS.Mods.Roland.config.animated_icon
SMODS.Atlas { SMODS.Atlas {
px = 256, px = 256,
py = 256, py = 256,