@@ -24,10 +24,10 @@ function s.filter1(c,tp)
2424 return c :IsSummonPlayer (1 - tp ) and c :IsLocation (LOCATION_MZONE )
2525end
2626function s .condition (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
27- return eg :IsExists (s .filter1 ,1 ,nil ,tp ) and Duel .IsTurnPlayer (1 - tp )
27+ return eg :IsExists (s .filter1 ,1 ,nil ,tp ) and Duel .IsTurnPlayer (1 - tp ) and Duel . GetFlagEffect ( ep , id ) == 0
2828end
2929function s .condition2 (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
30- return ep == 1 - tp and Duel .IsTurnPlayer (1 - tp )
30+ return ep == 1 - tp and Duel .IsTurnPlayer (1 - tp ) and Duel . GetFlagEffect ( ep , id ) == 0
3131end
3232function s .cost (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
3333 if chk == 0 then return Duel .IsExistingMatchingCard (Card .IsAbleToGraveAsCost ,tp ,LOCATION_MZONE ,0 ,1 ,nil ) end
@@ -41,6 +41,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
4141 g = g :AddMaximumCheck ()
4242 local ct = Duel .SendtoGrave (g ,REASON_COST )
4343 if ct > 0 then
44+ Duel .RegisterFlagEffect (ep ,id ,RESET_PHASE |PHASE_END ,0 ,1 )
4445 -- can attack once
4546 local e1 = Effect .CreateEffect (e :GetHandler ())
4647 e1 :SetDescription (aux .Stringid (id ,2 ))
0 commit comments