File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments