Commit c497789a authored by Tachibana's avatar Tachibana

eme

parent 4a96ba88
Pipeline #8489 passed with stages
in 20 minutes and 18 seconds
......@@ -56,7 +56,8 @@ end
function c24865314.spcon(e,tp,eg,ep,ev,re,r,rp)
local b1=Duel.GetCustomActivityCount(m,1-tp,ACTIVITY_CHAIN)
local b2=Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
and not Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil)end
function c24865314.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return
Duel.IsPlayerCanSpecialSummonCount(tp,1)
......
......@@ -59,7 +59,8 @@ end
function c24865315.spcon(e,tp,eg,ep,ev,re,r,rp)
local b1=Duel.GetCustomActivityCount(m,1-tp,ACTIVITY_CHAIN)
local b2=Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
and not Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil)end
function c24865315.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return
Duel.IsPlayerCanSpecialSummonCount(tp,1)
......
......@@ -59,7 +59,8 @@ end
function c24865316.spcon(e,tp,eg,ep,ev,re,r,rp)
local b1=Duel.GetCustomActivityCount(m,1-tp,ACTIVITY_CHAIN)
local b2=Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
and not Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil)end
function c24865316.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return
Duel.IsPlayerCanSpecialSummonCount(tp,1)
......
......@@ -64,7 +64,8 @@ end
function c24865317.spcon(e,tp,eg,ep,ev,re,r,rp)
local b1=Duel.GetCustomActivityCount(m,1-tp,ACTIVITY_CHAIN)
local b2=Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
and not Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil)end
function c24865317.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return
Duel.IsPlayerCanSpecialSummonCount(tp,1)
......
......@@ -56,7 +56,8 @@ end
function c24865318.spcon(e,tp,eg,ep,ev,re,r,rp)
local b1=Duel.GetCustomActivityCount(m,1-tp,ACTIVITY_CHAIN)
local b2=Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
and not Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil)end
function c24865318.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return
Duel.IsPlayerCanSpecialSummonCount(tp,1)
......
......@@ -49,7 +49,7 @@ function c24865320.lztg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c24865320.lzop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,nil,tp,0,LOCATION_MZONE,1,1,nil)
local g=Duel.SelectMatchingCard(tp,nil,tp,0,LOCATION_ONFIELD,1,1,nil)
if g:GetCount()>0 then
Duel.HintSelection(g)
Duel.Destroy(g,REASON_EFFECT)
......
......@@ -47,7 +47,8 @@ end
function c24865321.spcon(e,tp,eg,ep,ev,re,r,rp)
local b1=Duel.GetCustomActivityCount(m,1-tp,ACTIVITY_CHAIN)
local b2=Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
return (b1 + b2)>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
and not Duel.IsExistingMatchingCard(c9205573.cfilter,tp,LOCATION_MZONE,0,1,nil)end
function c24865321.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return
Duel.IsPlayerCanSpecialSummonCount(tp,1)
......@@ -56,16 +57,9 @@ function c24865321.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c24865321.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) and c:IsHasEffect(EFFECT_NECRO_VALLEY) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_REDIRECT)
e1:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e1,true)
end
local c=e:GetHandler()
if not c:IsRelateToEffect(e) and c:IsHasEffect(EFFECT_NECRO_VALLEY) then return end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
function c24865321.tnval(e,c)
return e:GetHandler():IsDefensePos()
......
......@@ -156,7 +156,7 @@ function cm.indtg(e,c)
end
function cm.attg(e,c)
return c:GetCounter(0x1015)~=0
return c:GetCounter(0x1015)>=3
end
function cm.maop(e,tp,eg,ep,ev,re,r,rp)
......
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