Commit 6f9b4ac2 authored by a597449807's avatar a597449807 Committed by GitHub

Fix HRUM-ユートピア・フォース (#2889)

parent 1f3a23d8
...@@ -71,13 +71,13 @@ function c67517351.tgfilter(c,eg) ...@@ -71,13 +71,13 @@ function c67517351.tgfilter(c,eg)
end end
function c67517351.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c67517351.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c67517351.tgfilter(chkc,eg) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c67517351.tgfilter(chkc,eg) end
if chk==0 then return Duel.IsExistingTarget(c67517351.tgfilter,tp,LOCATION_MZONE,0,1,nil,eg) if chk==0 then return Duel.IsExistingTarget(c67517351.tgfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,eg)
and e:GetHandler():IsCanOverlay() end and e:GetHandler():IsCanOverlay() end
if eg:GetCount()==1 then if eg:GetCount()==1 then
Duel.SetTargetCard(eg) Duel.SetTargetCard(eg)
else else
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,c67517351.tgfilter,tp,LOCATION_MZONE,0,1,1,nil,eg) Duel.SelectTarget(tp,c67517351.tgfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil,eg)
end end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,e:GetHandler(),1,0,0)
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