5050function s .spcon (e ,c )
5151 if c == nil then return true end
5252 local tp = e :GetHandlerPlayer ()
53- local rg1 = Duel .GetMatchingGroup (s .spfilter ,tp ,LOCATION_MZONE + LOCATION_GRAVE ,0 ,nil ,ATTRIBUTE_LIGHT ,RACE_WARRIOR )
54- local rg2 = Duel .GetMatchingGroup (s .spfilter ,tp ,LOCATION_MZONE + LOCATION_GRAVE ,0 ,nil ,ATTRIBUTE_DARK ,RACE_FIEND )
53+ local rg1 = Duel .GetMatchingGroup (s .spfilter ,tp ,LOCATION_MZONE | LOCATION_GRAVE ,0 ,nil ,ATTRIBUTE_LIGHT ,RACE_WARRIOR )
54+ local rg2 = Duel .GetMatchingGroup (s .spfilter ,tp ,LOCATION_MZONE | LOCATION_GRAVE ,0 ,nil ,ATTRIBUTE_DARK ,RACE_FIEND )
5555 local rg = rg1 :Clone ()
5656 rg :Merge (rg2 )
5757 local ft = Duel .GetLocationCount (tp ,LOCATION_MZONE )
6060function s .sptg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,c )
6161 local c = e :GetHandler ()
6262 local g = nil
63- local rg = Duel .GetMatchingGroup (s .spfilter1 ,tp ,LOCATION_MZONE + LOCATION_GRAVE ,0 ,nil ,ATTRIBUTE_LIGHT + ATTRIBUTE_DARK ,RACE_WARRIOR + RACE_FIEND )
63+ local rg = Duel .GetMatchingGroup (s .spfilter1 ,tp ,LOCATION_MZONE | LOCATION_GRAVE ,0 ,nil ,ATTRIBUTE_LIGHT + ATTRIBUTE_DARK ,RACE_WARRIOR + RACE_FIEND )
6464 local g = aux .SelectUnselectGroup (rg ,e ,tp ,2 ,2 ,s .rescon ,1 ,tp ,HINTMSG_REMOVE ,nil ,nil ,true )
6565 if # g > 0 then
6666 g :KeepAlive ()
@@ -81,12 +81,12 @@ function s.sgcost(e,tp,eg,ep,ev,re,r,rp,chk)
8181end
8282function s .sgtg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
8383 if chk == 0 then return true end
84- local g = Duel .GetMatchingGroup (Card .IsAbleToRemove ,tp ,0 ,LOCATION_HAND + LOCATION_ONFIELD + LOCATION_GRAVE ,e :GetHandler ())
84+ local g = Duel .GetMatchingGroup (Card .IsAbleToRemove ,tp ,0 ,LOCATION_HAND | LOCATION_ONFIELD | LOCATION_GRAVE ,e :GetHandler ())
8585 Duel .SetOperationInfo (0 ,CATEGORY_REMOVE ,g ,# g ,0 ,0 )
8686 Duel .SetOperationInfo (0 ,CATEGORY_DAMAGE ,0 ,0 ,1 - tp ,# g * 500 )
8787end
8888function s .sgop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
89- local g = Duel .GetMatchingGroup (Card .IsAbleToRemove ,tp ,0 ,LOCATION_HAND + LOCATION_ONFIELD + LOCATION_GRAVE ,e :GetHandler ())
89+ local g = Duel .GetMatchingGroup (Card .IsAbleToRemove ,tp ,0 ,LOCATION_HAND | LOCATION_ONFIELD | LOCATION_GRAVE ,e :GetHandler ())
9090 Duel .Remove (g ,POS_FACEUP ,REASON_EFFECT )
9191 local og = Duel .GetOperatedGroup ()
9292 local ct = og :FilterCount (Card .IsLocation ,nil ,LOCATION_REMOVED )
0 commit comments