Fix boss blinds, add new Spectral
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
|
@ -371,6 +371,14 @@ return {
|
|||
"cards in {C:hands}hand",
|
||||
},
|
||||
},
|
||||
c_Roland_primal = {
|
||||
name = "Primal Force",
|
||||
text = {
|
||||
"Enhance {C:attention}all cards",
|
||||
"held in hand to",
|
||||
"{C:enhanced}Stone Cards",
|
||||
},
|
||||
},
|
||||
c_Roland_refract = {
|
||||
name = "Refract",
|
||||
text = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"author": [
|
||||
"Emik"
|
||||
],
|
||||
"version": "2.7.3",
|
||||
"version": "2.7.4",
|
||||
"badge_colour": "8BE9FD",
|
||||
"main_file": "src/main.lua",
|
||||
"badge_text_colour": "44475A",
|
||||
|
|
|
|||
|
|
@ -66,6 +66,10 @@ local function set_freeze(state)
|
|||
|
||||
---@param card Card|{ Roland_blizzard: true|nil }
|
||||
return function(card)
|
||||
if not card.Roland_blizzard and card.edition and card.edition.Roland_frozen then
|
||||
return
|
||||
end
|
||||
|
||||
local last_edition = card.Roland_blizzard
|
||||
card.Roland_blizzard = state and (copy(card.edition) or true) or nil
|
||||
|
||||
|
|
@ -222,6 +226,10 @@ blind {
|
|||
draw_card(G.hand, G.discard, i / count * 100, "down", false, copy, nil, nil, true)
|
||||
end)
|
||||
|
||||
if not next(cards_added) then
|
||||
return
|
||||
end
|
||||
|
||||
b:wiggle()
|
||||
b.triggered = true
|
||||
playing_card_joker_effects(cards_added)
|
||||
|
|
@ -300,9 +308,12 @@ blind {
|
|||
b:set_text()
|
||||
end
|
||||
end,
|
||||
disable = function()
|
||||
G.GAME.blind.disabled = true
|
||||
end,
|
||||
recalc_debuff = function(self, card)
|
||||
local id, _ = common_rank()
|
||||
local ret = not self.disabled and id == card:get_id()
|
||||
local ret = not G.GAME.blind.disabled and id == card:get_id()
|
||||
self.triggered = ret
|
||||
return ret
|
||||
end,
|
||||
|
|
|
|||
|
|
@ -66,6 +66,66 @@ spectral {
|
|||
end,
|
||||
}
|
||||
|
||||
spectral {
|
||||
key = "primal",
|
||||
pronouns = "he_him",
|
||||
attributes = {"enhancements", "modify_card", "spectral"},
|
||||
loc_vars = function(_, info_queue)
|
||||
table.insert(info_queue, G.P_CENTERS.m_stone)
|
||||
end,
|
||||
can_use = function()
|
||||
return u() and next(G.hand.cards)
|
||||
end,
|
||||
use = function(_, card)
|
||||
q {
|
||||
trigger = "after",
|
||||
delay = 0.4,
|
||||
func = function()
|
||||
play_sound("tarot1")
|
||||
card:juice_up(0.3, 0.5)
|
||||
end,
|
||||
}
|
||||
|
||||
f(G.hand.cards):each(function(v, k)
|
||||
local percent = 1.15 - (k - 0.999) / (#G.hand.cards - 0.998) * 0.3
|
||||
|
||||
q {
|
||||
trigger = "after",
|
||||
delay = 0.15,
|
||||
func = function()
|
||||
v:flip()
|
||||
play_sound("card1", percent)
|
||||
v:juice_up(0.3, 0.3)
|
||||
return true
|
||||
end,
|
||||
}
|
||||
end)
|
||||
|
||||
f(G.hand.cards):each(function(v)
|
||||
q(function()
|
||||
v:set_ability(G.P_CENTERS.m_stone)
|
||||
end)
|
||||
end)
|
||||
|
||||
f(G.hand.cards):each(function(v, k)
|
||||
local percent = 0.85 + (k - 0.999) / (#G.hand.cards - 0.998) * 0.3
|
||||
|
||||
q {
|
||||
trigger = "after",
|
||||
delay = 0.15,
|
||||
func = function()
|
||||
v:flip()
|
||||
play_sound("tarot2", percent, 0.6)
|
||||
v:juice_up(0.3, 0.3)
|
||||
return true
|
||||
end,
|
||||
}
|
||||
end)
|
||||
|
||||
delay(0.5)
|
||||
end,
|
||||
}
|
||||
|
||||
spectral {
|
||||
key = "refract",
|
||||
pronouns = "he_him",
|
||||
|
|
|
|||