Commit 8b79006f authored by POLYMER's avatar POLYMER

fix

parent 1625775d
......@@ -45,16 +45,16 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
function s.acttarget(e, c)
return c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS)
return c:IsType(TYPE_TRAP)
and s.HighEvo(c)
end
function s.filter(c)
return c:IsFacedown() and s.HighEvo(c) and c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS)
return c:IsFacedown() and s.HighEvo(c) and c:IsType(TYPE_TRAP)
end
function s.setfilter(c)
return c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:IsSSetable()
return c:IsType(TYPE_TRAP) and c:IsSSetable()
end
function s.acttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
......@@ -44,6 +44,7 @@ function s.initial_effect(c)
--Cannot be Material
local e4=e2:Clone()
e4:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
e4:SetValue(s.fuslimit)
c:RegisterEffect(e4)
local e5=e4:Clone()
e5:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
......@@ -78,6 +79,9 @@ function s.initial_effect(c)
e10:SetOperation(s.negop)
c:RegisterEffect(e10)
end
function s.fuslimit(e,c,sumtype)
return sumtype==SUMMON_TYPE_FUSION
end
function s.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsSummonType(SUMMON_TYPE_FUSION) or c:GetFlagEffect(id)>0
......
......@@ -26,6 +26,7 @@ function c75081061.drepcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c75081061.cfilter,1,nil) and e:GetHandler():GetFlagEffect(75081061)==0
end
function c75081061.dreptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return e:GetHandler():IsAbleToRemove() end
c:RegisterFlagEffect(75081061,RESET_CHAIN,0,1)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,e:GetHandler(),1,0,0)
......
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