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": [
|
"conflicts": [
|
||||||
"Jen"
|
"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
|
local is_jumbo = self.edition and self.edition.jane_jumbo
|
||||||
|
|
||||||
if is_jumbo then
|
if is_jumbo then
|
||||||
|
if Jane.cry then
|
||||||
jumbo.on_remove(self)
|
jumbo.on_remove(self)
|
||||||
|
else
|
||||||
|
Jane.resize(self)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local ret = orig_set_ability(self, ...)
|
local ret = orig_set_ability(self, ...)
|
||||||
|
|
||||||
if is_jumbo then
|
if is_jumbo then
|
||||||
|
if Jane.cry then
|
||||||
jumbo.on_apply(self)
|
jumbo.on_apply(self)
|
||||||
|
else
|
||||||
|
Jane.resize(self, Jane.config.wee_sizemod)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue