This commit is contained in:
chenxi 2023-04-24 17:47:57 +08:00
parent a60f760877
commit 1c774b711b

View File

@ -32,9 +32,9 @@ end
function BattleBuffHandle.doBuffWork(unitComp, buffEffect) function BattleBuffHandle.doBuffWork(unitComp, buffEffect)
local buff = buffEffect.buff local buff = buffEffect.buff
local buffType = buff:getBuffType() local buffType = buff:getBuffType()
if buffType == 2 then if buffType == 4 then
_doDotWork(unitComp, buffEffect, buff) _doDotWork(unitComp, buffEffect, buff)
elseif buffType == 4 then elseif buffType == 6 then
_doHotWork(unitComp, buffEffect, buff) _doHotWork(unitComp, buffEffect, buff)
end end
local fxList = buff:getFxTake() local fxList = buff:getFxTake()