Commit 17f2311e authored by Amiya's avatar Amiya

修复

parent f352e4f0
...@@ -45,6 +45,17 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,6 +45,17 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(s.eqlimit) e1:SetValue(s.eqlimit)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
end end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
function s.splimit(e,c)
return not c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsLocation(LOCATION_EXTRA)
end end
function s.eqlimit(e,c) function s.eqlimit(e,c)
return c==e:GetLabelObject() return c==e:GetLabelObject()
......
...@@ -45,6 +45,17 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,6 +45,17 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(s.eqlimit) e1:SetValue(s.eqlimit)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
end end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
function s.splimit(e,c)
return not c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsLocation(LOCATION_EXTRA)
end end
function s.eqlimit(e,c) function s.eqlimit(e,c)
return c==e:GetLabelObject() return c==e:GetLabelObject()
......
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