Commit 1b93ec31 authored by wyykak's avatar wyykak

fix 19500013 empty activate

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 67434abf
Pipeline #25906 passed with stage
in 9 seconds
...@@ -51,7 +51,7 @@ function c19500013.thfilter1(c) ...@@ -51,7 +51,7 @@ function c19500013.thfilter1(c)
end end
function c19500013.thtg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c19500013.thtg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c19500013.thfilter1(chkc) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c19500013.thfilter1(chkc) end
if chk==0 then return Duel.GetFlagEffect(tp,19500013)==0 and Duel.IsExistingTarget(c19500013.thfilter1,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.GetFlagEffect(tp,19500013)==0 and Duel.IsExistingTarget(c19500013.thfilter1,tp,LOCATION_MZONE,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectTarget(tp,c19500013.thfilter1,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectTarget(tp,c19500013.thfilter1,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,0)
......
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