Commit 1abf73a8 authored by wyykak's avatar wyykak

fix 13044

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 38d02073
......@@ -4,21 +4,25 @@ function c13044.initial_effect(c)
--act
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetDescription(7)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Destroy
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(13044,0))
e2:SetCategory(CATEGORY_DESTROY)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_F)
e2:SetType(EFFECT_TYPE_ACTIVATE)
e2:SetCode(EVENT_CHAINING)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetRange(LOCATION_SZONE)
e2:SetCountLimit(1)
e2:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE)
e2:SetCondition(c13044.condition)
e2:SetTarget(c13044.target)
e2:SetOperation(c13044.operation)
c:RegisterEffect(e2)
local e22=e2:Clone()
e22:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_F)
e22:SetRange(LOCATION_SZONE)
c:RegisterEffect(e22)
--sol
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
......
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