【战斗】取消哪吒的技能后摇延时,可能会导致卡死
parent
3d19df7cb2
commit
ab085087b0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue