Commit 373da155 authored by REIKAI's avatar REIKAI 💬

bug fix

parent 60d4525b
Pipeline #22102 passed with stages
in 28 minutes and 53 seconds
...@@ -15,7 +15,7 @@ function cm.check(c) ...@@ -15,7 +15,7 @@ function cm.check(c)
return c:GetType()==TYPE_SPELL and c:IsAbleToHand() and not c:IsCode(m) return c:GetType()==TYPE_SPELL and c:IsAbleToHand() and not c:IsCode(m)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm,check,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.check,tp,LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,1-tp,2000) Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,1-tp,2000)
end 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