Commit f9a67218 authored by GuGu's avatar GuGu

Update c1111002.lua 鸽子检测

parent 75c1904c
Pipeline #16636 passed with stage
in 1 minute and 1 second
...@@ -46,8 +46,7 @@ function c1111002.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,8 +46,7 @@ function c1111002.op1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if not tc:IsRelateToEffect(e) then return end if not tc:IsRelateToEffect(e) then return end
if Duel.SendtoHand(tc,nil,REASON_EFFECT)<1 then return end if Duel.SendtoHand(tc,nil,REASON_EFFECT)<1 or not Duel.IsExistingMatchingCard(c1111002.tfilter1_2,tp,LOCATION_EXTRA,0,1,nil,e,tp,tc) then return end
if Duel.GetLocationCountFromEx(tp)<1 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,c1111002.tfilter1_2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc) local sg=Duel.SelectMatchingCard(tp,c1111002.tfilter1_2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc)
if sg:GetCount()>0 then if sg: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