Skip to content

Commit 753f205

Browse files
committed
fixed Gateway to the Wooly Wunderworld
fixed interaction with Maximum Mode monsters
1 parent e30d5f4 commit 753f205

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rush/c160216025.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function s.cfilter(c)
2727
return c:IsMonster() and c:IsAbleToDeckOrExtraAsCost()
2828
end
2929
function s.tgfilter(c)
30-
return c:IsFaceup() and c:IsRace(RACE_BEAST)
30+
return c:IsFaceup() and c:IsRace(RACE_BEAST) and c:IsNotMaximumModeSide()
3131
end
3232
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
3333
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_MZONE,0,1,nil) end
@@ -38,6 +38,7 @@ function s.operation(fustg,fusop)
3838
--Effect
3939
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
4040
local g=Duel.SelectMatchingCard(tp,s.tgfilter,tp,LOCATION_MZONE,0,1,1,nil)
41+
g=g:AddMaximumCheck()
4142
Duel.HintSelection(g)
4243
if Duel.SendtoGrave(g,REASON_EFFECT)==0 then return end
4344
if fustg(e,tp,eg,ep,ev,re,r,rp,0) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then

0 commit comments

Comments
 (0)