【战斗】屏幕震动加入伤害延时时间

dev_chengFeng
gaoxin 2021-11-25 15:43:10 +08:00
parent b316f54e50
commit 4923314bbb
1 changed files with 8 additions and 1 deletions

View File

@ -399,8 +399,15 @@ function SkillCaster:CheckFullSceenSkill(combat, skill)
-- 取消高亮
self.owner:DelayFunc(combat.KeyFrame/1000, function()
self:CheckSkillHitEffect("skill", combat, skill)
self:checkShake(combat)
end)
-- 判断是否震屏
if combat.ShockScreen == 1 then
self.owner:DelayFunc((combat.KeyFrame + combat.DamageDelay)/1000, function()
self:checkShake(combat)
end)
end
end
function SkillCaster:CalRoleRotate(baseRole, targetRole)