Commit d3864767 authored by Huangnan's avatar Huangnan

fix

parent 10b7ea7f
Pipeline #29890 passed with stages
in 28 minutes and 6 seconds
......@@ -73,13 +73,16 @@ end
function c21185825.gf(c,lc,sg)
return sg and c:IsCanBeLinkMaterial(lc) and c:IsLinkType(TYPE_LINK) and c:GetSequence()>=5
end
function c21185825.to222(c)
return not c:IsLinkType(TYPE_EFFECT)
end
function c21185825.LCheckGoal(sg,tp,lc,lmat)
return #sg>=4
and sg:IsExists(c21185825.gf,1,nil,lc,sg)
and sg:CheckWithSumEqual(aux.GetLinkCount,5,#sg,#sg)
and Duel.GetLocationCountFromEx(tp,tp,sg,lc)>0
and not sg:IsExists(aux.LUncompatibilityFilter,1,nil,sg,lc,tp)
and (not lmat or sg:IsContains(lmat))
and not sg:IsExists(c21185825.to222,1,nil)
end
function c21185825.LCheckGoal2(sg,tp,lc,lmat)
return #sg==1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment