Skip to content

Commit 77b0d31

Browse files
Update spectral.lua
1 parent 3e6d97a commit 77b0d31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

items/spectral.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ local ritual = {
878878
can_use = function(self, card)
879879
if card.area ~= G.hand then
880880
local check = true
881-
if #G.hand.highlighted > card.config.max_highlighted then
881+
if #G.hand.highlighted > card.ability.max_highlighted then
882882
check = nil
883883
end
884884
if #G.hand.highlighted < 1 then
@@ -889,7 +889,7 @@ local ritual = {
889889
check = nil
890890
end
891891
end
892-
return G.hand and (#G.hand.highlighted <= card.config.max_highlighted) and check
892+
return G.hand and (#G.hand.highlighted <= card.ability.max_highlighted) and check
893893
else
894894
local idx = 1
895895
local check = true
@@ -898,7 +898,7 @@ local ritual = {
898898
check = nil
899899
end
900900
end
901-
return G.hand and (#G.hand.highlighted <= (card.config.max_highlighted + 1)) and check
901+
return G.hand and (#G.hand.highlighted <= (card.ability.max_highlighted + 1)) and check
902902
end
903903
end,
904904
use = function(self, card, area, copier)

0 commit comments

Comments
 (0)