From c5ad3c6d8296bf47927b596210bf7406c33ea33e 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, 13 Apr 2025 05:25:50 +0800 Subject: [PATCH] UPDATE --- 03-Heavensward/Trials-Extreme/Bismarck-Extreme.cs | 6 ++++++ 04-Stormblood/Trial/Yojimbo.cs | 5 +++-- OnlineRepo.json | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 03-Heavensward/Trials-Extreme/Bismarck-Extreme.cs diff --git a/03-Heavensward/Trials-Extreme/Bismarck-Extreme.cs b/03-Heavensward/Trials-Extreme/Bismarck-Extreme.cs new file mode 100644 index 0000000..3643abf --- /dev/null +++ b/03-Heavensward/Trials-Extreme/Bismarck-Extreme.cs @@ -0,0 +1,6 @@ +namespace Ravana; + +public class Bismarck_Extreme +{ + +} \ No newline at end of file diff --git a/04-Stormblood/Trial/Yojimbo.cs b/04-Stormblood/Trial/Yojimbo.cs index db61f4d..77e797b 100644 --- a/04-Stormblood/Trial/Yojimbo.cs +++ b/04-Stormblood/Trial/Yojimbo.cs @@ -20,12 +20,12 @@ using System.Threading.Tasks; namespace Kugane_Ohashi; [ScriptType(guid: "944c8879-0d4e-4182-87ea-c38769990f2d", name: "保镖歼灭战", territorys: [806], - version: "0.0.0.1", author: "Tetora", note: noteStr)] + version: "0.0.0.2", author: "Tetora", note: noteStr)] public class Yojimbo { const string noteStr = """ - v0.0.0.1: + v0.0.0.2: LV70 保镖歼灭战 初版绘制 """; @@ -137,6 +137,7 @@ public class Yojimbo [ScriptMethod(name: "捕获 锁链点名", eventType: EventTypeEnum.TargetIcon, eventCondition: ["Id:0005"])] public void 捕获(Event @event, ScriptAccessory accessory) { + if (@event.TargetId() != accessory.Data.Me) return; if (isText)accessory.Method.TextInfo("锁链点名,远离扯线", duration: 4000, true); // if (isTTS)accessory.Method.TTS("锁链点名"); // if (isEdgeTTS)accessory.Method.EdgeTTS("锁链点名"); diff --git a/OnlineRepo.json b/OnlineRepo.json index ef669e6..ee54e12 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -210,11 +210,11 @@ { "Name": "保镖歼灭战", "Guid": "944c8879-0d4e-4182-87ea-c38769990f2d", - "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/04-Stormblood/Trial/Yojimbo.cs", - "Note": "v0.0.0.1:\r\nLV70 保镖歼灭战 初版绘制", + "Note": "v0.0.0.2:\r\nLV70 保镖歼灭战 初版绘制", "UpdateInfo": "", "TerritoryIds": [ 806