战斗逻辑
parent
29595f48e0
commit
e1fc69d05c
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue