关掉挂机打怪的声音

dev_chengFeng
jiaoyangna 2021-04-27 20:18:26 +08:00
parent ccaab65e25
commit fd9084da86
1 changed files with 3 additions and 2 deletions

View File

@ -663,8 +663,9 @@ function SingleFightPlayerView:private_ShakeByTimes(_point, roleFaceDir, shakeTi
end
--整个东西缩一下
self:PlayScale(hurtGo, 0.7)
SoundManager.PlaySound(SoundConfig.Sound_FightArea_Attack[math.random(1, #SoundConfig.Sound_FightArea_Attack)])
if self.isSelf then
SoundManager.PlaySound(SoundConfig.Sound_FightArea_Attack[math.random(1, #SoundConfig.Sound_FightArea_Attack)])
end
end
local func = function()