Commit cc1b7ad2 authored by wind2009's avatar wind2009

Fix エターナル・サンシャイン

parent f3cf9668
Pipeline #32863 passed with stages
in 1 minute and 7 seconds
...@@ -6,6 +6,8 @@ function s.initial_effect(c) ...@@ -6,6 +6,8 @@ function s.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--def up --def up
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -30,7 +32,7 @@ function s.initial_effect(c) ...@@ -30,7 +32,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function s.atkfilter(c) function s.atkfilter(c)
return c:IsFaceup() and (c:IsCode(25862681) or aux.IsCodeListed(c,25862681)) return c:IsFaceup() and aux.IsCodeOrListed(c,25862681)
end end
function s.val(e,c) function s.val(e,c)
local ct=Duel.GetMatchingGroupCount(s.atkfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,nil) local ct=Duel.GetMatchingGroupCount(s.atkfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,nil)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment