From ae5e63075b80c8fa44bcc7898b21c3e6911d3993 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: Wed, 17 Dec 2025 23:57:46 +0800 Subject: [PATCH] API14 --- 00-Other/NewDuty.cs | 18 ++++++++++++++++++ OnlineRepo.json | 22 +++++++++++++++++++--- PVP/PVPAction.cs | 6 +++--- 3 files changed, 40 insertions(+), 6 deletions(-) diff --git a/00-Other/NewDuty.cs b/00-Other/NewDuty.cs index 18af330..414306f 100644 --- a/00-Other/NewDuty.cs +++ b/00-Other/NewDuty.cs @@ -53,22 +53,40 @@ public class NewDuty public bool isText { get; set; } = true; + /* #region 遗忘行路雾之迹 + [ScriptMethod(name: "—————— 遗忘行路雾之迹 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])] + public void 遗忘行路雾之迹(Event @event, ScriptAccessory accessory) { } + #endregion + */ + /* #region 格莱杨拉波尔歼灭战 + [ScriptMethod(name: "—————— 格莱杨拉波尔歼灭战 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])] + public void 格莱杨拉波尔歼灭战(Event @event, ScriptAccessory accessory) { } + #endregion + */ + /* #region 格莱杨拉波尔歼殛战 + [ScriptMethod(name: "—————— 格莱杨拉波尔歼殛战 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])] + public void 格莱杨拉波尔歼殛战(Event @event, ScriptAccessory accessory) { } + #endregion + */ #region 月读幻巧战 + + [ScriptMethod(name: "—————— 月读幻巧战 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])] + public void 月读幻巧战(Event @event, ScriptAccessory accessory) { } private const uint TsukuyomiDataId = 123456; diff --git a/OnlineRepo.json b/OnlineRepo.json index 52cc90c..4ca1331 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -866,12 +866,28 @@ { "Name": "PVP技能绘制", "Guid": "070e161a-26e9-4a57-8b19-da8c4201058c", - "Version": "0.0.0.1", + "Version": "0.0.0.2", "Author": "Tetora", "Repo": "https://github.com/Hibiya615/TetoraKAScript/tree/main", "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/PVP/PVPAction.cs", - "Note": "v0.0.0.1:\r\nPVP技能绘制,全部地图可用,未做任何区域限制。\r\n推荐先自己过一遍设置把不需要的关闭\r\n【仅适用敌方目标标记】是用于四小的,因为一般都会给四小标头标x", - "UpdateInfo": "", + "Note": "v0.0.0.2:\r\nPVP技能绘制,全部地图可用,未做任何区域限制。\r\n推荐先自己过一遍设置把不需要的关闭\r\n【仅适用敌方目标标记】是用于四小的,因为一般都会给四小标头标x", + "UpdateInfo": "API14", "TerritoryIds": [] + }, + { + "Name": "最新最热临时绘制", + "Guid": "80890eac-4730-4708-ad1b-05aba469c2a1", + "Version": "0.0.0.1", + "Author": "Tetora", + "Repo": "https://github.com/Hibiya615/TetoraKAScript/tree/main", + "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/00-Other/NewDuty.cs", + "Note": "v0.0.0.1:\r\n最新最热副本绘制,可能会电,介意请关闭\r\n别人的正式版发了这边就删", + "UpdateInfo": "", + "TerritoryIds": [ + 1314, + 1307, + 1308, + 1318 + ] } ] \ No newline at end of file diff --git a/PVP/PVPAction.cs b/PVP/PVPAction.cs index 6dfd105..3f422f8 100644 --- a/PVP/PVPAction.cs +++ b/PVP/PVPAction.cs @@ -22,13 +22,13 @@ using FFXIVClientStructs.FFXIV.Client.Game.UI; namespace PVPAction; [ScriptType(guid: "070e161a-26e9-4a57-8b19-da8c4201058c", name: "PVP技能绘制", territorys: [], - version: "0.0.0.1", author: "Tetora", note: noteStr)] + version: "0.0.0.2", author: "Tetora", note: noteStr)] public class PVPTAction { const string noteStr = """ - v0.0.0.1: + v0.0.0.2: PVP技能绘制,全部地图可用,未做任何区域限制。 推荐先自己过一遍设置把不需要的关闭 【仅适用敌方目标标记】是用于四小的,因为一般都会给四小标头标x @@ -816,5 +816,5 @@ public static class ActionExt } public static bool IsSpellReady(this uint spellId) => IsReadyWithCanCast(spellId, ActionType.Action); - public static bool IsAbilityReady(this uint abilityId) => IsReadyWithCanCast(abilityId, ActionType.Ability); + // public static bool IsAbilityReady(this uint abilityId) => IsReadyWithCanCast(abilityId, EventAction.Ability); } \ No newline at end of file