Commit 6b703d40 authored by GuGu's avatar GuGu

Update c20016.lua 跳红

parent eb2bb21e
Pipeline #28728 passed with stage
in 16 seconds
......@@ -2,7 +2,7 @@
function c20016.initial_effect(c)
--xyz summon
c:EnableReviveLimit()
aux.AddXyzProcedure(c,nil,3,2,c20016.ovfilter,aux.Stringid(74562021,1))
aux.AddXyzProcedure(c,nil,3,2,c20016.ovfilter,aux.Stringid(74562021,1),nil,nil,e)
--Nef.AddXyzProcedureCustom(c,c20016.mfilter,c20016.xyzcheck,1,2)
--remove
local e1=Effect.CreateEffect(c)
......@@ -17,8 +17,9 @@ function c20016.initial_effect(c)
e1:SetOperation(c20016.operation)
c:RegisterEffect(e1)
end
function c20016.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0x123) and c:IsXyzLevel(nil,3) and c:IsAttribute(ATTRIBUTE_LIGHT+ATTRIBUTE_DARK)
function c20016.ovfilter(c,e)
local xyzc=e:GetOwner()
return c:IsFaceup() and c:IsSetCard(0x123) and c:IsXyzLevel(xyzc,3) and c:IsAttribute(ATTRIBUTE_LIGHT+ATTRIBUTE_DARK)
end
function c20016.mfilter(c,xyzc)
return c:IsXyzLevel(xyzc,3)
......
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