@@ -22,8 +22,8 @@ function s.initial_effect(c)
2222 local e3 = Effect .CreateEffect (c )
2323 e3 :SetDescription (aux .Stringid (id ,1 ))
2424 e3 :SetType (EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_O )
25- e3 :SetCode (EVENT_FLIP )
2625 e3 :SetProperty (EFFECT_FLAG_CARD_TARGET + EFFECT_FLAG_DAMAGE_STEP )
26+ e3 :SetCode (EVENT_FLIP )
2727 e3 :SetTarget (s .settg )
2828 e3 :SetOperation (s .setop )
2929 c :RegisterEffect (e3 )
@@ -60,10 +60,10 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
6060 local tc = Duel .SelectTarget (tp ,s .setfilter ,tp ,LOCATION_GRAVE ,0 ,1 ,1 ,nil ,e ,tp ):GetFirst ()
6161 if tc :IsMonster () then
6262 e :SetCategory (CATEGORY_SPECIAL_SUMMON )
63- Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,g ,1 ,tp ,LOCATION_GRAVE )
63+ Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,tc ,1 ,tp ,LOCATION_GRAVE )
6464 elseif tc :IsSpellTrap () then
6565 e :SetCategory (0 )
66- Duel .SetOperationInfo (0 ,CATEGORY_LEAVE_GRAVE ,g ,1 ,tp ,LOCATION_GRAVE )
66+ Duel .SetOperationInfo (0 ,CATEGORY_LEAVE_GRAVE ,tc ,1 ,tp ,LOCATION_GRAVE )
6767 end
6868end
6969function s .setop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
@@ -103,7 +103,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
103103 Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_POSCHANGE )
104104 local g = Duel .SelectMatchingCard (tp ,Card .IsCanTurnSet ,tp ,0 ,LOCATION_MZONE ,1 ,ct ,nil )
105105 Duel .HintSelection (g )
106- Duel .ChangePosition (g ,POS_FACEDOWN_DEFENSE )
106+ Duel .ChangePosition (g ,POS_FACEDOWN_DEFENSE )
107107 end
108108 end
109109end
0 commit comments