fix bug
This commit is contained in:
parent
a60f760877
commit
1c774b711b
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user