Commit 8be4385e authored by salix5's avatar salix5

fix

parent 17c11ecd
...@@ -48,7 +48,8 @@ function c12744567.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -48,7 +48,8 @@ function c12744567.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c12744567.spcon(e,tp,eg,ep,ev,re,r,rp) function c12744567.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_DESTROY) and e:GetHandler():GetOverlayCount()>0 local c=e:GetHandler()
return c:IsReason(REASON_DESTROY) and c:IsPreviousLocation(LOCATION_MZONE) and c:GetOverlayCount()>0
end end
function c12744567.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c12744567.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -54,7 +54,8 @@ function c20785975.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,7 +54,8 @@ function c20785975.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c20785975.spcon(e,tp,eg,ep,ev,re,r,rp) function c20785975.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_DESTROY) and e:GetHandler():GetOverlayCount()>0 local c=e:GetHandler()
return c:IsReason(REASON_DESTROY) and c:IsPreviousLocation(LOCATION_MZONE) and c:GetOverlayCount()>0
end end
function c20785975.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c20785975.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -59,8 +59,10 @@ function c31801517.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,8 +59,10 @@ function c31801517.atkop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c31801517.spcon(e,tp,eg,ep,ev,re,r,rp) function c31801517.spcon(e,tp,eg,ep,ev,re,r,rp)
return rp~=tp and e:GetHandler():IsReason(REASON_EFFECT) local c=e:GetHandler()
and e:GetHandler():GetOverlayGroup():IsExists(Card.IsCode,1,nil,93717133) return c:GetPreviousControler()==tp and rp~=tp and c:IsReason(REASON_EFFECT)
and c:IsPreviousLocation(LOCATION_MZONE) and c:GetOverlayGroup():IsExists(Card.IsCode,1,nil,93717133)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c31801517.spop(e,tp,eg,ep,ev,re,r,rp) function c31801517.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=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