Ban arcana packs in Sweet Pastries
This commit is contained in:
parent
7092dd8c03
commit
4ce2405288
1 changed files with 12 additions and 1 deletions
|
|
@ -15,8 +15,19 @@ local function is_banned_from_pastry(v)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function is_center_banned_from_pastry(v)
|
local function is_center_banned_from_pastry(v)
|
||||||
|
local arcana_boosters = {
|
||||||
|
p_arcana_normal_1 = true,
|
||||||
|
p_arcana_normal_2 = true,
|
||||||
|
p_arcana_normal_3 = true,
|
||||||
|
p_arcana_normal_4 = true,
|
||||||
|
p_arcana_jumbo_1 = true,
|
||||||
|
p_arcana_jumbo_2 = true,
|
||||||
|
p_arcana_mega_1 = true,
|
||||||
|
p_arcana_mega_2 = true,
|
||||||
|
}
|
||||||
|
|
||||||
local pastries_targets = {Enhanced = true, Joker = true, Tarot = true, Spectral = true}
|
local pastries_targets = {Enhanced = true, Joker = true, Tarot = true, Spectral = true}
|
||||||
return pastries_targets[v.set] and is_banned_from_pastry(v)
|
return arcana_boosters[v.key] or pastries_targets[v.set] and is_banned_from_pastry(v)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function is_joker(v)
|
local function is_joker(v)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue