From 0b951f495c959adbd4a54332cbbb334edc63b6a2 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: Sat, 26 Jul 2025 17:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 05-Shadowbringers/Dungeon/theTwinning.cs | 23 ++++++++++++----------- OnlineRepo.json | 4 ++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/05-Shadowbringers/Dungeon/theTwinning.cs b/05-Shadowbringers/Dungeon/theTwinning.cs index fd5751d..e742b76 100644 --- a/05-Shadowbringers/Dungeon/theTwinning.cs +++ b/05-Shadowbringers/Dungeon/theTwinning.cs @@ -21,13 +21,13 @@ using System.Threading.Tasks; namespace theTwinning; [ScriptType(guid: "bfb00cd3-ccec-4b21-b3d7-e290f49e6a75", name: "异界遗构希尔科斯孪晶塔", territorys: [840], - version: "0.0.0.1", author: "Tetora", note: noteStr)] + version: "0.0.0.2", author: "Tetora", note: noteStr)] public class theTwinning { const string noteStr = """ - v0.0.0.1: + v0.0.0.2: LV80 异界遗构希尔科斯孪晶塔 初版绘制 """; @@ -41,7 +41,6 @@ public class theTwinning [UserSetting("弹窗文本提示开关")] public bool isText { get; set; } = true; - #endregion [ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)] public void 打断销毁(Event @event, ScriptAccessory accessory) @@ -60,6 +59,9 @@ public class theTwinning { accessory.Method.RemoveDraw($"小怪.*{@event.SourceId()}"); } + + + #endregion #region 小怪部分 @@ -133,24 +135,23 @@ public class theTwinning dp.Scale = new (6, 50f); dp.TargetObject = @event.TargetId(); dp.Color = accessory.Data.DefaultDangerColor.WithW(0.8f); - dp.DestoryAt = 7800; - /* - switch (@event.TargetIconId()) + + switch (@event["Id"]) { - case 0032: + case "0032": dp.DestoryAt = 7200; break; - case 0033: + case "0033": dp.DestoryAt = 7400; break; - case 0034: + case "0034": dp.DestoryAt = 7600; break; - case 0035: + case "0035": dp.DestoryAt = 7800; break; } - */ + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp); } diff --git a/OnlineRepo.json b/OnlineRepo.json index 07086eb..60ff63c 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -69,11 +69,11 @@ { "Name": "异界遗构希尔科斯孪晶塔", "Guid": "bfb00cd3-ccec-4b21-b3d7-e290f49e6a75", - "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/05-Shadowbringers/Dungeon/theTwinning.cs", - "Note": "v0.0.0.1:\r\nLV80 异界遗构希尔科斯孪晶塔 初版绘制", + "Note": "v0.0.0.2:\r\nLV80 异界遗构希尔科斯孪晶塔 初版绘制", "UpdateInfo": "", "TerritoryIds": [ 840