From e1fc69d05cc13443868d16e25ab933d80d7ec625 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Wed, 6 Nov 2019 18:54:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E6=96=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luafight/Modules/Battle/Logic/BattleLogic.lua | 2 +- luafight/Modules/Battle/Logic/Buff/DOT.lua | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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