update:优化精准射箭语音
This commit is contained in:
+1
-2
@@ -23,10 +23,9 @@ export const getPrecisionShotAudioKeys = (shootData, directionText = "") => {
|
||||
return ["未上靶", directionAudioKey].filter(Boolean);
|
||||
}
|
||||
|
||||
const ringAudioKey = shootData.ringX === true ? "X环" : `${ring}环`;
|
||||
// protobuf 的 false 可能不编码;只要不是明确命中,本箭就反馈未命中。
|
||||
const hitAudioKey = shootData.ok === true ? "Bingo命中目标" : "未命中";
|
||||
return [ringAudioKey, directionAudioKey, hitAudioKey].filter(Boolean);
|
||||
return [directionAudioKey, hitAudioKey].filter(Boolean);
|
||||
};
|
||||
|
||||
export const audioFils = {
|
||||
|
||||
Reference in New Issue
Block a user