mirror of
https://github.com/Hibiya615/TetoraKAScript.git
synced 2025-12-19 00:04:51 +08:00
高贝扎歼灭战:增加死刑倒T销毁
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user