Skip to content

Commit 1aa7370

Browse files
authored
"Regulus' Arrow" fix
The GY effect wasn't checking that the player had an available Monster Zone.
1 parent 5ce10d5 commit 1aa7370

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pre-release/c100450020.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ function s.spfilter(c,e,tp)
7272
end
7373
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
7474
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and s.spfilter(chkc,e,tp) end
75-
if chk==0 then return Duel.IsExistingTarget(s.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
75+
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
76+
and Duel.IsExistingTarget(s.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
7677
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7778
local g=Duel.SelectTarget(tp,s.spfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
7879
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,tp,0)
@@ -82,4 +83,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
8283
if tc:IsRelateToEffect(e) then
8384
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
8485
end
85-
end
86+
end

0 commit comments

Comments
 (0)