音效容错
This commit is contained in:
parent
9f6fbf2903
commit
628da8aade
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user