提交更新

This commit is contained in:
南沢响也
2025-07-26 17:02:35 +08:00
parent a97f698bc1
commit 0b951f495c
2 changed files with 14 additions and 13 deletions

View File

@@ -21,13 +21,13 @@ using System.Threading.Tasks;
namespace theTwinning; namespace theTwinning;
[ScriptType(guid: "bfb00cd3-ccec-4b21-b3d7-e290f49e6a75", name: "异界遗构希尔科斯孪晶塔", territorys: [840], [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 public class theTwinning
{ {
const string noteStr = const string noteStr =
""" """
v0.0.0.1: v0.0.0.2:
LV80 LV80
"""; """;
@@ -41,7 +41,6 @@ public class theTwinning
[UserSetting("弹窗文本提示开关")] [UserSetting("弹窗文本提示开关")]
public bool isText { get; set; } = true; public bool isText { get; set; } = true;
#endregion
[ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)] [ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)]
public void (Event @event, ScriptAccessory accessory) public void (Event @event, ScriptAccessory accessory)
@@ -60,6 +59,9 @@ public class theTwinning
{ {
accessory.Method.RemoveDraw($"小怪.*{@event.SourceId()}"); accessory.Method.RemoveDraw($"小怪.*{@event.SourceId()}");
} }
#endregion
#region #region
@@ -133,24 +135,23 @@ public class theTwinning
dp.Scale = new (6, 50f); dp.Scale = new (6, 50f);
dp.TargetObject = @event.TargetId(); dp.TargetObject = @event.TargetId();
dp.Color = accessory.Data.DefaultDangerColor.WithW(0.8f); dp.Color = accessory.Data.DefaultDangerColor.WithW(0.8f);
dp.DestoryAt = 7800;
/* switch (@event["Id"])
switch (@event.TargetIconId())
{ {
case 0032: case "0032":
dp.DestoryAt = 7200; dp.DestoryAt = 7200;
break; break;
case 0033: case "0033":
dp.DestoryAt = 7400; dp.DestoryAt = 7400;
break; break;
case 0034: case "0034":
dp.DestoryAt = 7600; dp.DestoryAt = 7600;
break; break;
case 0035: case "0035":
dp.DestoryAt = 7800; dp.DestoryAt = 7800;
break; break;
} }
*/
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp); accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp);
} }

View File

@@ -69,11 +69,11 @@
{ {
"Name": "异界遗构希尔科斯孪晶塔", "Name": "异界遗构希尔科斯孪晶塔",
"Guid": "bfb00cd3-ccec-4b21-b3d7-e290f49e6a75", "Guid": "bfb00cd3-ccec-4b21-b3d7-e290f49e6a75",
"Version": "0.0.0.1", "Version": "0.0.0.2",
"Author": "Tetora", "Author": "Tetora",
"Repo": "https://github.com/Hibiya615/TetoraKAScript/tree/main", "Repo": "https://github.com/Hibiya615/TetoraKAScript/tree/main",
"DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/05-Shadowbringers/Dungeon/theTwinning.cs", "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": "", "UpdateInfo": "",
"TerritoryIds": [ "TerritoryIds": [
840 840