高贝扎歼灭战:增加死刑倒T销毁

This commit is contained in:
南沢响也
2025-05-27 20:55:24 +08:00
parent 8612da9624
commit ae52ca35e4
2 changed files with 12 additions and 6 deletions

View File

@@ -21,13 +21,13 @@ using System.Threading.Tasks;
namespace the_Voidcast_Dais; namespace the_Voidcast_Dais;
[ScriptType(guid: "8a526afb-eefd-44ec-a105-7dc8fcd28e47", name: "高贝扎歼灭战", territorys: [1140], [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 public class Golbez
{ {
const string noteStr = const string noteStr =
""" """
v0.0.0.2: v0.0.0.3:
LV90 LV90
"""; """;
@@ -35,7 +35,7 @@ public class Golbez
public void (Event @event, ScriptAccessory accessory) public void (Event @event, ScriptAccessory accessory)
{ {
var dp = accessory.Data.GetDefaultDrawProperties(); var dp = accessory.Data.GetDefaultDrawProperties();
dp.Name = "虚空陨石"; dp.Name = $"虚空陨石{@event.TargetId()}";
dp.Color = new Vector4(1f, 0f, 0f, 1f); dp.Color = new Vector4(1f, 0f, 0f, 1f);
dp.Owner = @event.TargetId(); dp.Owner = @event.TargetId();
dp.Scale = new Vector2(6f); dp.Scale = new Vector2(6f);
@@ -44,6 +44,12 @@ public class Golbez
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); 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"])] [ScriptMethod(name: "迟缓地暴(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:33893"])]
public void (Event @event, ScriptAccessory accessory) public void (Event @event, ScriptAccessory accessory)
{ {

View File

@@ -355,12 +355,12 @@
{ {
"Name": "高贝扎歼灭战", "Name": "高贝扎歼灭战",
"Guid": "8a526afb-eefd-44ec-a105-7dc8fcd28e47", "Guid": "8a526afb-eefd-44ec-a105-7dc8fcd28e47",
"Version": "0.0.0.2", "Version": "0.0.0.3",
"Author": "Tetora", "Author": "Tetora",
"Repo": "https://github.com/Hibiya615/TetoraKAScript", "Repo": "https://github.com/Hibiya615/TetoraKAScript",
"DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/06-EndWalker/Trial/Golbez.cs", "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/06-EndWalker/Trial/Golbez.cs",
"Note": "v0.0.0.2:\nLV90 高贝扎歼灭战 初版绘制", "Note": "v0.0.0.3:\nLV90 高贝扎歼灭战 初版绘制",
"UpdateInfo": "API12", "UpdateInfo": "增加死刑倒T销毁",
"TerritoryIds": [ "TerritoryIds": [
1140 1140
] ]