diff --git a/lua/app/module/battle/component/battle_unit_comp.lua b/lua/app/module/battle/component/battle_unit_comp.lua index 9240e0b8..007c90f6 100644 --- a/lua/app/module/battle/component/battle_unit_comp.lua +++ b/lua/app/module/battle/component/battle_unit_comp.lua @@ -1411,7 +1411,9 @@ function BattleUnitComp:onSkillTakeEffect(skill, isFinalBlock, validEffectIdx) break end end - BattleHelper:playSkillSound(soundHit[soundIndex], 0) + if soundHit[soundIndex] and soundHit[soundIndex] > 0 then + BattleHelper:playSkillSound(soundHit[soundIndex], 0) + end end end end