Commit 5191902f authored by wind2009's avatar wind2009

Fix 冥帝王エイドス

parent b009e849
Pipeline #33578 passed with stages
in 1 minute and 14 seconds
...@@ -90,7 +90,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -90,7 +90,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToChain() or not aux.NecroValleyFilter()(c) then return end
local b1=c:IsAbleToHand() local b1=c:IsAbleToHand()
local b2=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) local b2=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
local op=aux.SelectFromOptions(tp,{b1,1190,1},{b2,1152,2}) local op=aux.SelectFromOptions(tp,{b1,1190,1},{b2,1152,2})
...@@ -100,4 +100,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -100,4 +100,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
elseif op==2 then elseif op==2 then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end end
end end
\ No newline at end of file
...@@ -96,4 +96,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,4 +96,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
end end
function s.splimit(e,c) function s.splimit(e,c)
return c:IsLocation(LOCATION_EXTRA) return c:IsLocation(LOCATION_EXTRA)
end end
\ No newline at end of file
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