Nerf Jumbo playing cards on non-Cryptid

This commit is contained in:
Emik 2026-06-24 00:38:40 +02:00
parent 6f7aac1234
commit 0b5560d019
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 11 additions and 3 deletions

View file

@ -18,5 +18,5 @@
"conflicts": [
"Jen"
],
"version": "1.10.6"
"version": "1.10.7"
}

View file

@ -171,13 +171,21 @@ function Card:set_ability(...)
local is_jumbo = self.edition and self.edition.jane_jumbo
if is_jumbo then
jumbo.on_remove(self)
if Jane.cry then
jumbo.on_remove(self)
else
Jane.resize(self)
end
end
local ret = orig_set_ability(self, ...)
if is_jumbo then
jumbo.on_apply(self)
if Jane.cry then
jumbo.on_apply(self)
else
Jane.resize(self, Jane.config.wee_sizemod)
end
end
return ret