Commit 8e369d2b authored by Tachibana's avatar Tachibana

eme

parent 8fb85fa9
Pipeline #7273 passed with stages
in 43 minutes and 9 seconds
......@@ -151,7 +151,7 @@ function Sr_skyland.commoneffect_spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.RegisterEffect(e1,tp)
end
function Sr_skyland.splimit1(e,c,tp,sumtp,sumpos)
return not c:IsType(TYPE_NORMAL) and not c:IsLocation(LOCATION_EXTRA)
return not c:IsLevel(1) and not c:IsLocation(LOCATION_EXTRA)
end
--天境 机动腕的卡雷
if not cm then return end
......
......@@ -7,7 +7,7 @@ function c9330005.initial_effect(c)
aux.AddFusionProcCodeFun(c,9330001,c9330005.mfilter,1,true,true)
aux.AddContactFusionProcedure(c,Card.IsAbleToGraveAsCost,LOCATION_MZONE,0,Duel.SendtoGrave,REASON_COST+REASON_MATERIAL)
--change name
aux.EnableChangeCode(c,9330001,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,9330001,LOCATION_ONFIELD+LOCATION_GRAVE)
--spsummon condition
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -3,7 +3,7 @@ function c9330007.initial_effect(c)
aux.AddCodeList(c,9330001)
c:EnableReviveLimit()
--change name
aux.EnableChangeCode(c,9330001,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,9330001,LOCATION_ONFIELD+LOCATION_GRAVE)
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -117,23 +117,6 @@ function c9330009.setop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function c57416183.spfilter(c,e,tp)
return c:IsSetCard(0x133) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
function c57416183.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c57416183.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,e:GetHandler(),e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_GRAVE)
end
function c57416183.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c57416183.spfilter),tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp)
local tc=g:GetFirst()
if tc then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end
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