From 1c774b711bc8d681af0cbdf2924fa32f1ed8e47e Mon Sep 17 00:00:00 2001 From: chenxi Date: Mon, 24 Apr 2023 17:47:57 +0800 Subject: [PATCH] fix bug --- lua/app/module/battle/helper/battle_buff_handle.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/app/module/battle/helper/battle_buff_handle.lua b/lua/app/module/battle/helper/battle_buff_handle.lua index a51fb72f..90967341 100644 --- a/lua/app/module/battle/helper/battle_buff_handle.lua +++ b/lua/app/module/battle/helper/battle_buff_handle.lua @@ -32,9 +32,9 @@ end function BattleBuffHandle.doBuffWork(unitComp, buffEffect) local buff = buffEffect.buff local buffType = buff:getBuffType() - if buffType == 2 then + if buffType == 4 then _doDotWork(unitComp, buffEffect, buff) - elseif buffType == 4 then + elseif buffType == 6 then _doHotWork(unitComp, buffEffect, buff) end local fxList = buff:getFxTake()