Commit b60637bf authored by Tachibana's avatar Tachibana

ndyd

parent 1e190d3d
...@@ -143,13 +143,13 @@ function c12030007.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -143,13 +143,13 @@ function c12030007.drop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE) e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT) e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET) e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
Duel.BreakEffect() Duel.BreakEffect()
end end
......
...@@ -63,7 +63,7 @@ function cm.efilter(e,re) ...@@ -63,7 +63,7 @@ function cm.efilter(e,re)
end end
function cm.spfilter(c,ft,tp) function cm.spfilter(c,ft,tp)
return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062001) return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062001)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup()) and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and c:IsFaceup()
end end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -94,7 +94,7 @@ function cm.desop(e,tp) ...@@ -94,7 +94,7 @@ function cm.desop(e,tp)
end end
function cm.spfilter(c,ft,tp) function cm.spfilter(c,ft,tp)
return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062002) return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062002)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup()) and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and c:IsFaceup()
end end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -90,7 +90,7 @@ function cm.desop(e,tp) ...@@ -90,7 +90,7 @@ function cm.desop(e,tp)
end end
function cm.spfilter1(c,ft,tp) function cm.spfilter1(c,ft,tp)
return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062003) return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062003)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup()) and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and c:IsFaceup()
end end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -68,7 +68,7 @@ function cm.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,7 +68,7 @@ function cm.spop1(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.spfilter1(c,ft,tp) function cm.spfilter1(c,ft,tp)
return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062004) return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062004)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup()) and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and c:IsFaceup()
end end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -63,7 +63,7 @@ function cm.desop(e,tp) ...@@ -63,7 +63,7 @@ function cm.desop(e,tp)
end end
function cm.spfilter(c,ft,tp) function cm.spfilter(c,ft,tp)
return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062005) return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12062005)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup()) and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and c:IsFaceup()
end end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -70,7 +70,7 @@ function cm.desop(e,tp) ...@@ -70,7 +70,7 @@ function cm.desop(e,tp)
end end
function cm.spfilter(c,ft,tp) function cm.spfilter(c,ft,tp)
return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12026026) return c:GetAttackAnnouncedCount()~=0 and c:IsCode(12026026)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup()) and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and c:IsFaceup()
end end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
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