From 71acc6f5a27999a5bf765a8436352bd4ff16b8a6 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: Sun, 11 Oct 2026 02:22:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=EF=BC=9A=E9=98=B2=E5=BE=A1?= =?UTF-8?q?=E4=B8=AD=E4=B8=8D=E6=89=A7=E8=A1=8C=E5=85=89=E9=98=B4=E7=A5=9E?= =?UTF-8?q?=E5=87=80=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PVP/PVPToy.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PVP/PVPToy.cs b/PVP/PVPToy.cs index ced5571..42f0655 100644 --- a/PVP/PVPToy.cs +++ b/PVP/PVPToy.cs @@ -22,13 +22,13 @@ using FFXIVClientStructs.FFXIV.Client.Game.UI; namespace PVPToy; [ScriptType(guid: "2312052e-6575-4a91-9e3d-b84699dca8fe", name: "PVP小玩具", territorys: [250, 431, 554, 888, 1273, 1313], - version: "0.0.0.7", author: "Tetora", note: noteStr)] + version: "0.0.0.8", author: "Tetora", note: noteStr)] public class PVPToy { const string noteStr = """ - v0.0.0.7: + v0.0.0.8: PVP小玩具,仅纷争前线可用,可在狼狱进行测试 推荐先自行过一遍设置关闭不需要的功能,底裤功能使用后果自行承担 标记一般是防四小,所以启用仅标记选项的话就是防四小的播报 @@ -483,6 +483,7 @@ public class PVPToy if (isAutoWarden) { if (@event.TargetId() != accessory.Data.Me) return; + if (IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xBEE)) return; // 防御中不净化 if (ActionExt.IsSpellReady(29400) && !IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xC47)) // 检测对应技能是否在CD { if (isText) accessory.Method.TextInfo("已尝试自动使用《光阴神净化》", duration: 1800, true); @@ -508,6 +509,7 @@ public class PVPToy if (isAutoWarden) { if (@event.TargetId() != accessory.Data.Me) return; + if (IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xBEE)) return; // 防御中不净化 if (ActionExt.IsSpellReady(29400) && !IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xC47)) // 检测对应技能是否在CD { if (isText) accessory.Method.TextInfo("已尝试自动使用《光阴神净化》", duration: 1800, true);