Commit ea41f780 authored by nekrozar's avatar nekrozar Committed by mercury233

fix (#955)

parent 854cef2a
...@@ -19,9 +19,7 @@ function c39440937.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -19,9 +19,7 @@ function c39440937.target(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c39440937.activate(e,tp,eg,ep,ev,re,r,rp) function c39440937.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c39440937.filter,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(c39440937.filter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if g:GetCount()>0 then if g:GetCount()>0 and Duel.ChangePosition(g,POS_FACEUP_DEFENSE)~=0 then
Duel.ChangePosition(g,POS_FACEUP_DEFENSE)
end
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetCode(EVENT_PHASE+PHASE_END)
...@@ -30,6 +28,7 @@ function c39440937.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,6 +28,7 @@ function c39440937.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetCondition(c39440937.tdcon) e1:SetCondition(c39440937.tdcon)
e1:SetOperation(c39440937.tdop) e1:SetOperation(c39440937.tdop)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end
end end
function c39440937.tdfilter(c) function c39440937.tdfilter(c)
return c:IsFaceup() and c:IsType(TYPE_SYNCHRO) and c:IsAbleToExtra() return c:IsFaceup() and c:IsType(TYPE_SYNCHRO) and c:IsAbleToExtra()
......
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