Commit d41c296e authored by Tachibana's avatar Tachibana

eme

parent 4f4829d1
Pipeline #6070 passed with stages
in 29 minutes and 54 seconds
......@@ -13,7 +13,7 @@ function c9300004.initial_effect(c)
end
function c9300004.filter1(c,e,tp)
local lv=c:GetLevel()
return c:IsFaceup() and c:IsLevelAbove(2)
return c:IsFaceup() and c:IsLevelAbove(2) and lv()%2==0
and Duel.IsExistingMatchingCard(c9300004.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c,lv,c:GetRace(),c:GetAttribute())
and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
end
......@@ -31,10 +31,11 @@ function c9300004.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c9300004.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if not aux.MustMaterialCheck(tc,tp,EFFECT_MUST_BE_XMATERIAL) then return end
local lv=tc:GetLevel()
if not aux.MustMaterialCheck(tc,tp,EFFECT_MUST_BE_XMATERIAL) or not lv()%2==0 then return end
if tc:IsFacedown() or not tc:IsRelateToEffect(e) or tc:IsControler(1-tp) or tc:IsImmuneToEffect(e) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c9300004.filter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc,tc:GetLevel(),tc:GetRace(),tc:GetAttribute())
local g=Duel.SelectMatchingCard(tp,c9300004.filter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc,lv,tc:GetRace(),tc:GetAttribute())
local sc=g:GetFirst()
if sc then
local mg=tc:GetOverlayGroup()
......
......@@ -32,10 +32,11 @@ function c9300010.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c9300010.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if not aux.MustMaterialCheck(tc,tp,EFFECT_MUST_BE_XMATERIAL) then return end
local rk=tc:GetRank()
if not aux.MustMaterialCheck(tc,tp,EFFECT_MUST_BE_XMATERIAL) or not rk>1 then return end
if tc:IsFacedown() or not tc:IsRelateToEffect(e) or tc:IsImmuneToEffect(e) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c9300010.filter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc,tc:GetRank(),tc:GetRace(),tc:GetAttribute())
local g=Duel.SelectMatchingCard(tp,c9300010.filter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc,rk,tc:GetRace(),tc:GetAttribute())
local sc=g:GetFirst()
if sc then
local mg=tc:GetOverlayGroup()
......
--深土之物 人身单调鸥
function c9310011.initial_effect(c)
c:EnableReviveLimit()
aux.AddCodeList(c,30013000)
--ritual summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
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