Skip to content

Commit a874f39

Browse files
committed
Fix another wrong instance of Group.CheckWithSumEqual in Numbers Eveil (Manga)
1 parent 7137aad commit a874f39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unofficial/c511001611.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
5454
end,mat,mg,mat)+(mg0-mat)
5555
if #cg==0 then break end
5656
local cancel = ((mg0:Includes(mat) and #(mg0-mat)>0) or mg:IsExists(function(c,mg,sg)
57-
Duel.SetSelectedCard(sg-mg0)
58-
return sg:CheckWithSumEqual(function(c)return c.xyz_number end,c.xyz_number,0,0)
57+
local without_num0=sg-mg0
58+
Duel.SetSelectedCard(without_num0)
59+
return without_num0:CheckWithSumEqual(function(c)return c.xyz_number end,c.xyz_number,0,0)
5960
end,1,mat,mg,mat)) and #mat>0
6061
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
6162
local tc=cg:SelectUnselect(mat,tp,cancel,cancel)

0 commit comments

Comments
 (0)