Commit 0d7e4caa authored by GuGu's avatar GuGu

Update c99999006.lua 无效化检测

parent 5fc6770b
Pipeline #20900 passed with stage
in 1 minute and 13 seconds
...@@ -57,7 +57,7 @@ function c99999006.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -57,7 +57,7 @@ function c99999006.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local b=Duel.GetMatchingGroup(c99999006.filter1,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local b=Duel.GetMatchingGroup(c99999006.filter1,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
local b1=Duel.GetMatchingGroup(c99999006.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,nil,e,tp) local b1=Duel.GetMatchingGroup(c99999006.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,nil,e,tp)
local scount=Duel.GetLocationCount(tp,LOCATION_SZONE) local scount=Duel.GetLocationCount(tp,LOCATION_SZONE)
local b2=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil) local b2=Duel.GetMatchingGroup(aux.NegateAnyFilter,tp,0,LOCATION_ONFIELD,nil)
if chk==0 then return (#b>0 and scount>0) or (#b2>0 and #b1>0) end if chk==0 then return (#b>0 and scount>0) or (#b2>0 and #b1>0) end
local off=1 local off=1
local ops={} local ops={}
...@@ -106,7 +106,7 @@ function c99999006.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -106,7 +106,7 @@ function c99999006.activate(e,tp,eg,ep,ev,re,r,rp)
end end
else else
local c=e:GetHandler() local c=e:GetHandler()
local b2=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil) local b2=Duel.GetMatchingGroup(aux.NegateAnyFilter,tp,0,LOCATION_ONFIELD,nil)
local nc=b2:GetFirst() local nc=b2:GetFirst()
while nc do while nc do
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
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