Commit a74511ff authored by GuGu's avatar GuGu

Update c74563607.lua

parent cd529400
Pipeline #34804 passed with stage
in 11 seconds
......@@ -47,13 +47,16 @@ function c74563607.cost1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
--
function c74563607.nbfilter(c)
return c:IsFaceup() and aux.NegateAnyFilter(c)
end
function c74563607.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE,1,nil) end
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE,nil)
if chk==0 then return Duel.IsExistingMatchingCard(c74563607.nbfilter,tp,0,LOCATION_ONFIELD,1,nil) end
local g=Duel.GetMatchingGroup(c74563607.nbfilter,tp,0,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,g,g:GetCount(),0,0)
end
function c74563607.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_ONFIELD,nil)
local g=Duel.GetMatchingGroup(c74563607.nbfilter,tp,0,LOCATION_ONFIELD,nil)
local tc=g:GetFirst()
while tc do
local e1=Effect.CreateEffect(e:GetHandler())
......
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