Commit 8aa84969 authored by Nemo Ma's avatar Nemo Ma

fix

parent 2c78ce01
......@@ -82,7 +82,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_CUSTOM+m)
e2:SetLabel(fid)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP)
e2:SetTarget(cm.psptg)
e2:SetOperation(cm.pspop)
e2:SetReset(RESET_PHASE+PHASE_END)
......
......@@ -82,7 +82,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_CUSTOM+m)
e2:SetLabel(fid)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP)
e2:SetTarget(cm.psptg)
e2:SetOperation(cm.pspop)
e2:SetReset(RESET_PHASE+PHASE_END)
......
......@@ -83,7 +83,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_CUSTOM+m)
e2:SetLabel(fid)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP)
e2:SetTarget(cm.psptg)
e2:SetOperation(cm.pspop)
e2:SetReset(RESET_PHASE+PHASE_END)
......
......@@ -82,7 +82,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_CUSTOM+m)
e2:SetLabel(fid)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP)
e2:SetTarget(cm.psptg)
e2:SetOperation(cm.pspop)
e2:SetReset(RESET_PHASE+PHASE_END)
......
......@@ -81,7 +81,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_CUSTOM+m)
e2:SetLabel(fid)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP)
e2:SetTarget(cm.psptg)
e2:SetOperation(cm.pspop)
e2:SetReset(RESET_PHASE+PHASE_END)
......
......@@ -112,7 +112,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_CUSTOM+m)
e2:SetLabel(fid)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP)
e2:SetTarget(cm.psptg)
e2:SetOperation(cm.pspop)
e2:SetReset(RESET_PHASE+PHASE_END)
......
......@@ -165,7 +165,7 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_CUSTOM+m)
e2:SetLabel(fid)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_DAMAGE_STEP)
e2:SetTarget(cm.psptg)
e2:SetOperation(cm.pspop)
e2:SetReset(RESET_PHASE+PHASE_END)
......
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