Commit 1375906a authored by Tachibana's avatar Tachibana

eme

parent 3503662a
Pipeline #5941 passed with stages
in 25 minutes and 8 seconds
......@@ -242,6 +242,7 @@ function cm.spsumop(e,tp,eg,ep,ev,re,r,rp)
e15:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL)
token:RegisterEffect(e15,true)
end
if not sc.link then return end
tc=Duel.SelectMatchingCard(tp,tenkai.linkfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil,sc:GetCode()):GetFirst()
sc.link(sc,c,sc:GetCode(),tc)
tc:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD,0,0)
......
......@@ -8,6 +8,7 @@ function c9310028.initial_effect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
e0:SetRange(LOCATION_EXTRA)
e0:SetValue(c9310028.splimit)
c:RegisterEffect(e0)
--spsummon2
......@@ -42,7 +43,7 @@ function c9310028.initial_effect(c)
c:RegisterEffect(e3)
end
function c9310028.splimit(e,se,sp,st)
return e:GetHandler():GetLocation()~=LOCATION_EXTRA
return not se or not se:IsHasType(EFFECT_TYPE_ACTIONS)
end
function c9310028.spfilter2(c,e,tp)
return c:IsLevelBelow(4) and c:IsSetCard(0xa780,0x3f91) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
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