Commit 7256d4ec authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c22600019.lua

parent 77a90996
......@@ -94,6 +94,8 @@ function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.ReturnToField(c)
e:Reset()
--Duel.Recover(1-tp,1000,REASON_EFFECT)
--e:Reset()
end
function cm.costfilter(c)
return c:IsFaceup() and c:IsAbleToRemoveAsCost() and c:IsType(TYPE_SPELL+TYPE_TRAP)
......@@ -111,6 +113,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingTarget(cm.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,cm.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil)
Duel.HintSelection(g)
local p=g:GetFirst():GetControler()
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,p,LOCATION_GRAVE)
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