Commit 90405050 authored by Amiya's avatar Amiya

修复

parent 72fbfeda
Pipeline #43711 passed with stages
in 3 minutes and 43 seconds
......@@ -24,7 +24,7 @@ function s.spfilter(c,e,tp,g)
and g:IsExists(s.stfilter,1,nil,e,tp)
end
function s.stfilter(c,e,tp)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsAttribute(ATTRIBUTE_DARK)
return c:IsFaceupEx() and c:IsType(TYPE_XYZ) and c:IsAttribute(ATTRIBUTE_DARK)
and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
and Duel.IsExistingMatchingCard(s.xyzfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c,c:GetRank())
end
......
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