Commit e5139424 authored by GuGu's avatar GuGu

Update c99999026.lua

parent 9adef286
Pipeline #32853 passed with stage
in 9 seconds
......@@ -39,7 +39,7 @@ function c99999026.thfilter1(c,tp)
return c:IsReleasable() and Duel.GetMZoneCount(tp,c)>0
end
function c99999026.thfilter2(c,tp)
return c:IsAbleToChangeControler() and c:IsSummonPlayer(1-tp) and c:IsControler(1-tp)
return c:IsAbleToChangeControler() and c:IsSummonPlayer(1-tp) and c:IsControler(1-tp) and c:IsOnField()
end
function c99999026.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c99999026.thfilter1,tp,LOCATION_MZONE,0,1,nil)
......@@ -58,7 +58,7 @@ function c99999026.thop(e,tp,eg,ep,ev,re,r,rp)
if not tc then return end
if g2:GetCount()>1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL)
tc=g:Select(tp,1,1,nil):GetFirst()
tc=g2:Select(tp,1,1,nil):GetFirst()
end
if Duel.GetControl(tc,tp)~=0 then
local e1=Effect.CreateEffect(e:GetHandler())
......
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