调整结构

This commit is contained in:
南沢响也
2025-03-06 17:23:01 +08:00
parent 7244e843f3
commit 4521b06faa

View File

@@ -30,6 +30,8 @@ public class Mica_the_Magical_Mu
""";
#region
[ScriptMethod(name: "迷失连线", eventType: EventTypeEnum.AddCombatant, eventCondition: ["DataId:regex:^758[67]$"])]
public void 迷失连线(Event @event, ScriptAccessory accessory)
{
@@ -53,6 +55,9 @@ public class Mica_the_Magical_Mu
{
accessory.Method.RemoveDraw("线");
}
#endregion
#region
[ScriptMethod(name: "卡牌戏法_抽卡安全区", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:39156"])]
public void Safe(Event @event, ScriptAccessory accessory)
@@ -78,6 +83,14 @@ public class Mica_the_Magical_Mu
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Straight, dp);
}
#endregion
#region Debug
#endregion
#region
[ScriptMethod(name: "骑滚球(直线)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^3899[6-9]$"])]
public void 骑滚球(Event @event, ScriptAccessory accessory)
{
@@ -108,7 +121,7 @@ public class Mica_the_Magical_Mu
{
var dp = accessory.Data.GetDefaultDrawProperties();
dp.Name = "魔术爆发";
dp.Color = new Vector4(1f, 1f, 0f, 1.6f);
dp.Color = new Vector4(1f, 1f, 0f, 1.8f);
dp.Owner = @event.SourceId();
dp.Scale = new Vector2(10f);
dp.Delay = 4600;
@@ -158,6 +171,7 @@ public class Mica_the_Magical_Mu
dp.DestoryAt = 2000;
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Straight, dp);
}
#endregion
[ScriptMethod(name: "鼠鼠死亡销毁", eventType: EventTypeEnum.Death, eventCondition: ["TargetDataId:17387"],userControl: false)]
public void (Event @event, ScriptAccessory accessory)