白虎镇魂战:修改荒弹绘制范围

This commit is contained in:
南沢响也
2025-08-06 16:05:13 +08:00
parent 4d3b5e453a
commit 3dd21d3838

View File

@@ -21,13 +21,13 @@ using System.Threading.Tasks;
namespace Byakko;
[ScriptType(guid: "6a9e30e9-c58e-4f39-9f1e-ad26e5d49dc3", name: "白虎镇魂战", territorys: [746],
version: "0.0.0.1", author: "Tetora", note: noteStr)]
version: "0.0.0.11", author: "Tetora", note: noteStr)]
public class Byakko
{
const string noteStr =
"""
v0.0.0.1:
v0.0.0.11:
LV70
""";
@@ -64,18 +64,16 @@ public class Byakko
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
}
[ScriptMethod(name: "荒弹(红球)", eventType: EventTypeEnum.AddCombatant, eventCondition: ["DataId:8441"])]
[ScriptMethod(name: "荒弹(红球)Imgui高亮", eventType: EventTypeEnum.AddCombatant, eventCondition: ["DataId:8441"])]
public void (Event @event, ScriptAccessory accessory)
{
var dp = accessory.Data.GetDefaultDrawProperties();
dp.Name = $"荒弹红球{@event.SourceId()}";
dp.Color = new Vector4(1.0f, 0.0f, 0.0f, 1f);
dp.Owner = @event.SourceId();
dp.Scale = new Vector2(1.51f);
dp.InnerScale = new Vector2(1.5f);
dp.Scale = new Vector2(0.7f);
dp.DestoryAt = 10000;
dp.Radian = 2 * float.Pi;
accessory.Method.SendDraw(DrawModeEnum.Imgui, DrawTypeEnum.Donut, dp);
accessory.Method.SendDraw(DrawModeEnum.Imgui, DrawTypeEnum.Circle, dp);
}
[ScriptMethod(name: "荒弹红球销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:10824"],userControl: false)]