Commit 0fdf8b9f authored by wind2009's avatar wind2009

Add cdb

parent 4c0b93dc
Pipeline #30664 passed with stages
in 1 minute and 34 seconds
No preview for this file type
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
101207046 101207046
101207047 101207047
101207048 101207048
101207049
101207050 101207050
101207051 101207051
101207052 101207052
......
...@@ -19,9 +19,10 @@ function s.initial_effect(c) ...@@ -19,9 +19,10 @@ function s.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--draw --draw
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_DRAW+CATEGORY_TODECK) e2:SetCategory(CATEGORY_DRAW+CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY) e2:SetCode(EVENT_PHASE+PHASE_STANDBY)
e2:SetCountLimit(1,id+o) e2:SetCountLimit(1,id+o)
e2:SetTarget(s.drtg) e2:SetTarget(s.drtg)
e2:SetOperation(s.dract) e2:SetOperation(s.dract)
......
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