From afb8124c6df78a90a68727f9ed91419ccb7a1dcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=97=E6=B2=A2=E5=93=8D=E4=B9=9F?= <72963826+Hibiya615@users.noreply.github.com> Date: Sat, 25 Oct 2025 02:13:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0PVP=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E7=BB=98=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PVP/PVPAction.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/PVP/PVPAction.cs b/PVP/PVPAction.cs index 8d3904f..6dfd105 100644 --- a/PVP/PVPAction.cs +++ b/PVP/PVPAction.cs @@ -36,15 +36,15 @@ public class PVPTAction #region 基础控制 - [UserSetting("EdgeTTS开关")] + [UserSetting("TTS开关")] public bool isTTS { get; set; } = true; + [UserSetting("EdgeTTS开关")] + public bool isEdgeTTS { get; set; } = true; + [UserSetting("弹窗文本提示开关")] public bool isText { get; set; } = true; - [UserSetting("启用目标标记播报及连线")] - public bool isTargetBroadcast { get; set; } = false; - [UserSetting("启用仅适用敌方目标标记 [适用:龙骑冲天绘制]" )] public bool isOnlyMark { get; set; } = false; @@ -442,7 +442,8 @@ public class PVPTAction if (@event.TargetId() != accessory.Data.Me) return; if (isText)accessory.Method.TextInfo("被保护", duration: 7300, false); - if (isTTS) accessory.Method.EdgeTTS("被保护"); + if (isTTS) accessory.Method.TTS("被保护"); + if (isEdgeTTS) accessory.Method.EdgeTTS("被保护"); var dp = accessory.Data.GetDefaultDrawProperties(); dp.Name = $"被保护连线{@event.SourceId()}";