@@ -16,6 +16,7 @@ function s.initial_effect(c)
1616 local e1b = Effect .CreateEffect (c )
1717 e1b :SetDescription (aux .Stringid (id ,1 ))
1818 e1b :SetType (EFFECT_TYPE_QUICK_O )
19+ e1b :SetProperty (EFFECT_FLAG_DAMAGE_STEP )
1920 e1b :SetCode (EVENT_CHAINING )
2021 e1b :SetRange (LOCATION_HAND )
2122 e1b :SetCondition (aux .damcon1 )
@@ -45,20 +46,17 @@ function s.nobattledamop(e,tp,eg,ep,ev,re,r,rp)
4546 Duel .RegisterEffect (e1 ,tp )
4647end
4748function s .noeffectdamop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
48- local c = e :GetHandler ()
49- if c :IsRelateToEffect (e ) then
50- -- Prevent effect damage
51- local cid = Duel .GetChainInfo (ev ,CHAININFO_CHAIN_ID )
52- local e1 = Effect .CreateEffect (c )
53- e1 :SetType (EFFECT_TYPE_FIELD )
54- e1 :SetCode (EFFECT_CHANGE_DAMAGE )
55- e1 :SetProperty (EFFECT_FLAG_PLAYER_TARGET )
56- e1 :SetTargetRange (1 ,0 )
57- e1 :SetLabel (cid )
58- e1 :SetValue (s .effdamval )
59- e1 :SetReset (RESET_CHAIN )
60- Duel .RegisterEffect (e1 ,tp )
61- end
49+ -- Prevent effect damage
50+ local cid = Duel .GetChainInfo (ev ,CHAININFO_CHAIN_ID )
51+ local e1 = Effect .CreateEffect (e :GetHandler ())
52+ e1 :SetType (EFFECT_TYPE_FIELD )
53+ e1 :SetProperty (EFFECT_FLAG_PLAYER_TARGET )
54+ e1 :SetCode (EFFECT_CHANGE_DAMAGE )
55+ e1 :SetTargetRange (1 ,0 )
56+ e1 :SetLabel (cid )
57+ e1 :SetValue (s .effdamval )
58+ e1 :SetReset (RESET_CHAIN )
59+ Duel .RegisterEffect (e1 ,tp )
6260end
6361function s .effdamval (e ,re ,val ,r ,rp ,rc )
6462 local cc = Duel .GetCurrentChain ()
0 commit comments