攻击音效提前0.3秒
parent
1845d662ab
commit
7c47d7c6a4
|
@ -820,7 +820,7 @@ function RoleView:OnSkillCast(skill)
|
|||
|
||||
-- 攻击音效
|
||||
if self.attackSound then
|
||||
self:DelayFunc(self.atkSoundTime, function()
|
||||
self:DelayFunc(self.atkSoundTime - 0.3, function()
|
||||
SoundManager.PlaySound(self.attackSound)
|
||||
end)
|
||||
end
|
||||
|
@ -851,7 +851,7 @@ function RoleView:OnSkillCast(skill)
|
|||
end)
|
||||
-- 攻击音效
|
||||
if self.attackSound then
|
||||
self:DelayFunc(self.atkSoundTime, function()
|
||||
self:DelayFunc(self.atkSoundTime - 0.3, function()
|
||||
SoundManager.PlaySound(self.attackSound)
|
||||
end)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue