diff --git a/luafight/Modules/Battle/Logic/BattleLogic.lua b/luafight/Modules/Battle/Logic/BattleLogic.lua index a6b9ef3f2..e3a00d3fd 100644 --- a/luafight/Modules/Battle/Logic/BattleLogic.lua +++ b/luafight/Modules/Battle/Logic/BattleLogic.lua @@ -192,7 +192,7 @@ function BattleLogic.GetTeamSkill(camp, pos) end function BattleLogic.GetTeamSkillCastSlider() - if playerTeamDummyRole.isDebug then + if playerTeamDummyRole.isDebug or teamSkillCastIndex > #teamSkillCastTime then return 0 end local slider = (teamSkillCastTime[teamSkillCastIndex] - curStageFrame) diff --git a/luafight/Modules/Battle/Logic/Buff/DOT.lua b/luafight/Modules/Battle/Logic/Buff/DOT.lua index daa8f70f2..2ae99b2e9 100644 --- a/luafight/Modules/Battle/Logic/Buff/DOT.lua +++ b/luafight/Modules/Battle/Logic/Buff/DOT.lua @@ -20,7 +20,9 @@ end --初始化后调用一次 function DOT:OnStart() - --log("DOT:OnStart") + if self.caster.isTeam then + self.isRealDamage = true + end end --间隔N帧触发,返回true时表示继续触发,返回false立刻触发OnEnd