Buff Void spectral to give 2 free negative cryptids
This commit is contained in:
parent
24d47bb04e
commit
7fc1e188a0
2 changed files with 34 additions and 11 deletions
|
|
@ -1,14 +1,14 @@
|
|||
return {
|
||||
descriptions = {
|
||||
Blind = {
|
||||
bl_Roland_improbable = {
|
||||
name = "The Improbable",
|
||||
text = {"{C:attention}All probabilities", "cannot happen"}
|
||||
},
|
||||
bl_Roland_nimble = {
|
||||
name = "The Nimble",
|
||||
text = {"The first {C:attention}5 cards", "drawn are {C:attention}played"}
|
||||
},
|
||||
Blind = {
|
||||
bl_Roland_improbable = {
|
||||
name = "The Improbable",
|
||||
text = {"{C:attention}All probabilities", "cannot happen"}
|
||||
},
|
||||
bl_Roland_nimble = {
|
||||
name = "The Nimble",
|
||||
text = {"The first {C:attention}5 cards", "drawn are {C:attention}played"}
|
||||
},
|
||||
},
|
||||
Joker = {
|
||||
j_Roland_escapey = {
|
||||
|
|
@ -48,7 +48,8 @@ return {
|
|||
name = "Void",
|
||||
text = {
|
||||
"{C:red}Destroys {X:red,C:white}all{} owned",
|
||||
"{C:attention}playing cards",
|
||||
"playing cards {}for",
|
||||
"{C:attention}#1# {C:dark_edition}Negative {C:spectral}Cryptids",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,10 +22,14 @@ SMODS.Consumable {
|
|||
pos = {x = 0, y = 0},
|
||||
cost = 6,
|
||||
atlas = "void",
|
||||
config = {extra = {amount = 2}},
|
||||
loc_vars = function(_, _, card)
|
||||
return {vars = {card.ability.extra.amount}}
|
||||
end,
|
||||
can_use = function(_, _)
|
||||
return #G.playing_cards > 1 and can_use()
|
||||
end,
|
||||
use = function(_, _, _, _)
|
||||
use = function(_, card, _, _)
|
||||
local function destructible(v)
|
||||
return not v.ability or not (v.ability.eternal or v.ability.cry_absolute)
|
||||
end
|
||||
|
|
@ -48,6 +52,24 @@ SMODS.Consumable {
|
|||
|
||||
F.foreach(cards, destroy)
|
||||
F.foreach(G.jokers.cards, calculate_joker)
|
||||
|
||||
for _ = 1, card.ability.extra.amount do
|
||||
local cryptid = create_card(
|
||||
nil,
|
||||
G.consumeables,
|
||||
nil,
|
||||
nil,
|
||||
nil,
|
||||
nil,
|
||||
"c_cryptid",
|
||||
"void"
|
||||
)
|
||||
|
||||
cryptid:set_edition({negative = true}, true)
|
||||
cryptid:add_to_deck()
|
||||
G.consumeables:emplace(cryptid)
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue