From 0b5560d019b36e06d400b860de1c4efd189e9eff Mon Sep 17 00:00:00 2001 From: Emik Date: Wed, 24 Jun 2026 00:38:40 +0200 Subject: [PATCH] Nerf Jumbo playing cards on non-Cryptid --- manifest.json | 2 +- src/edition.lua | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 1373ddf..db077ef 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "conflicts": [ "Jen" ], - "version": "1.10.6" + "version": "1.10.7" } \ No newline at end of file diff --git a/src/edition.lua b/src/edition.lua index b3c1dcd..17dda1f 100644 --- a/src/edition.lua +++ b/src/edition.lua @@ -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