Commit 0e26799c authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#1800)

parent 3a16e1ba
......@@ -21,10 +21,7 @@ function c58720904.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c58720904.target(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)-Duel.GetFieldGroupCount(tp,0,LOCATION_EXTRA)
if chk==0 then
if ct>=10 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_ONFIELD,1,nil) end
return ct>0
end
if chk==0 then return ct>0 end
if ct>=10 then
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,1-tp,LOCATION_ONFIELD)
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