Commit 0cb5958c authored by GuGu's avatar GuGu

Update c86379460.lua

parent f38635b3
Pipeline #29129 passed with stage
in 7 seconds
...@@ -54,10 +54,17 @@ function c86379460.initial_effect(c) ...@@ -54,10 +54,17 @@ function c86379460.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
-- --
function c86379460.spfilter(c,ec,e,tp)
local seq=ec:GetSequence()
return c:GetOriginalCode()==86379460 and c:GetSequence()>seq
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false)
and not (c:IsDisabled() or c:IsForbidden())
end
function c86379460.spcon(e,tp,eg,ep,ev,re,r,rp) function c86379460.spcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
local c=e:GetHandler() local c=e:GetHandler()
return (ep==tp or Duel.IsPlayerAffectedByEffect(tp,86379453)) and re:IsActiveType(TYPE_TRAP) local b1=Duel.IsExistingMatchingCard(c86379460.spfilter,tp,LOCATION_EXTRA,0,1,nil,c,e,tp)
return (ep==tp or Duel.IsPlayerAffectedByEffect(tp,86379453)) and re:IsActiveType(TYPE_TRAP) and b1
end end
function c86379460.cfilter(c,tp,rc,tc) function c86379460.cfilter(c,tp,rc,tc)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
......
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