Commit 1efcd7bd authored by TanakaKotoha's avatar TanakaKotoha

fix

parent d4dd5ec3
......@@ -26,7 +26,7 @@ function c12004008.initial_effect(c)
end
function c12004008.discon(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsChainNegatable(ev) then return false end
return ( re:IsHasCategory(CATEGORY_DISABLE) or re:IsHasCategory(CATEGORY_NEGATE) ) and not re:IsCode(12004008)
return ( re:IsHasCategory(CATEGORY_DISABLE) or re:IsHasCategory(CATEGORY_NEGATE) ) and not re:GetHandler:IsCode(12004008)
end
function c12004008.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToHand() end
......
--四皇虫 隶梏女王 蔷薇黄蜂
local m=12004022
local cm=_G["c"..m]
--原罪机械 里切的得儿塔
function c12004022.initial_effect(c)
--fusion material
......
......@@ -57,7 +57,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(m)>0
end
function cm.spfilter(c,e,tp)
return c:IsSetCard(0x5fbe) and c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsSetCard(0x5fbe) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
......@@ -3,7 +3,7 @@ local m=12042031
local cm=_G["c"..m]
function cm.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_LINK),2,99,cm.lcheck)
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2,99,cm.lcheck)
c:EnableReviveLimit()
--direct attack
local e1=Effect.CreateEffect(c)
......
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