Commit d01b4edd authored by 八宫一月's avatar 八宫一月

add category

parent af0a65eb
...@@ -17,16 +17,17 @@ function s.initial_effect(c) ...@@ -17,16 +17,17 @@ function s.initial_effect(c)
e1:SetOperation(s.thop) e1:SetOperation(s.thop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--set --set
local e3=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,2)) e2:SetDescription(aux.Stringid(id,2))
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetCategory(CATEGORY_LEAVE_GRAVE)
e3:SetCode(EVENT_PHASE+PHASE_STANDBY) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetRange(LOCATION_MZONE) e2:SetCode(EVENT_PHASE+PHASE_STANDBY)
e3:SetCountLimit(1,id+o) e2:SetRange(LOCATION_MZONE)
e3:SetCost(s.setcost) e2:SetCountLimit(1,id+o)
e3:SetTarget(s.settg) e2:SetCost(s.setcost)
e3:SetOperation(s.setop) e2:SetTarget(s.settg)
c:RegisterEffect(e3) e2:SetOperation(s.setop)
c:RegisterEffect(e2)
end end
function s.ovfilter(c) function s.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0x1c1) return c:IsFaceup() and c:IsSetCard(0x1c1)
......
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