Commit 396f738a authored by wyykak's avatar wyykak

fix

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 92140413
...@@ -33,7 +33,8 @@ function c16040121.initial_effect(c) ...@@ -33,7 +33,8 @@ function c16040121.initial_effect(c)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(16040121,1)) e3:SetDescription(aux.Stringid(16040121,1))
e3:SetCategory(CATEGORY_TOKEN) e3:SetCategory(CATEGORY_TOKEN)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_RECOVER) e3:SetCode(EVENT_RECOVER)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,EFFECT_COUNT_CODE_OATH+16040122) e3:SetCountLimit(1,EFFECT_COUNT_CODE_OATH+16040122)
......
...@@ -53,6 +53,7 @@ function M.addPendEff1(c) ...@@ -53,6 +53,7 @@ function M.addPendEff1(c)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetRange(LOCATION_PZONE) e1:SetRange(LOCATION_PZONE)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetCondition(condition) e1:SetCondition(condition)
e1:SetTarget(aux.TRUE) e1:SetTarget(aux.TRUE)
e1:SetOperation(operation) e1:SetOperation(operation)
...@@ -99,6 +100,7 @@ function M.addMonEff1(c) ...@@ -99,6 +100,7 @@ function M.addMonEff1(c)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetCountLimit(1, Mid) e1:SetCountLimit(1, Mid)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCondition(condition) e1:SetCondition(condition)
e1:SetTarget(target) e1:SetTarget(target)
......
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