Commit c3cb0608 authored by GuGu's avatar GuGu

Update c19500013.lua 可以弹里侧卡、弹token炸服的bug

parent 8a0a85ba
Pipeline #25998 passed with stage
in 14 seconds
......@@ -47,7 +47,7 @@ function c19500013.thcost1(e,tp,eg,ep,ev,re,r,rp,chk)
if c.Mobius~=999 then Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST) else end
end
function c19500013.thfilter1(c)
return c:IsSetCard(0x186) and c:IsAbleToHand()
return c:IsSetCard(0x186) and c:IsAbleToHand() and c:IsFaceup()
end
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) and chkc~=e:GetHandler() end
......@@ -59,8 +59,7 @@ function c19500013.thtg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c19500013.thop1(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc and tc:IsRelateToEffect(e) then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
end
end
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