Commit e2522f12 authored by yxli's avatar yxli

Fix spirit hunter

parent ae900478
......@@ -80,7 +80,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e1)
end
elseif e:GetLabel()==2 then
if Duel.GetLocationCount(1-tp,LOCATION_MZONE)<=0 then return end
if Duel.GetLocationCount(1-tp,LOCATION_MZONE)<=0 or not Duel.SelectYesNo(tp,aux.Stringid(id,3)) then return end
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(1-tp,s.sfilter,tp,LOCATION_SZONE,0,1,1,nil,e,tp)
local tc=g:GetFirst()
......
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