Commit 1370365e authored by Amiya's avatar Amiya

修复

parent 728e9422
No preview for this file type
...@@ -18,15 +18,15 @@ function s.initial_effect(c) ...@@ -18,15 +18,15 @@ function s.initial_effect(c)
e2:SetOperation(s.atkop) e2:SetOperation(s.atkop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--destroy --destroy
local e1=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0)) e3:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DESTROY) e3:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,id) e3:SetCountLimit(1,id)
e1:SetTarget(s.destg) e3:SetTarget(s.destg)
e1:SetOperation(s.desop) e3:SetOperation(s.desop)
c:RegisterEffect(e1) c:RegisterEffect(e3)
end end
function s.indtg(e,c) function s.indtg(e,c)
local tc=e:GetHandler() local tc=e:GetHandler()
......
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