Commit 317f210b authored by Tachibana's avatar Tachibana

1145141919810

parent 2a7c3374
Pipeline #14197 passed with stages
in 35 minutes and 24 seconds
......@@ -79,6 +79,9 @@ function c17032940.atkop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1)
end
end
function c17032940.rcfilter(c)
return c:IsSetCard(0xa7f3) and c:IsType(TYPE_MONSTER)
end
function c17032940.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
......@@ -87,7 +90,7 @@ function c17032940.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c17032940.damop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
local dg=Duel.GetMatchingGroupCount(c17032940.cfilter,tp,LOCATION_GRAVE,0,nil)
local dg=Duel.GetMatchingGroup(c17032940.rcfilter,tp,LOCATION_GRAVE,0,nil)
local ct=dg:GetClassCount(Card.GetCode)
if g:GetCount()>0 then
local tg=g:GetMinGroup(Card.GetAttack)
......
......@@ -49,8 +49,7 @@ function c67200602.psfilter(c)
return c:IsSetCard(0x677) and c:IsType(TYPE_PENDULUM) and c:IsType(TYPE_RITUAL) and not c:IsForbidden() and not c:IsCode(67200602)
end
function c67200602.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))
and Duel.IsExistingMatchingCard(c67200602.psfilter,tp,LOCATION_EXTRA+LOCATION_DECK,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c67200602.psfilter,tp,LOCATION_EXTRA+LOCATION_DECK,0,1,nil) end
end
function c67200602.stop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return end
......
......@@ -50,8 +50,7 @@ function c67200604.psfilter(c)
return c:IsSetCard(0x677) and c:IsType(TYPE_PENDULUM) and c:IsType(TYPE_RITUAL) and not c:IsForbidden() and not c:IsCode(67200604)
end
function c67200604.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))
and Duel.IsExistingMatchingCard(c67200604.psfilter,tp,LOCATION_EXTRA,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c67200604.psfilter,tp,LOCATION_EXTRA,0,1,nil) end
end
function c67200604.stop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return end
......
......@@ -50,8 +50,7 @@ function c67200606.psfilter(c)
return c:IsSetCard(0x677) and c:IsType(TYPE_PENDULUM) and c:IsType(TYPE_RITUAL) and not c:IsForbidden() and not c:IsCode(67200606)
end
function c67200606.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))
and Duel.IsExistingMatchingCard(c67200606.psfilter,tp,LOCATION_DECK,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c67200606.psfilter,tp,LOCATION_DECK,0,1,nil) end
end
function c67200606.stop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return 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