Commit 8aea06ae authored by Tachibana's avatar Tachibana

E

parent 3f062502
Pipeline #15476 passed with stages
in 30 minutes and 35 seconds
...@@ -58,18 +58,6 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,18 +58,6 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(cm.efilter2) e2:SetValue(cm.efilter2)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
if c:GetMaterialCount()>=4 then
--reflect damage
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(m,3))
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_REFLECT_DAMAGE)
e3:SetRange(LOCATION_MZONE)
e3:SetProperty(EFFECT_FLAG_CLIENT_HINT+EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(1,0)
e3:SetValue(cm.refcon)
c:RegisterEffect(e3)
end
if c:GetMaterialCount()>=5 then if c:GetMaterialCount()>=5 then
--cannot chain --cannot chain
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
...@@ -101,9 +89,6 @@ end ...@@ -101,9 +89,6 @@ end
function cm.efilter2(e,re) function cm.efilter2(e,re)
return re:IsActiveType(TYPE_SPELL) or re:IsActiveType(TYPE_TRAP) return re:IsActiveType(TYPE_SPELL) or re:IsActiveType(TYPE_TRAP)
end end
function cm.refcon(e,re,val,r,rp,rc)
return true
end
function cm.ccop(e,tp,eg,ep,ev,re,r,rp) function cm.ccop(e,tp,eg,ep,ev,re,r,rp)
if ep==tp then if ep==tp then
Duel.SetChainLimit(cm.chainlm) Duel.SetChainLimit(cm.chainlm)
......
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