Allow tokens to appear if only its Tier 2 Voucher is obtained

This commit is contained in:
Emik 2026-06-21 21:11:34 +02:00
parent 2086d386d8
commit 12ae6ff798
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
3 changed files with 12 additions and 2 deletions

View file

@ -18,5 +18,5 @@
"conflicts": [
"Jen"
],
"version": "1.8.7"
"version": "1.8.8"
}

View file

@ -214,6 +214,14 @@ function Jane.q(func, delay, timer, trigger, blockable, blocking, no_delete)
}))
end
if false then
---@type { aliases: { [string]: string } }?
Cryptid = Cryptid
---@type fun(any): boolean
_G.is_number = _G.is_number
end
local orig_can_highlight = CardArea.can_highlight
function CardArea:can_highlight(...)

View file

@ -115,7 +115,9 @@ for _, v in pairs({
can_divide = true,
can_use = Jane.can_use,
in_pool = function(_, _)
return G.GAME.used_vouchers.v_jane_token_voucher or G.GAME.modifiers.Roland_alt_swapper_deck
return G.GAME.used_vouchers.v_jane_token_voucher or
G.GAME.used_vouchers.v_jane_token_voucher_plus or
G.GAME.modifiers.Roland_alt_swapper_deck
end,
use = function(_, _, _, _)
play_sound("jane_e_gilded", 1.25, 0.4)