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)
end
function c33502613.ofilter2(c,e,tp)
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)
end
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)
--atk 0
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SET_ATTACK)
e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetValue(0)
e1:SetReset(RESET_PHASE+PHASE_END)
......
......@@ -103,23 +103,25 @@ function c9330019.cfilter(c)
end
function c9330019.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:GetFlagEffect(9330019)==0 and
((Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,1-tp))
or (Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c9330019.cfilter,tp,LOCATION_ONFIELD,0,1,nil)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false))) end
c:RegisterFlagEffect(9330019,RESET_CHAIN,0,1)
local p=e:GetHandler():GetControler()
if chk==0 then return c:GetFlagEffect(9330021)==0 and
((Duel.GetLocationCount(1-p,LOCATION_MZONE)>0
and c:IsCanBeSpecialSummoned(e,0,p,false,false,1-p))
or (Duel.GetLocationCount(p,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c9330019.cfilter,p,LOCATION_ONFIELD,0,1,nil)
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)
end
function c9330019.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local p=e:GetHandler():GetControler()
if not c:IsRelateToEffect(e) then return end
if Duel.IsExistingMatchingCard(c9330019.cfilter,tp,LOCATION_ONFIELD,0,1,nil)
and Duel.SelectYesNo(tp,aux.Stringid(9330019,0)) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
if Duel.IsExistingMatchingCard(c9330019.cfilter,p,LOCATION_ONFIELD,0,1,nil)
and Duel.SelectYesNo(p,aux.Stringid(9330019,0)) then
Duel.SpecialSummon(c,0,p,p,false,false,POS_FACEUP)
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
function c9330019.limop(e,tp,eg,ep,ev,re,r,rp,c)
......@@ -129,7 +131,7 @@ function c9330019.limop(e,tp,eg,ep,ev,re,r,rp,c)
e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetTarget(c9330019.atktg)
e1:SetReset(RESET_PHASE+PHASE_END)
end
end
function c9330019.atktg(e,c)
return not c:IsSetCard(0xaf93)
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