[战斗] 不灭buff更新修改提交
parent
4010991f0d
commit
4571f9e5a5
|
@ -326,7 +326,7 @@ function BuffManager:PassUpdate()
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
--只更新不灭buff
|
||||
function BuffManager:PassUpdateNoDead()
|
||||
local curCamp, curPos = BattleLogic.GetCurTurn()
|
||||
for i=1, self.buffDic.size do
|
||||
|
@ -339,6 +339,7 @@ function BuffManager:PassUpdateNoDead()
|
|||
and buff.caster.position == curPos
|
||||
and buff.roundDuration > 0 -- 不是无限存在的buff
|
||||
and buff.caster.type~=BattleUnitType.Monster --灵兽的buff在这里处理
|
||||
and buff.type==BuffName.NoDead --不灭在这里处理
|
||||
then
|
||||
-- 当前轮释放的buff不结算
|
||||
buff.roundPass = buff.roundPass + 1
|
||||
|
|
Loading…
Reference in New Issue