Commit 7f24930e authored by wyykak's avatar wyykak

fix 23110

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 78f7bee1
......@@ -42,7 +42,7 @@ function c23110.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c23110.spop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c23110.spfilter,tp,LOCATION_DECK,0,nil,e,tp)
local g2=Duel.GetMatchingGroup(c23110.spfilter,tp,0,LOCATION_DECK,nil,e,tp)
local g2=Duel.GetMatchingGroup(c23110.spfilter,tp,0,LOCATION_DECK,nil,e,1-tp)
if Duel.RemoveOverlayCard(tp,1,0,1,1,REASON_EFFECT)~=0
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 and g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......@@ -51,7 +51,7 @@ function c23110.spop(e,tp,eg,ep,ev,re,r,rp)
local t2=g2:Select(1-tp,1,1,nil):GetFirst()
Duel.SpecialSummonStep(t1,0,tp,tp,false,false,POS_FACEUP)
if t2 then
Duel.SpecialSummonStep(t2,0,tp,tp,false,false,POS_FACEUP)
Duel.SpecialSummonStep(t2,0,1-tp,1-tp,false,false,POS_FACEUP)
end
Duel.SpecialSummonComplete()
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