Commit fcc07abb authored by wind2009's avatar wind2009

Fix マテリアクトル・エクサガルド

parent 5f58df3f
......@@ -85,9 +85,15 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if g:CheckSubGroup(s.thcheck,1)==false then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local tg=g:SelectSubGroup(tp,s.thcheck,false,1,2)
if #tg>0 and Duel.SendtoHand(tg,nil,REASON_EFFECT)~=0 and g:IsExists(Card.IsLocation,1,nil,LOCATION_HAND) then
Duel.ConfirmCards(1-tp,tg)
Duel.ShuffleHand(tp)
if #tg>0 and Duel.SendtoHand(tg,nil,REASON_EFFECT)~=0 and tg:IsExists(Card.IsLocation,1,nil,LOCATION_HAND) then
if tg:IsExists(Card.IsControler,1,nil,tp) then
Duel.ConfirmCards(1-tp,tg)
Duel.ShuffleHand(tp)
end
if tg:IsExists(Card.IsControler,1,nil,1-tp) then
Duel.ConfirmCards(tp,tg)
Duel.ShuffleHand(1-tp)
end
if Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_GRAVE,0,1,nil,TYPE_NORMAL)
and Duel.IsExistingMatchingCard(Card.IsAbleToHand,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil)
and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
......
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