Commit b3db3853 authored by Amiya's avatar Amiya

修复

parent deaa1299
Pipeline #43179 failed with stages
in 1 minute and 47 seconds
...@@ -63,6 +63,7 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp) ...@@ -63,6 +63,7 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(1) e2:SetValue(1)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
elseif e:GetLabel()==2 then elseif e:GetLabel()==2 then
if Duel.GetLocationCount(tp,LOCATION_SZONE)<1 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil)
local tc=g:GetFirst() 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