Commit 21dcf9d1 authored by 八宫一月's avatar 八宫一月 Committed by GitHub

Update c70636044.lua (#2448)

parent b08c9769
...@@ -73,7 +73,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +73,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.descon1(e) function s.descon1(e)
local c=e:GetHandler() local c=e:GetHandler()
return c:GetOverlayCount()>0 return c:GetOverlayCount()>0 and Duel.GetAttacker()==c
end end
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk) function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,LOCATION_ONFIELD) local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,LOCATION_ONFIELD)
...@@ -91,4 +91,4 @@ end ...@@ -91,4 +91,4 @@ end
function s.descon2(e,tp,eg,ep,ev,re,r,rp) function s.descon2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsSummonType(SUMMON_TYPE_XYZ) return c:IsPreviousLocation(LOCATION_MZONE) and c:IsSummonType(SUMMON_TYPE_XYZ)
end end
\ No newline at end of file
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