Commit 584b554b authored by Tachibana's avatar Tachibana

ybb

parent fbc57124
...@@ -56,11 +56,11 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,11 +56,11 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 and g:GetFirst():IsLocation(LOCATION_HAND+LOCATION_EXTRA) then if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 and g:GetFirst():IsLocation(LOCATION_HAND+LOCATION_EXTRA) then
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
local tg=Duel.GetMatchingGroup(Card.IsFacedown,1-tp,LOCATION_EXTRA,0,nil) local tg=Duel.GetMatchingGroup(Card.IsFacedown,1-tp,LOCATION_EXTRA,0,nil)
local sg=Duel.GetMatchingGroup(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,nil,nil) local sg=Duel.GetMatchingGroup(Card.IsSynchroSummonable,1-tp,LOCATION_EXTRA,0,nil,nil)
if sg:GetCount()>0 then if sg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local pg=sg:Select(tp,1,1,nil) local pg=sg:Select(1-tp,1,1,nil)
Duel.SynchroSummon(tp,pg:GetFirst(),nil) Duel.SynchroSummon(1-tp,pg:GetFirst(),nil)
else else
Duel.ConfirmCards(tp,tg) Duel.ConfirmCards(tp,tg)
end 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