Fix joker not triggering
This commit is contained in:
parent
82767f3c36
commit
6b145111a0
1 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ joker {
|
||||||
end,
|
end,
|
||||||
calculate = function(self, card, context)
|
calculate = function(self, card, context)
|
||||||
if context.forcetrigger then
|
if context.forcetrigger then
|
||||||
return self.level_up(card)
|
return self.proc(card)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
Bakery_use_joker = function(self, card)
|
Bakery_use_joker = function(self, card)
|
||||||
|
|
@ -214,7 +214,7 @@ joker {
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
self.level_up(card, destroyed)
|
self.proc(card, destroyed)
|
||||||
end,
|
end,
|
||||||
---@param card Card
|
---@param card Card
|
||||||
---@param times? integer
|
---@param times? integer
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue