Commit 2d667b2c authored by Amiya's avatar Amiya

修复

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