Commit c7e82ad7 authored by nekrozar's avatar nekrozar

fix Draconnection

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=10121

■『手札のドラゴン族モンスター1体を相手に見せ』の処理、『見せたモンスターと同じレベルのドラゴン族モンスター1体をデッキから手札に加える』処理、『その後、見せたモンスターをデッキに戻す』処理はいずれも同時に行われる扱いではありません。
parent c5bb6224
...@@ -28,7 +28,10 @@ function c90887783.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -28,7 +28,10 @@ function c90887783.operation(e,tp,eg,ep,ev,re,r,rp)
if g1:GetCount()==0 then return end if g1:GetCount()==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g2=Duel.SelectMatchingCard(tp,c90887783.filter2,tp,LOCATION_DECK,0,1,1,nil,g1:GetFirst():GetLevel()) local g2=Duel.SelectMatchingCard(tp,c90887783.filter2,tp,LOCATION_DECK,0,1,1,nil,g1:GetFirst():GetLevel())
Duel.SendtoHand(g2,nil,REASON_EFFECT) if g2:GetCount()==0 then return end
Duel.BreakEffect()
if Duel.SendtoHand(g2,nil,REASON_EFFECT)==0 then return end
Duel.ConfirmCards(1-tp,g2) Duel.ConfirmCards(1-tp,g2)
Duel.BreakEffect()
Duel.SendtoDeck(g1,nil,2,REASON_EFFECT) Duel.SendtoDeck(g1,nil,2,REASON_EFFECT)
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