Commit bc6120df authored by wind2009's avatar wind2009

Fix マルチャミー・ニャルス

parent 8c17351a
Pipeline #30772 passed with stages
in 1 minute and 35 seconds
...@@ -76,6 +76,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,6 +76,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.filter(c,sp) function s.filter(c,sp)
return c:IsSummonPlayer(sp) and c:IsSummonLocation(LOCATION_GRAVE+LOCATION_REMOVED) return c:IsSummonPlayer(sp) and c:IsSummonLocation(LOCATION_GRAVE+LOCATION_REMOVED)
and c:GetOriginalType()&TYPE_MONSTER>0
end end
function s.drcon1(e,tp,eg,ep,ev,re,r,rp) function s.drcon1(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.filter,1,nil,1-tp) return eg:IsExists(s.filter,1,nil,1-tp)
......
...@@ -62,7 +62,7 @@ end ...@@ -62,7 +62,7 @@ end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(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(s.spfilter),tp,0,LOCATION_GRAVE,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.spfilter),tp,0,LOCATION_GRAVE,1,1,nil,e,tp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
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