Commit 59a0a6b1 authored by Tachibana's avatar Tachibana

sign out

parent 7db2597a
Pipeline #2959 passed with stages
in 25 minutes and 36 seconds
......@@ -114,14 +114,14 @@ function cm.tfilter2(c,mc)
return mc:IsType(TYPE_XYZ) and c:IsCanOverlay() and c:IsSetCard(0x1ce1) and c:IsType(TYPE_MONSTER)
end
function cm.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,2,nil,e:GetHandler()) end
if chk==0 then return Duel.IsExistingMatchingCard(aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,e:GetHandler()) end
end
--
function cm.op2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsType(TYPE_XYZ) then return end
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(m,4))
local sg=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,2,2,nil,c)
local sg=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,c)
if sg:GetCount()>0 then
Duel.Overlay(c,sg)
end
......
......@@ -109,14 +109,14 @@ function cm.tfilter2(c,mc)
return mc:IsType(TYPE_XYZ) and c:IsCanOverlay() and c:IsSetCard(0x1ce1) and c:IsType(TYPE_MONSTER)
end
function cm.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,2,nil,e:GetHandler()) end
if chk==0 then return Duel.IsExistingMatchingCard(aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,e:GetHandler()) end
end
--
function cm.op2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsType(TYPE_XYZ) then return end
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(m,4))
local sg=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,2,2,nil,c)
local sg=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(cm.tfilter2),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,c)
if sg:GetCount()>0 then
Duel.Overlay(c,sg)
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