Commit 3d7fa06c authored by Tachibana's avatar Tachibana

ndyd

parent 6b8984b3
Pipeline #5046 passed with stages
in 26 minutes and 50 seconds
......@@ -44,9 +44,10 @@ end
function c85400100.op(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c85400100.filter),tp,LOCATION_HAND+LOCATION_GRAVE+LOCATION_REMOVED+LOCATION_OVERLAY+LOCATION_DECK,0,1,1,nil,e,tp)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c85400100.filter),tp,LOCATION_HAND+LOCATION_GRAVE+LOCATION_REMOVED+LOCATION_DECK,0,1,1,nil,e,tp)
if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,true,false,POS_FACEUP)
Duel.Hint(HINT_SOUND,0,aux.Stringid(85400100,2))
end
end
function c85400100.glq(c)
......@@ -65,6 +66,7 @@ function c85400100.zx(e,tp,eg,ep,ev,re,r,rp)
if not c:IsRelateToEffect(e) then return end
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
Duel.Hint(HINT_SOUND,0,aux.Stringid(85400100,3))
if Duel.GetControl (tc,tp)~=0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -139,10 +141,10 @@ function c85400100.bf(e,tp,eg,ep,ev,re,r,rp)
end
end
function c85400100.aa(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_DECK+LOCATION_HAND) and c85400100.ggggg(chk) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(c85400100.ggggg,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil) end
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_DECK) and c85400100.ggggg(chk) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(c85400100.ggggg,tp,LOCATION_DECK,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,c85400100.ggggg,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c85400100.ggggg,tp,LOCATION_DECK,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_SEARCH,g,1,0,0)
Duel.SSet(tp,g)
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