Commit 11a3cf93 authored by nanahira's avatar nanahira

fix avatar

parent bdb3b58c
......@@ -35,6 +35,14 @@ function c21208154.initial_effect(c)
e6:SetCode(EVENT_SUMMON_SUCCESS)
e6:SetOperation(c21208154.regop)
c:RegisterEffect(e6)
--check
local e7=Effect.CreateEffect(c)
e7:SetType(EFFECT_TYPE_SINGLE)
e7:SetCode(21208154)
e7:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e7:SetRange(LOCATION_MZONE)
e7:SetValue(1)
c:RegisterEffect(e7)
end
function c21208154.ttcon(e,c,minc)
if c==nil then return true end
......@@ -46,7 +54,7 @@ function c21208154.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_SUMMON+REASON_MATERIAL)
end
function c21208154.filter(c)
return c:IsFaceup() and c:GetCode()~=21208154
return c:IsFaceup() and c:GetCode()~=21208154 and not c:IsHasEffect(21208154)
end
function c21208154.adval(e,c)
local g=Duel.GetMatchingGroup(c21208154.filter,0,LOCATION_MZONE,LOCATION_MZONE,nil)
......
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