【战斗】取消哪吒的技能后摇延时,可能会导致卡死

dev_chengFeng
gaoxin 2021-12-13 18:56:49 +08:00
parent 3d19df7cb2
commit ab085087b0
1 changed files with 3 additions and 3 deletions

View File

@ -89,9 +89,9 @@ function Skill:Cast(func)
local duration = self.hitTime + self.continueTime
-- 结算时间向后延长0.2秒,避免在效果结算完成前就结束了技能释放
local time=0.8
if self.id==1282 then
time=2.5
end
-- if self.id==1282 then
-- time=1
-- end
BattleLogic.WaitForTrigger(duration + time, function()
self.owner.Event:DispatchEvent(BattleEventName.SkillCastEnd, self)
BattleLogic.Event:DispatchEvent(BattleEventName.SkillCastEnd, self)