Commit 11f66e04 authored by Amiya's avatar Amiya

修复

parent 0755776d
Pipeline #42091 passed with stages
in 1 minute and 58 seconds
...@@ -68,7 +68,7 @@ end ...@@ -68,7 +68,7 @@ end
function s.rsfilter(c,ec,tp,chk) function s.rsfilter(c,ec,tp,chk)
local ng=Group.FromCards(c) local ng=Group.FromCards(c)
if ec then ng:AddCard(ec) end if ec then ng:AddCard(ec) end
return c:IsReleasableByEffect() return c:IsReleasableByEffect() and c:IsFaceup() and c:IsType(TYPE_XYZ)
and (not chk or Duel.IsExistingMatchingCard(aux.NegateAnyFilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,ng)) and (not chk or Duel.IsExistingMatchingCard(aux.NegateAnyFilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,ng))
end end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk) function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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