Commit b0949f65 authored by Tachibana's avatar Tachibana

eme

parent e7a6f2f1
Pipeline #6408 passed with stages
in 30 minutes and 8 seconds
...@@ -40,9 +40,13 @@ function c12301102.initial_effect(c) ...@@ -40,9 +40,13 @@ function c12301102.initial_effect(c)
e3:SetOperation(c12301102.epop) e3:SetOperation(c12301102.epop)
e3:SetCountLimit(1) e3:SetCountLimit(1)
c:RegisterEffect(e3) c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(12301102,ACTIVITY_SPSUMMON,c12301102.counterfilter) Duel.AddCustomActivityCounter(12301102,ACTIVITY_SPSUMMON,c12301102.countfilb)
Duel.AddCustomActivityCounter(12301103,ACTIVITY_SPSUMMON,c12301102.countfiln)
end end
function c12301102.counterfilter(c) function c12301102.countfilb(c)
return not c:IsSetCard(0x2d5)
end
function c12301102.countfiln(c)
return c:IsSetCard(0x2d5) return c:IsSetCard(0x2d5)
end end
function c12301102.filaccs(c) function c12301102.filaccs(c)
...@@ -81,7 +85,7 @@ function c12301102.yxva(e,re) ...@@ -81,7 +85,7 @@ function c12301102.yxva(e,re)
end end
-- --
function c12301102.epcon(e,tp,eg,ep,ev,re,r,rp) function c12301102.epcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCustomActivityCount(42790071,tp,ACTIVITY_SPSUMMON)==0 return Duel.GetCustomActivityCount(12301102,tp,ACTIVITY_SPSUMMON)>0 and Duel.GetCustomActivityCount(12301103,tp,ACTIVITY_SPSUMMON)<1
end end
function c12301102.filep(c) function c12301102.filep(c)
return c:IsSetCard(0x2d5) and c:IsAbleToHand() return c:IsSetCard(0x2d5) and c:IsAbleToHand()
......
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