Commit f65cdadc authored by DailyShana's avatar DailyShana

Merge pull request #363 from nekrozar/patch-1

fix Magician's Navigate
parents ee515674 7e443a1d
...@@ -40,15 +40,14 @@ function c7922915.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,15 +40,14 @@ function c7922915.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c7922915.filter,tp,LOCATION_HAND,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,c7922915.filter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
if g:GetCount()>0 then if g:GetCount()>0 and Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)~=0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end local g2=Duel.SelectMatchingCard(tp,c7922915.filter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) if g2:GetCount()>0 then
local g2=Duel.SelectMatchingCard(tp,c7922915.filter2,tp,LOCATION_DECK,0,1,1,nil,e,tp) Duel.BreakEffect()
if g2:GetCount()>0 then Duel.SpecialSummon(g2,0,tp,tp,false,false,POS_FACEUP)
Duel.BreakEffect() end
Duel.SpecialSummon(g2,0,tp,tp,false,false,POS_FACEUP)
end end
end end
function c7922915.cfilter(c) function c7922915.cfilter(c)
......
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