Commit efabedf5 authored by VanillaSalt's avatar VanillaSalt

fix

parent b8702845
...@@ -56,6 +56,9 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,6 +56,9 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp)
if bit.band(tpe,TYPE_EQUIP+TYPE_CONTINUOUS)~=0 or tc:IsHasEffect(EFFECT_REMAIN_FIELD) then if bit.band(tpe,TYPE_EQUIP+TYPE_CONTINUOUS)~=0 or tc:IsHasEffect(EFFECT_REMAIN_FIELD) then
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
elseif bit.band(tpe,TYPE_FIELD)~=0 then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
end
tc:CreateEffectRelation(te) tc:CreateEffectRelation(te)
if co then co(te,tp,eg,ep,ev,re,r,rp,1) end if co then co(te,tp,eg,ep,ev,re,r,rp,1) end
if tg then tg(te,tp,eg,ep,ev,re,r,rp,1) end if tg then tg(te,tp,eg,ep,ev,re,r,rp,1) end
...@@ -73,13 +76,4 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,13 +76,4 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp)
etc:ReleaseEffectRelation(te) etc:ReleaseEffectRelation(te)
etc=g:GetNext() etc=g:GetNext()
end end
else
if bit.band(tpe,TYPE_FIELD)~=0 then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
end
if co then co(te,tp,eg,ep,ev,re,r,rp,1) end
if tg then tg(te,tp,eg,ep,ev,re,r,rp,1) end
Duel.BreakEffect()
if op then op(te,tp,eg,ep,ev,re,r,rp) end
end
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