From ae52ca35e419ea962bd2b5305fe2e69da2ee4e73 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: Tue, 27 May 2025 20:55:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E8=B4=9D=E6=89=8E=E6=AD=BC=E7=81=AD?= =?UTF-8?q?=E6=88=98=EF=BC=9A=E5=A2=9E=E5=8A=A0=E6=AD=BB=E5=88=91=E5=80=92?= =?UTF-8?q?T=E9=94=80=E6=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06-EndWalker/Trial/Golbez.cs | 12 +++++++++--- OnlineRepo.json | 6 +++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/06-EndWalker/Trial/Golbez.cs b/06-EndWalker/Trial/Golbez.cs index 4466f51..2f040a1 100644 --- a/06-EndWalker/Trial/Golbez.cs +++ b/06-EndWalker/Trial/Golbez.cs @@ -21,13 +21,13 @@ using System.Threading.Tasks; namespace the_Voidcast_Dais; [ScriptType(guid: "8a526afb-eefd-44ec-a105-7dc8fcd28e47", name: "高贝扎歼灭战", territorys: [1140], - version: "0.0.0.2", author: "Tetora", note: noteStr)] + version: "0.0.0.3", author: "Tetora", note: noteStr)] public class Golbez { const string noteStr = """ - v0.0.0.2: + v0.0.0.3: LV90 高贝扎歼灭战 初版绘制 """; @@ -35,7 +35,7 @@ public class Golbez public void 虚空陨石(Event @event, ScriptAccessory accessory) { var dp = accessory.Data.GetDefaultDrawProperties(); - dp.Name = "虚空陨石"; + dp.Name = $"虚空陨石{@event.TargetId()}"; dp.Color = new Vector4(1f, 0f, 0f, 1f); dp.Owner = @event.TargetId(); dp.Scale = new Vector2(6f); @@ -44,6 +44,12 @@ public class Golbez accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); } + [ScriptMethod(name: "虚空陨石销毁", eventType: EventTypeEnum.Death, eventCondition: ["TargetDataId:0"],userControl: false)] + public void 虚空陨石销毁(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw($"虚空陨石{@event.TargetId()}"); + } + [ScriptMethod(name: "迟缓地暴(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:33893"])] public void 迟缓地暴(Event @event, ScriptAccessory accessory) { diff --git a/OnlineRepo.json b/OnlineRepo.json index 883024c..4824b1b 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -355,12 +355,12 @@ { "Name": "高贝扎歼灭战", "Guid": "8a526afb-eefd-44ec-a105-7dc8fcd28e47", - "Version": "0.0.0.2", + "Version": "0.0.0.3", "Author": "Tetora", "Repo": "https://github.com/Hibiya615/TetoraKAScript", "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/06-EndWalker/Trial/Golbez.cs", - "Note": "v0.0.0.2:\nLV90 高贝扎歼灭战 初版绘制", - "UpdateInfo": "API12", + "Note": "v0.0.0.3:\nLV90 高贝扎歼灭战 初版绘制", + "UpdateInfo": "增加死刑倒T销毁", "TerritoryIds": [ 1140 ]