Commit f4a57855 authored by Tachibana's avatar Tachibana

eme

parent f4157829
Pipeline #9001 passed with stages
in 36 minutes and 4 seconds
...@@ -41,7 +41,7 @@ function c33502613.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -41,7 +41,7 @@ function c33502613.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c33502613.ofilter2(c,e,tp) function c33502613.ofilter2(c,e,tp)
return c:IsLocation(LOCATION_GRAVE) return c:IsLocation(LOCATION_GRAVE)
and c:IsRace(RACE_BEAST) and c:IsType(TYPE_MONSTER) and c:IsRace(RACE_BEAST) and c:IsType(TYPE_MONSTER) and c:IsLevel(2)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
end end
function c33502613.op2(e,tp,eg,ep,ev,re,r,rp) function c33502613.op2(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -49,7 +49,7 @@ function c64800111.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,7 @@ function c64800111.spop(e,tp,eg,ep,ev,re,r,rp)
--atk 0 --atk 0
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SET_ATTACK) e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetTargetRange(0,LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetValue(0) e1:SetValue(0)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
......
...@@ -103,23 +103,25 @@ function c9330019.cfilter(c) ...@@ -103,23 +103,25 @@ function c9330019.cfilter(c)
end end
function c9330019.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c9330019.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return c:GetFlagEffect(9330019)==0 and local p=e:GetHandler():GetControler()
((Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 if chk==0 then return c:GetFlagEffect(9330021)==0 and
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,1-tp)) ((Duel.GetLocationCount(1-p,LOCATION_MZONE)>0
or (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,p,false,false,1-p))
and Duel.IsExistingMatchingCard(c9330019.cfilter,tp,LOCATION_ONFIELD,0,1,nil) or (Duel.GetLocationCount(p,LOCATION_MZONE)>0
and c:IsCanBeSpecialSummoned(e,0,tp,false,false))) end and Duel.IsExistingMatchingCard(c9330019.cfilter,p,LOCATION_ONFIELD,0,1,nil)
c:RegisterFlagEffect(9330019,RESET_CHAIN,0,1) and c:IsCanBeSpecialSummoned(e,0,p,false,false))) end
c:RegisterFlagEffect(9330021,RESET_CHAIN,0,1)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end end
function c9330019.spop(e,tp,eg,ep,ev,re,r,rp) function c9330019.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local p=e:GetHandler():GetControler()
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
if Duel.IsExistingMatchingCard(c9330019.cfilter,tp,LOCATION_ONFIELD,0,1,nil) if Duel.IsExistingMatchingCard(c9330019.cfilter,p,LOCATION_ONFIELD,0,1,nil)
and Duel.SelectYesNo(tp,aux.Stringid(9330019,0)) then and Duel.SelectYesNo(p,aux.Stringid(9330019,0)) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,p,p,false,false,POS_FACEUP)
else else
Duel.SpecialSummon(c,0,tp,1-tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,p,1-p,false,false,POS_FACEUP)
end end
end end
function c9330019.limop(e,tp,eg,ep,ev,re,r,rp,c) function c9330019.limop(e,tp,eg,ep,ev,re,r,rp,c)
......
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