Commit 0085220c authored by TanakaKotoha's avatar TanakaKotoha

fix 2

parent 13372a73
...@@ -52,7 +52,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -52,7 +52,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:GetLocation()==LOCATION_EXTRA and cm.cpfilter(chkc) end if chkc then return chkc:GetLocation()==LOCATION_EXTRA and cm.cpfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(cm.cpfilter,tp,LOCATION_EXTRA,LOCATION_EXTRA,1,nil) end if chk==0 then return Duel.IsExistingTarget(cm.cpfilter,tp,LOCATION_EXTRA,LOCATION_EXTRA,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,cm.cpfilter,tp,LOCATION_EXTRA,LOCATION_EXTRA,1,1,nil) local g=Duel.SelectTarget(tp,cm.cpfilter,tp,LOCATION_EXTRA,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(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