Commit 2d667b2c authored by Amiya's avatar Amiya

修复

parent 932bc2dd
...@@ -31,17 +31,17 @@ function s.initial_effect(c) ...@@ -31,17 +31,17 @@ function s.initial_effect(c)
e4:SetOperation(s.spop) e4:SetOperation(s.spop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
--return --return
local e8=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
e8:SetDescription(aux.Stringid(id,2)) e5:SetDescription(aux.Stringid(id,2))
e8:SetCategory(CATEGORY_TOHAND) e5:SetCategory(CATEGORY_TOHAND)
e8:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e8:SetRange(LOCATION_MZONE) e5:SetRange(LOCATION_MZONE)
e8:SetCountLimit(1,id) e5:SetCountLimit(1,id+o)
e8:SetCode(EVENT_PHASE+PHASE_END) e5:SetCode(EVENT_PHASE+PHASE_END)
e8:SetCondition(s.retcon) e5:SetCondition(s.retcon)
e8:SetTarget(s.rettg) e5:SetTarget(s.rettg)
e8:SetOperation(s.retop) e5:SetOperation(s.retop)
c:RegisterEffect(e8) c:RegisterEffect(e5)
if not s.global_check then if not s.global_check then
s.global_check=true s.global_check=true
local ge1=Effect.CreateEffect(c) local ge1=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