Commit bfb489b6 authored by REIKAI's avatar REIKAI 💬

bug fix

parent 0ed33303
Pipeline #22678 passed with stages
in 22 minutes and 6 seconds
...@@ -116,8 +116,8 @@ function cm.reccon(e,tp,eg,ep,ev,re,r,rp) ...@@ -116,8 +116,8 @@ function cm.reccon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return eg:IsExists(cm.cfilter,1,c,tp) return eg:IsExists(cm.cfilter,1,c,tp)
end end
function cm.rectg(e,tp,eg,ep,ev,re,r,rp) function cm.rectg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk ==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil) local g=Duel.SelectTarget(tp,aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
......
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