Commit aff370d0 authored by nekrozar's avatar nekrozar

fix Two-for-One Team

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=46

この時、『●魔法:お互いのプレイヤーは、それぞれデッキから2枚ドローする』処理が行われる事になる場合、デッキが1枚のプレイヤーは2枚のカードをドローする事ができず、デュエルに敗北する事になります。

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=22052

ターンプレイヤーとその相手プレイヤー、どちらも見せたモンスターを特殊召喚する事を選んだ場合、その2体のモンスターは同時に特殊召喚される扱いとなります。
parent 0c89e985
......@@ -34,13 +34,13 @@ function c89928517.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(p,LOCATION_MZONE)>0
and tc:IsCanBeSpecialSummoned(e,0,p,false,false)
and Duel.SelectYesNo(p,aux.Stringid(89928517,1)) then
Duel.SpecialSummon(tc,0,p,p,false,false,POS_FACEUP)
Duel.SpecialSummonStep(tc,0,p,p,false,false,POS_FACEUP)
end
i=i+1
p=1-tp
end
elseif tc1:IsType(TYPE_SPELL) and tc2:IsType(TYPE_SPELL)
and Duel.IsPlayerCanDraw(tp,2) and Duel.IsPlayerCanDraw(1-tp,2) then
Duel.SpecialSummonComplete()
elseif tc1:IsType(TYPE_SPELL) and tc2:IsType(TYPE_SPELL) then
Duel.Draw(tp,2,REASON_EFFECT)
Duel.Draw(1-tp,2,REASON_EFFECT)
elseif tc1:IsType(TYPE_TRAP) and tc2:IsType(TYPE_TRAP)
......
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