Commit 5cb11001 authored by Huangnan's avatar Huangnan

fix

parent b7d7ab53
Pipeline #35021 failed with stages
in 96 minutes and 44 seconds
No preview for this file type
...@@ -79,7 +79,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -79,7 +79,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp,chk)
e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE) e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetTarget(s.qfilter) e3:SetTarget(s.qfilter)
c:RegisterEffect(e3) tc:RegisterEffect(e3)
end end
if tc:IsPosition(POS_FACEUP_DEFENSE) then if tc:IsPosition(POS_FACEUP_DEFENSE) then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
...@@ -97,7 +97,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -97,7 +97,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp,chk)
e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE) e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetTarget(s.qfilter) e3:SetTarget(s.qfilter)
c:RegisterEffect(e3) tc:RegisterEffect(e3)
end end
end end
function s.qfilter(e,c) function s.qfilter(e,c)
...@@ -107,7 +107,7 @@ function s.tfilter(e,c) ...@@ -107,7 +107,7 @@ function s.tfilter(e,c)
return c:IsSetCard(0x694) and c:GetType()==TYPE_TRAP and c:GetColumnGroup():IsContains(e:GetHandler()) return c:IsSetCard(0x694) and c:GetType()==TYPE_TRAP and c:GetColumnGroup():IsContains(e:GetHandler())
end end
function s.efilter(e,te) function s.efilter(e,te)
return te:GetHandler():GetColumnGroup():IsContains(e:GetHandler()) return te:GetHandler():GetColumnGroup():IsContains(e:GetHandler()) and te:GetHandlerPlayer()==1-tp
end end
function s.posv(e,c) function s.posv(e,c)
return e:GetHandler():GetPosition() return e:GetHandler():GetPosition()
......
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