Commit f02951e9 authored by POLYMER's avatar POLYMER

fix

parent b20d9921
......@@ -33,7 +33,7 @@ function c22020900.atkcon2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,22020910)
end
function c22020900.filter(c,e,tp,zone)
return c:IsLevelBelow(4) and c:IsSetCard(0x2ff1) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,tp,zone)
return c:IsLevelBelow(4) and c:IsSetCard(0x6ff1) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,tp,zone)
end
function c22020900.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
......
......@@ -18,6 +18,7 @@ function c22021340.initial_effect(c)
e2:SetCondition(c22021340.handcon)
c:RegisterEffect(e2)
end
c22021340.effect_with_altria=true
function c22021340.condition(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainNegatable(ev)
end
......
......@@ -4,7 +4,7 @@ function c22022460.initial_effect(c)
c:EnableReviveLimit()
--material
aux.AddMaterialCodeList(c,22020850)
aux.AddFusionProcFunRep(c,c22022440.ffilter,9,true)
aux.AddFusionProcFunRep(c,c22022460.ffilter,9,true)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -71,6 +71,9 @@ function c22022460.initial_effect(c)
e6:SetOperation(c22022460.disop)
c:RegisterEffect(e6)
end
function c22022460.ffilter(c)
return c:IsCode(22020850) or aux.IsCodeListed(c,22020850)
end
function c22022460.spfilter(c,e,tp)
return (c:IsCode(22020850) or aux.IsCodeListed(c,22020850)) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
......@@ -8,11 +8,19 @@ function c22023380.initial_effect(c)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,22023380)
e1:SetCondition(c22023380.descon)
e1:SetCost(c22023380.cost)
e1:SetTarget(c22023380.target)
e1:SetOperation(c22023380.operation)
c:RegisterEffect(e1)
end
function c22023380.descfilter(c)
return c:IsSetCard(0xff1)
end
function c22023380.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c22023380.descfilter,tp,LOCATION_HAND,0,1,e:GetHandler())
end
function c22023380.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() 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