Add 2-sticker as exception to debuffs in The Wee
This commit is contained in:
parent
a061166e36
commit
ff09fc2722
2 changed files with 3 additions and 3 deletions
|
|
@ -17,5 +17,5 @@
|
|||
"conflicts": [
|
||||
"Jen"
|
||||
],
|
||||
"version": "1.2.0"
|
||||
"version": "1.2.1"
|
||||
}
|
||||
|
|
@ -146,7 +146,7 @@ SMODS.Blind {
|
|||
dollars = 2,
|
||||
debuff_hand = function(_, cards, _, _, _)
|
||||
for _, v in ipairs(cards) do
|
||||
if v:norank() or v:get_id() ~= 2 then
|
||||
if (v:norank() or v:get_id() ~= 2) and (v.ability or {}).aikoyori_letters_stickers ~= "2" then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
|
@ -155,7 +155,7 @@ SMODS.Blind {
|
|||
return "Hand must contain only 2s"
|
||||
end,
|
||||
recalc_debuff = function(_, card, _)
|
||||
return card:norank() or card:get_id() ~= 2
|
||||
return (card:norank() or card:get_id() ~= 2) and (card.ability or {}).aikoyori_letters_stickers ~= "2"
|
||||
end,
|
||||
set_blind = function(self)
|
||||
if to_number(self.mult) == 0 then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue