Commit 1cea87af authored by 未闻皂名's avatar 未闻皂名

2025/11/11 bug修复

parent 141eae4f
No preview for this file type
......@@ -18,11 +18,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp,mat,fc)
local dam=math.max(0,fc:GetAttack()-atk)
--Damage
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(m,1))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
e1:SetTargetRange(1,0)
e1:SetCountLimit(1)
e1:SetLabel(dam)
e1:SetOperation(cm.damop)
......
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