Commit 773e9017 authored by nanahira's avatar nanahira

fix move sequence effect

parent 149f9b9a
...@@ -33,6 +33,7 @@ function c46247282.initial_effect(c) ...@@ -33,6 +33,7 @@ function c46247282.initial_effect(c)
e4:SetType(EFFECT_TYPE_FIELD) e4:SetType(EFFECT_TYPE_FIELD)
e4:SetRange(LOCATION_MZONE) e4:SetRange(LOCATION_MZONE)
e4:SetCode(EFFECT_DISABLE_FIELD) e4:SetCode(EFFECT_DISABLE_FIELD)
e4:SetCondition(c46247282.discon)
e4:SetOperation(c46247282.disop) e4:SetOperation(c46247282.disop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
...@@ -72,6 +73,10 @@ function c46247282.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,6 +73,10 @@ function c46247282.desop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
function c46247282.discon(e)
e:SetValue(0)
return true
end
function c46247282.disop(e,tp) function c46247282.disop(e,tp)
local c=e:GetHandler() local c=e:GetHandler()
local flag1=bit.band(c:GetColumnZone(LOCATION_MZONE),0xffffff00) local flag1=bit.band(c:GetColumnZone(LOCATION_MZONE),0xffffff00)
......
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