技能释放后摇时间添加0.2

dev_chengFeng
wangzhenxing 2020-08-06 18:01:59 +09:00
parent e0359bb37a
commit 416cfbde79
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ function Skill:Cast(func)
--技能的施法时间计算根据当前目标id关联的持续时间取其中时间最长的一个
local duration = self.hitTime + self.continueTime
-- 结算时间向后延长0.2秒,避免在效果结算完成前就结束了技能释放
BattleLogic.WaitForTrigger(duration + 0.2, function()
BattleLogic.WaitForTrigger(duration + 0.4, function()
self.owner.Event:DispatchEvent(BattleEventName.SkillCastEnd, self)
BattleLogic.Event:DispatchEvent(BattleEventName.SkillCastEnd, self)