Commit 5acf48c1 authored by GuGu's avatar GuGu

Update nef.lua 添加Nef.PLCounter.AddWithPhaseReset

parent 504dfc05
Pipeline #35015 passed with stage
in 3 minutes and 16 seconds
......@@ -1371,9 +1371,9 @@ if not Nef.PLCounter then
end
function class.AddWithPhaseReset(tp,code,num,phase,resetnum,resetcount,resettp,othercon)
if resetnum==nil then resetnum=(class._n[tp][code] or 0) end
class.Add(tp,code,num)
if phase==nil then return end
if resetnum==nil then resetnum=(class._n[tp][code] or 0) end
if resetcount==nil then resetcount=0 end
local e1=Effect.GlobalEffect()
......
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