Skip to content

Commit eb60620

Browse files
authored
"Number F0: Utopic Future Zexal" fix
- fixed a bug where the effect could be activated even if the player didn't have a zone available to take control of the monster
1 parent 680c03b commit eb60620

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pre-release/c101301042.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ function s.ctcon(e,tp,eg,ep,ev,re,r,rp)
5858
return trig_p==1-tp and (trig_loc&LOCATION_ONFIELD)>0
5959
end
6060
function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
61-
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToChangeControler,tp,0,LOCATION_MZONE,1,nil) end
61+
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsControlerCanBeChanged,tp,0,LOCATION_MZONE,1,nil) end
6262
Duel.SetOperationInfo(0,CATEGORY_CONTROL,nil,1,tp,0)
6363
end
6464
function s.ctop(e,tp,eg,ep,ev,re,r,rp)
65-
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToChangeControler,tp,0,LOCATION_MZONE,1,1,nil)
65+
local g=Duel.SelectMatchingCard(tp,Card.IsControlerCanBeChanged,tp,0,LOCATION_MZONE,1,1,nil)
6666
if #g>0 then
6767
Duel.HintSelection(g)
6868
Duel.GetControl(g,tp)
@@ -82,4 +82,4 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
8282
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
8383
c:RegisterEffect(e2)
8484
end
85-
end
85+
end

0 commit comments

Comments
 (0)