From 51aa2b6bd6fc747cb5264e65bc724dfcc2d5fd7c 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: Thu, 24 Apr 2025 23:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=84=9A=E6=9C=AC=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Trials/Good_King_Moggle-Hard.cs | 21 +++---------------- OnlineRepo.json | 2 +- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/02-A-Realm-Reborn/Trials/Good_King_Moggle-Hard.cs b/02-A-Realm-Reborn/Trials/Good_King_Moggle-Hard.cs index 3fc59e4..cc79ee6 100644 --- a/02-A-Realm-Reborn/Trials/Good_King_Moggle-Hard.cs +++ b/02-A-Realm-Reborn/Trials/Good_King_Moggle-Hard.cs @@ -16,10 +16,11 @@ using ECommons.DalamudServices; using ECommons.GameFunctions; using ECommons.MathHelpers; using System.Threading.Tasks; +using KodakkuAssist.Extensions; namespace Thornmarch_Hard; -[ScriptType(guid: "cd81e178-12e6-4e53-9b81-63002cc51ecb", name: "莫古力贤王歼灭战(?)", territorys: [1067], +[ScriptType(guid: "cd81e178-12e6-4e53-9b81-63002cc51ecb", name: "莫古力贤王歼灭战(整活版)", territorys: [1067], version: "0.0.0.2", author: "Tetora", note: noteStr)] public class Thornmarch_Hard @@ -686,20 +687,4 @@ public static class EventExtensions { return JsonConvert.DeserializeObject(@event["Param"]); } -} - - -public static class Extensions -{ - public static void TTS(this ScriptAccessory accessory, string text, bool isTTS, bool isDRTTS) - { - if (isDRTTS) - { - accessory.Method.SendChat($"/pdr tts {text}"); - } - else if (isTTS) - { - accessory.Method.TTS(text); - } - } -} +} \ No newline at end of file diff --git a/OnlineRepo.json b/OnlineRepo.json index 613422f..4498b68 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -78,7 +78,7 @@ ] }, { - "Name": "莫古力贤王歼灭战(?)", + "Name": "莫古力贤王歼灭战(整活版)", "Guid": "cd81e178-12e6-4e53-9b81-63002cc51ecb", "Version": "0.0.0.2", "Author": "Tetora",