Commit 6ca54eec authored by Mr.Tan's avatar Mr.Tan

Update c101206056

parent 71f53978
...@@ -15,16 +15,16 @@ function s.initial_effect(c) ...@@ -15,16 +15,16 @@ function s.initial_effect(c)
e1:SetOperation(s.negop) e1:SetOperation(s.negop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--set --set
local e3=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1)) e2:SetDescription(aux.Stringid(id,1))
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_TO_GRAVE) e2:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,id+o) e2:SetCountLimit(1,id+o)
e3:SetCondition(s.setcon) e2:SetCondition(s.setcon)
e3:SetTarget(s.settg) e2:SetTarget(s.settg)
e3:SetOperation(s.setop) e2:SetOperation(s.setop)
c:RegisterEffect(e3) c:RegisterEffect(e2)
end end
function s.costfilter(c,tp) function s.costfilter(c,tp)
......
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