Commit 3d7fa06c authored by Tachibana's avatar Tachibana

ndyd

parent 6b8984b3
...@@ -44,9 +44,10 @@ end ...@@ -44,9 +44,10 @@ end
function c85400100.op(e,tp,eg,ep,ev,re,r,rp) function c85400100.op(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) 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 if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,true,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,true,false,POS_FACEUP)
Duel.Hint(HINT_SOUND,0,aux.Stringid(85400100,2))
end end
end end
function c85400100.glq(c) function c85400100.glq(c)
...@@ -65,6 +66,7 @@ function c85400100.zx(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,6 +66,7 @@ function c85400100.zx(e,tp,eg,ep,ev,re,r,rp)
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then if tc and tc:IsRelateToEffect(e) then
Duel.Hint(HINT_SOUND,0,aux.Stringid(85400100,3))
if Duel.GetControl (tc,tp)~=0 then if Duel.GetControl (tc,tp)~=0 then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -139,10 +141,10 @@ function c85400100.bf(e,tp,eg,ep,ev,re,r,rp) ...@@ -139,10 +141,10 @@ function c85400100.bf(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c85400100.aa(e,tp,eg,ep,ev,re,r,rp,chk,chkc) 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 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_HAND+LOCATION_DECK,0,1,nil) 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) 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.SetOperationInfo(0,CATEGORY_SEARCH,g,1,0,0)
Duel.SSet(tp,g) Duel.SSet(tp,g)
end 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