Commit fb34c2c1 authored by nanahira's avatar nanahira

fix

parent fa05ab79
...@@ -24,12 +24,12 @@ function cm.initial_effect(c) ...@@ -24,12 +24,12 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(710253) e1:SetCode(EFFECT_REMOVE_LINK_MARKER_KOISHI)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetCondition(function(e) return e:GetHandler():GetOverlayCount()>0 end) e1:SetCondition(function(e) return e:GetHandler():GetOverlayCount()>0 end)
e1:SetTarget(function(e,c) return c:IsType(TYPE_LINK) end) e1:SetTarget(function(e,c) return c:IsType(TYPE_LINK) end)
e1:SetValue(0) e1:SetValue(0xfff)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.rmtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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