Commit 4c7bdf0f authored by GuGu's avatar GuGu

Update c86379574.lua

parent 79eb87f2
Pipeline #33379 passed with stage
in 10 seconds
...@@ -61,17 +61,17 @@ function c86379574.pop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,17 +61,17 @@ function c86379574.pop(e,tp,eg,ep,ev,re,r,rp)
end end
-- --
function c86379574.excfilter(c,tp) function c86379574.excfilter(c,tp)
return c:IsPosition(POS_FACEDOWN) and c:IsControler(1-tp) return c:IsFacedown() and c:IsControler(tp)
end end
function c86379574.excon(e,tp,eg,ep,ev,re,r,rp) function c86379574.excon(e,tp,eg,ep,ev,re,r,rp)
local st=e:GetHandler():GetSequence() local st=e:GetHandler():GetSequence()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)-1 local ct=Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)-1
return eg:FilterCount(c86379574.excfilter,nil,tp)>0 and st==ct return eg:IsExists(c86379574.excfilter,1,nil,1-tp) and st==ct
end end
function c86379574.excon2(e,tp,eg,ep,ev,re,r,rp) function c86379574.excon2(e,tp,eg,ep,ev,re,r,rp)
local st=e:GetHandler():GetSequence() local st=e:GetHandler():GetSequence()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)-1 local ct=Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)-1
return st==ct return eg:IsExists(Card.IsControler,1,nil,1-tp) and st==ct
end end
function c86379574.sqfilter(c) function c86379574.sqfilter(c)
return c:IsSetCard(0x299) and c:IsType(TYPE_PENDULUM) and c:IsFaceup() and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x299) and c:IsType(TYPE_PENDULUM) and c:IsFaceup() and c:IsAbleToRemoveAsCost()
......
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