Commit a3e168ee authored by 八宫一月's avatar 八宫一月

fix--銀河眼の時源竜。

修复如果无法进行选择(即都不能特殊召唤)会把自身送去墓地然后从墓地特殊召唤的bug。
parent 9ab6b80f
...@@ -50,20 +50,11 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,20 +50,11 @@ function s.spop(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 b1=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) local b1=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
local b2=Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,1-tp) local b2=Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,1-tp)
local op=0 local toplayer=aux.SelectFromOptions(tp,
if b1 and b2 then {b1,aux.Stringid(id,3),tp},
op=Duel.SelectOption(tp,aux.Stringid(id,3),aux.Stringid(id,4)) {b2,aux.Stringid(id,4),1-tp})
elseif b1 then if toplayer~=nil then
op=Duel.SelectOption(tp,aux.Stringid(id,3)) Duel.SpecialSummon(c,0,tp,toplayer,false,false,POS_FACEUP)
elseif b2 then
op=Duel.SelectOption(tp,aux.Stringid(id,4))+1
else
Duel.SendtoGrave(c,REASON_RULE)
end
if op==0 then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
else
Duel.SpecialSummon(c,0,tp,1-tp,false,false,POS_FACEUP)
end end
end end
function s.thfilter(c) function s.thfilter(c)
......
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