Commit 087494f5 authored by 想象力很好的毛虫's avatar 想象力很好的毛虫 Committed by GitHub

Fix 蕾禍ノ毬首 (#2517)

parent 785750ce
......@@ -50,7 +50,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local tg1=g:SelectSubGroup(tp,aux.dncheck,false,1,2)
if Duel.SendtoHand(tg1,nil,REASON_EFFECT)~=0 then
if tg1 and Duel.SendtoHand(tg1,nil,REASON_EFFECT)~=0 then
Duel.ConfirmCards(1-tp,tg1)
Duel.ShuffleHand(tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
......@@ -71,4 +71,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
function s.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsRace(RACE_INSECT+RACE_PLANT+RACE_REPTILE)
end
\ No newline at end of file
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