Commit 6fd009b7 authored by mercury233's avatar mercury233 Committed by GitHub

fix ドレミコード・エレガンス

parent 091fda26
......@@ -81,7 +81,8 @@ function c27870337.activate(e,tp,eg,ep,ev,re,r,rp)
elseif sel==1 then
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(27870337,3))
local g=Duel.SelectMatchingCard(tp,c27870337.toexfilter,tp,LOCATION_HAND,0,1,1,nil)
if g:GetCount()>0 and Duel.SendtoExtraP(g,tp,REASON_EFFECT)~=0 then
if g:GetCount()>0 and Duel.SendtoExtraP(g,tp,REASON_EFFECT)~=0
and Duel.CheckLocation(tp,LOCATION_PZONE,0) and Duel.CheckLocation(tp,LOCATION_PZONE,1) then
local g1=Duel.GetMatchingGroup(c27870337.pendfilter1,tp,LOCATION_DECK,0,nil)
local g2=Duel.GetMatchingGroup(c27870337.pendfilter2,tp,LOCATION_DECK,0,nil)
if g1:GetCount()>0 and g2:GetCount()>0 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