Commit 60c7f562 authored by nanahira's avatar nanahira

update

parent 2f0cfc2b
......@@ -23,30 +23,7 @@ function cm.effect_operation_3L(c,ctlm)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetTargetRange(0,LOCATION_ONFIELD)
e1:SetTarget(function(e,c)
if c:IsImmuneToEffect(e) then return false end
local s1=e:GetHandler():GetSequence()
local s2=c:GetSequence()
if c:IsLocation(LOCATION_SZONE) then
if s2>=5 then return false end
if s1<5 then
return s1+s2==4
else
return (s1==5 and s2==3) or (s1==6 and s2==1)
end
end
if s1<5 then
if s2<5 then
return s1+s2==4
else
return (s2==5 and s1==3) or (s2==6 and s1==1)
end
else
if s2<5 then
return (s1==5 and s2==3) or (s1==6 and s2==1)
else
return false
end
end
return not c:IsImmuneToEffect(e) and e:GetHandler():GetColumnGroup():IsContains(c)
end)
e1:SetValue(aux.TRUE)
e1:SetReset(RESET_EVENT+0x1fe0000)
......
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