Commit a8aac4b4 authored by CubeRuler's avatar CubeRuler

fixed

parent 97f28df1
......@@ -30,12 +30,14 @@ function cm.IsLinkZoneOver(count)
for i=0,4 do
if (Duel.GetLinkedZone(0)&((2^i)<<0))~=0 then
flag=flag+1
elseif (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
end
if (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
flag=flag+1
end
end
return flag>=count
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return cm.IsLinkZoneOver(3)
end
......
......@@ -35,12 +35,14 @@ function cm.IsLinkZoneOver(count)
for i=0,4 do
if (Duel.GetLinkedZone(0)&((2^i)<<0))~=0 then
flag=flag+1
elseif (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
end
if (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
flag=flag+1
end
end
return flag>=count
end
function cm.spfilter(c,e,tp)
return c:IsType(TYPE_LINK) and c:IsSetCard(0x562) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
......@@ -57,12 +57,14 @@ function cm.IsLinkZoneOver(count)
for i=0,4 do
if (Duel.GetLinkedZone(0)&((2^i)<<0))~=0 then
flag=flag+1
elseif (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
end
if (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
flag=flag+1
end
end
return flag>=count
end
end
function cm.hspcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
......
......@@ -114,12 +114,14 @@ function cm.IsLinkZoneOver(count)
for i=0,4 do
if (Duel.GetLinkedZone(0)&((2^i)<<0))~=0 then
flag=flag+1
elseif (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
end
if (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
flag=flag+1
end
end
return flag>=count
end
end
function cm.tgcheck(c)
return c:IsLocation(LOCATION_SZONE) or (c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsFaceup())
end
......
......@@ -125,12 +125,14 @@ function cm.IsLinkZoneOver(count)
for i=0,4 do
if (Duel.GetLinkedZone(0)&((2^i)<<0))~=0 then
flag=flag+1
elseif (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
end
if (Duel.GetLinkedZone(1)&((2^i)<<0))~=0 then
flag=flag+1
end
end
return flag>=count
end
end
function cm.spfilter(c,e,tp)
return c:IsSetCard(0x562) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
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