Commit 927ea3b9 authored by mercury233's avatar mercury233

fix

parent 1638aa94
...@@ -21,10 +21,10 @@ function c27001740.filter(c) ...@@ -21,10 +21,10 @@ function c27001740.filter(c)
return c:IsFaceup() and c:IsType(TYPE_NORMAL) and c:IsAbleToDeck() return c:IsFaceup() and c:IsType(TYPE_NORMAL) and c:IsAbleToDeck()
end end
function c27001740.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c27001740.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_REMOVE) and chkc:IsControler(tp) and c27001740.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_REMOVED) and chkc:IsControler(tp) and c27001740.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c27001740.filter,tp,LOCATION_REMOVE,0,1,nil) end if chk==0 then return Duel.IsExistingTarget(c27001740.filter,tp,LOCATION_REMOVED,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectTarget(tp,c27001740.filter,tp,LOCATION_REMOVE,0,1,3,nil) local g=Duel.SelectTarget(tp,c27001740.filter,tp,LOCATION_REMOVED,0,1,3,nil)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function c27001740.activate(e,tp,eg,ep,ev,re,r,rp) function c27001740.activate(e,tp,eg,ep,ev,re,r,rp)
......
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