音效容错

This commit is contained in:
xiekaidong 2023-06-05 16:24:06 +08:00
parent 9f6fbf2903
commit 628da8aade

View File

@ -1411,10 +1411,12 @@ function BattleUnitComp:onSkillTakeEffect(skill, isFinalBlock, validEffectIdx)
break
end
end
if soundHit[soundIndex] and soundHit[soundIndex] > 0 then
BattleHelper:playSkillSound(soundHit[soundIndex], 0)
end
end
end
end
end
function BattleUnitComp:judgeSkillEffectCondition(skill, index)