Commit 8b79006f authored by POLYMER's avatar POLYMER

fix

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