33local s ,id = GetID ()
44function s .initial_effect (c )
55 c :EnableReviveLimit ()
6- -- Fusion Summon Procedure
6+ -- Fusion Materials: "Fluffal Sheep" + "Edge Imp Chain"
77 Fusion .AddProcMix (c ,true ,true ,98280324 ,61173621 )
8- -- Your opponent cannot activate Spell/Trap cards and their effects until the end of the Battle Phase
8+ -- Your opponent cannot activate Spell/Trap cards until the end of the Battle Phase
99 local e1 = Effect .CreateEffect (c )
1010 e1 :SetDescription (aux .Stringid (id ,0 ))
11- e1 :SetType (EFFECT_TYPE_QUICK_O )
11+ e1 :SetType (EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_O )
1212 e1 :SetCode (EVENT_ATTACK_ANNOUNCE )
1313 e1 :SetHintTiming (TIMING_BATTLE_PHASE )
1414 e1 :SetRange (LOCATION_MZONE )
1515 e1 :SetCountLimit (1 ,0 ,EFFECT_COUNT_CODE_CHAIN )
16- e1 :SetCondition (s . accon )
17- e1 :SetOperation (s .acop )
16+ e1 :SetCondition (function ( e ) return Duel . GetAttacker () == e : GetHandler () and not e : GetHandler (): HasFlagEffect ( id ) end )
17+ e1 :SetOperation (s .actop )
1818 c :RegisterEffect (e1 )
1919end
20- function s .accon (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
21- return Duel .GetAttackTarget ()== e :GetHandler () and not e :GetHandler ():HasFlagEffect (id )
22- end
23- function s .acop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
20+ s .material_setcode = {SET_FLUFFAL ,SET_EDGE_IMP }
21+ function s .actop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2422 local c = e :GetHandler ()
2523 c :RegisterFlagEffect (id ,RESET_EVENT |RESETS_STANDARD |RESET_PHASE |PHASE_BATTLE ,0 ,1 )
26- -- Prevent activations until the end of the Battle Phase
24+ -- Prevent Spell/Trap Card activations until the end of the Battle Phase
2725 local e1 = Effect .CreateEffect (c )
2826 e1 :SetType (EFFECT_TYPE_FIELD )
29- e1 :SetCode (EFFECT_CANNOT_ACTIVATE )
3027 e1 :SetProperty (EFFECT_FLAG_PLAYER_TARGET )
28+ e1 :SetCode (EFFECT_CANNOT_ACTIVATE )
3129 e1 :SetTargetRange (0 ,1 )
32- e1 :SetValue (s . aclimit )
30+ e1 :SetValue (function ( e , re , tp ) return re : IsHasType ( EFFECT_TYPE_ACTIVATE ) end )
3331 e1 :SetReset (RESET_PHASE |PHASE_BATTLE )
3432 Duel .RegisterEffect (e1 ,tp )
35- end
36- function s .aclimit (e ,re ,tp )
37- return re :IsHasType (EFFECT_TYPE_ACTIVATE )
38- end
33+ end
0 commit comments