Commit 4bfedc4d authored by TanakaKotoha's avatar TanakaKotoha

amd yes 2

parent 5b86a2f6
...@@ -31,6 +31,7 @@ function cm.initial_effect(c) ...@@ -31,6 +31,7 @@ function cm.initial_effect(c)
e3:SetCode(EVENT_PHASE+PHASE_END) e3:SetCode(EVENT_PHASE+PHASE_END)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,m+10000) e3:SetCountLimit(1,m+10000)
e3:SetCondition(cm.con)
e3:SetTarget(cm.tdtg) e3:SetTarget(cm.tdtg)
e3:SetOperation(cm.tdop) e3:SetOperation(cm.tdop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
...@@ -40,6 +41,9 @@ function cm.sum(e,c,sump,sumtype,sumpos,targetp) ...@@ -40,6 +41,9 @@ function cm.sum(e,c,sump,sumtype,sumpos,targetp)
return c:IsLocation(LOCATION_EXTRA) return c:IsLocation(LOCATION_EXTRA)
end end
--e3 --e3
function cm.con(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
function cm.f(c) function cm.f(c)
return c:IsDestructable() and c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsDestructable() and c:IsType(TYPE_SPELL+TYPE_TRAP)
end 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