Commit 36f3a5fc authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c22600015.lua

parent bad9fbe9
...@@ -79,6 +79,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -79,6 +79,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetCondition(cm.rtcon) e1:SetCondition(cm.rtcon)
e1:SetOperation(cm.retop) e1:SetOperation(cm.retop)
e1:SetReset(RESET_PHASE+RESETS_STANDARD)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
end end
...@@ -93,6 +94,7 @@ end ...@@ -93,6 +94,7 @@ end
function cm.retop(e,tp,eg,ep,ev,re,r,rp) function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.ReturnToField(c) Duel.ReturnToField(c)
e:Reset()
end end
function cm.costfilter(c) function cm.costfilter(c)
return c:IsFaceup() and c:IsAbleToRemoveAsCost() and c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsFaceup() and c:IsAbleToRemoveAsCost() and c:IsType(TYPE_SPELL+TYPE_TRAP)
......
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