@@ -49,10 +49,11 @@ function s.spcon(e,c)
4949 and Duel .IsExistingMatchingCard (s .spconfilter ,0 ,LOCATION_MZONE ,LOCATION_MZONE ,1 ,nil )
5050end
5151function s .rmtg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk ,chkc )
52+ local exg = e :GetHandler ():GetEquipGroup ()
5253 if chkc then return chkc :IsOnField () and chkc :IsControler (1 - tp ) and chkc :IsSpellTrap () and chkc :IsAbleToRemove () end
53- if chk == 0 then return Duel .IsExistingTarget (aux .AND (Card .IsSpellTrap ,Card .IsAbleToRemove ),tp ,0 ,LOCATION_ONFIELD ,1 ,nil ) end
54+ if chk == 0 then return Duel .IsExistingTarget (aux .AND (Card .IsSpellTrap ,Card .IsAbleToRemove ),tp ,0 ,LOCATION_ONFIELD ,1 ,exg ) end
5455 Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_REMOVE )
55- local g = Duel .SelectTarget (tp ,aux .AND (Card .IsSpellTrap ,Card .IsAbleToRemove ),tp ,0 ,LOCATION_ONFIELD ,1 ,1 ,nil )
56+ local g = Duel .SelectTarget (tp ,aux .AND (Card .IsSpellTrap ,Card .IsAbleToRemove ),tp ,0 ,LOCATION_ONFIELD ,1 ,1 ,exg )
5657 Duel .SetOperationInfo (0 ,CATEGORY_REMOVE ,g ,1 ,tp ,0 )
5758end
5859function s .rmop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
0 commit comments