Commit 40a5ece7 authored by mercury233's avatar mercury233

update

parent dc4d2f13
...@@ -9,21 +9,6 @@ function c56526564.initial_effect(c) ...@@ -9,21 +9,6 @@ function c56526564.initial_effect(c)
e1:SetTarget(c56526564.target) e1:SetTarget(c56526564.target)
e1:SetOperation(c56526564.activate) e1:SetOperation(c56526564.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--
if not Card.IsLinkState then
function Card.IsLinkState(c)
if not c then return false end
if c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()>0 then return true end
local g=Duel.GetMatchingGroup(Card.IsType,0,LOCATION_MZONE,LOCATION_MZONE,nil,TYPE_LINK)
local lc=g:GetFirst()
while lc do
local lg=lc:GetLinkedGroup()
if lg and lg:IsContains(c) then return true end
lc=g:GetNext()
end
return false
end
end
end end
function c56526564.cfilter(c) function c56526564.cfilter(c)
return c:IsType(TYPE_LINK) and c:IsSummonType(SUMMON_TYPE_LINK) return c:IsType(TYPE_LINK) and c:IsSummonType(SUMMON_TYPE_LINK)
......
...@@ -47,21 +47,6 @@ function c77610772.initial_effect(c) ...@@ -47,21 +47,6 @@ function c77610772.initial_effect(c)
e5:SetTarget(c77610772.sptg2) e5:SetTarget(c77610772.sptg2)
e5:SetOperation(c77610772.spop2) e5:SetOperation(c77610772.spop2)
c:RegisterEffect(e5) c:RegisterEffect(e5)
--
if not Card.IsLinkState then
function Card.IsLinkState(c)
if not c then return false end
if c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()>0 then return true end
local g=Duel.GetMatchingGroup(Card.IsType,0,LOCATION_MZONE,LOCATION_MZONE,nil,TYPE_LINK)
local lc=g:GetFirst()
while lc do
local lg=lc:GetLinkedGroup()
if lg and lg:IsContains(c) then return true end
lc=g:GetNext()
end
return false
end
end
end end
function c77610772.linkfilter1(c,lc,tp) function c77610772.linkfilter1(c,lc,tp)
return c:IsFaceup() and Duel.IsExistingMatchingCard(c77610772.linkfilter2,tp,LOCATION_MZONE,0,1,c,lc,c,tp) return c:IsFaceup() and Duel.IsExistingMatchingCard(c77610772.linkfilter2,tp,LOCATION_MZONE,0,1,c,lc,c,tp)
......
...@@ -25,21 +25,6 @@ function c84899094.initial_effect(c) ...@@ -25,21 +25,6 @@ function c84899094.initial_effect(c)
e2:SetTarget(c84899094.sptg) e2:SetTarget(c84899094.sptg)
e2:SetOperation(c84899094.spop) e2:SetOperation(c84899094.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--
if not Card.IsLinkState then
function Card.IsLinkState(c)
if not c then return false end
if c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()>0 then return true end
local g=Duel.GetMatchingGroup(Card.IsType,0,LOCATION_MZONE,LOCATION_MZONE,nil,TYPE_LINK)
local lc=g:GetFirst()
while lc do
local lg=lc:GetLinkedGroup()
if lg and lg:IsContains(c) then return true end
lc=g:GetNext()
end
return false
end
end
end end
function c84899094.filter(c,tp) function c84899094.filter(c,tp)
return c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) and c:IsLinkState() return c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) and c:IsLinkState()
......
...@@ -19,21 +19,6 @@ function c97648103.initial_effect(c) ...@@ -19,21 +19,6 @@ function c97648103.initial_effect(c)
e2:SetValue(c97648103.repval) e2:SetValue(c97648103.repval)
e2:SetOperation(c97648103.repop) e2:SetOperation(c97648103.repop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--
if not Card.IsLinkState then
function Card.IsLinkState(c)
if not c then return false end
if c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()>0 then return true end
local g=Duel.GetMatchingGroup(Card.IsType,0,LOCATION_MZONE,LOCATION_MZONE,nil,TYPE_LINK)
local lc=g:GetFirst()
while lc do
local lg=lc:GetLinkedGroup()
if lg and lg:IsContains(c) then return true end
lc=g:GetNext()
end
return false
end
end
end end
function c97648103.thfilter(c,e) function c97648103.thfilter(c,e)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xfd) and c:IsAbleToHand() and c:IsCanBeEffectTarget(e) return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xfd) and c:IsAbleToHand() and c:IsCanBeEffectTarget(e)
......
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