Nerf Jumbo playing cards on non-Cryptid
This commit is contained in:
parent
6f7aac1234
commit
0b5560d019
2 changed files with 11 additions and 3 deletions
|
|
@ -18,5 +18,5 @@
|
|||
"conflicts": [
|
||||
"Jen"
|
||||
],
|
||||
"version": "1.10.6"
|
||||
"version": "1.10.7"
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue