Commit 664b309b authored by wyykak's avatar wyykak

fix effect without op

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent c6bc85b3
...@@ -5,5 +5,6 @@ function c22271101.initial_effect(c) ...@@ -5,5 +5,6 @@ function c22271101.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:SetOperation(function() end)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
...@@ -18,6 +18,7 @@ function c86379704.initial_effect(c) ...@@ -18,6 +18,7 @@ function c86379704.initial_effect(c)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetCountLimit(1,86379704+EFFECT_COUNT_CODE_OATH) e2:SetCountLimit(1,86379704+EFFECT_COUNT_CODE_OATH)
e2:SetTarget(c86379704.target2) e2:SetTarget(c86379704.target2)
e2:SetOperation(function() end)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--remove --remove
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
......
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