Commit 04dc30a7 authored by Mr.Tan's avatar Mr.Tan

Fix 精霊の狩人

parent 1d82ff8e
Pipeline #35538 failed with stages
in 23 seconds
...@@ -84,7 +84,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,7 +84,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(1-tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(1-tp,LOCATION_MZONE)<=0 then return end
local sg=Duel.GetMatchingGroup(s.sfilter,tp,LOCATION_SZONE,0,nil,e,tp) local sg=Duel.GetMatchingGroup(s.sfilter,tp,LOCATION_SZONE,0,nil,e,tp)
::cancel:: ::cancel::
if sg:GetCount()==0 or not Duel.SelectYesNo(tp,aux.Stringid(id,4)) then return false end if sg:GetCount()==0 or not Duel.SelectYesNo(1-tp,aux.Stringid(id,4)) then return false end
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_SPSUMMON)
local g=sg:CancelableSelect(1-tp,1,1,nil) local g=sg:CancelableSelect(1-tp,1,1,nil)
if g==nil or g:GetCount()==0 then goto cancel end if g==nil or g:GetCount()==0 then goto cancel 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