diff --git a/05-Eden/Normal/E10n.cs b/05-Eden/Normal/E10n.cs index 455e0c6..b95f71e 100644 --- a/05-Eden/Normal/E10n.cs +++ b/05-Eden/Normal/E10n.cs @@ -233,23 +233,23 @@ public class E10n dp.DestoryAt = 6200; accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); - dp = accessory.Data.GetDefaultDrawProperties(); - dp.Name = "影之王权描边"; - dp.Color = new Vector4(1f, 1f, 0f, 8f); - dp.Scale = new(16.08f); - dp.InnerScale = new(16); - dp.Radian = float.Pi * 2; - dp.Owner = @event.SourceId(); - dp.DestoryAt = 6200; - accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp); + var dp1 = accessory.Data.GetDefaultDrawProperties(); + dp1.Name = "影之王权描边"; + dp1.Color = new Vector4(1f, 1f, 0f, 8f); + dp1.Scale = new(16.08f); + dp1.InnerScale = new(16); + dp1.Radian = float.Pi * 2; + dp1.Owner = @event.SourceId(); + dp1.DestoryAt = 6200; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp1); - dp = accessory.Data.GetDefaultDrawProperties(); - dp.Name = "影之王权填充"; - dp.Color = new Vector4(1f, 1f, 0.2f, .8f); - dp.Owner = @event.SourceId(); - dp.Scale = new Vector2(16f); - dp.DestoryAt = 6200; - accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); + var dp2 = accessory.Data.GetDefaultDrawProperties(); + dp2.Name = "影之王权填充"; + dp2.Color = new Vector4(1f, 1f, 0.2f, .8f); + dp2.Owner = @event.SourceId(); + dp2.Scale = new Vector2(16f); + dp2.DestoryAt = 6200; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp2); } [ScriptMethod(name: "影之斩击(直线死刑)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:23307"])] diff --git a/Fate/Formidable.cs b/Fate/Formidable.cs index 13c748c..61a8a36 100644 --- a/Fate/Formidable.cs +++ b/Fate/Formidable.cs @@ -62,6 +62,20 @@ public class Formidable accessory.Method.TTS("击杀小怪"); } + + [ScriptMethod(name: "燃烧弹(地面黄圈)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:17397"])] + public void 燃烧弹(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "燃烧弹"; + dp.Color = new Vector4(1f, 0.5f, 0f, 1f); + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(7f); + dp.DestoryAt = 4700; + dp.ScaleMode = ScaleMode.ByTime; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); + } + [ScriptMethod(name: "格鲁格之火 吸引范围", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:17395"])] public void 格鲁格之火Inhale(Event @event, ScriptAccessory accessory) { diff --git a/Fate/Mica_the_MagicalMu.cs b/Fate/Mica_the_MagicalMu.cs index 718bcfd..9970472 100644 --- a/Fate/Mica_the_MagicalMu.cs +++ b/Fate/Mica_the_MagicalMu.cs @@ -54,6 +54,110 @@ public class Mica_the_Magical_Mu accessory.Method.RemoveDraw("迷失连线"); } + [ScriptMethod(name: "卡牌戏法_抽卡安全区", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:39156"])] + public void 卡牌戏法Safe(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "卡牌戏法Safe"; + dp.Owner = @event.SourceId(); + dp.Color = accessory.Data.DefaultSafeColor; + dp.Scale = new(14f, 20f); + dp.DestoryAt = 1200; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Straight, dp); + } + + [ScriptMethod(name: "卡牌戏法_抽卡危险区", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:38679"])] + public void 卡牌戏法Danger(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "卡牌戏法Danger"; + dp.Owner = @event.SourceId(); + dp.Color = accessory.Data.DefaultDangerColor; + dp.Scale = new(14f, 20f); + dp.DestoryAt = 1200; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Straight, dp); + } + + [ScriptMethod(name: "骑滚球(直线)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^3899[6-9]$"])] + public void 骑滚球(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "骑滚球"; + dp.Owner = @event.SourceId(); + dp.Color = accessory.Data.DefaultDangerColor; + dp.Delay = 1700; + dp.DestoryAt = 8500; + switch (@event.ActionId()) + { + case 38996: + dp.Scale = new(10, 20f); + break; + + case 38997: + case 38998: + case 38999: + dp.Scale = new(10, 52f); + break; + } + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp); + } + + [ScriptMethod(name: "喝彩回应-魔术爆发(二段钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:38697"])] + public void 魔术爆发(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "魔术爆发"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(10f); + dp.Delay = 4600; + dp.DestoryAt = 2200; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); + } + + [ScriptMethod(name: "盛装致敬-魔术环(二段月环)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:38700"])] + public void 魔术环(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "魔术环"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(30f); + dp.InnerScale = new Vector2(10f); + dp.Radian = float.Pi * 2; + dp.Delay = 4600; + dp.DestoryAt = 2200; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp); + } + + [ScriptMethod(name: "双重魔术雷(二段扇形)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:38694"])] + public void 双重魔术雷(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + + dp.Name = "双重魔术雷"; + dp.Color = new Vector4(1f, 0f, 0f, 1f); + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(40); + dp.Radian = 60f.DegToRad(); + dp.Delay = 4600; + dp.DestoryAt = 2200; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp); + } + + [ScriptMethod(name: "倾泻的闪烁(魔术环直线)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:38692"])] + public void 倾泻的闪烁(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "倾泻的闪烁"; + dp.Owner = @event.SourceId(); + dp.Color = accessory.Data.DefaultDangerColor; + dp.Scale = new(5f, 42f); + dp.Delay = 800; + dp.DestoryAt = 2000; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Straight, dp); + } + } diff --git a/Fate/Ttokrrone.cs b/Fate/Ttokrrone.cs index 08d4f69..21bc82d 100644 --- a/Fate/Ttokrrone.cs +++ b/Fate/Ttokrrone.cs @@ -27,6 +27,7 @@ public class Ttokrrone v0.0.0.1: LV100 特殊Fate 绘制 蛇王得酷热涅:荒野的死斗 + 已知问题:回旋沙暴可能会无法销毁、可能存在方向绘制错误 """; [ScriptMethod(name: "迷失连线", eventType: EventTypeEnum.AddCombatant, eventCondition: ["DataId:regex:^758[67]$"])] diff --git a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs b/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs deleted file mode 100644 index e48b0eb..0000000 --- a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("TetoraKodakkuScript")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7e461be45d2c27be6f6d047d6b474302abc2396f")] -[assembly: System.Reflection.AssemblyProductAttribute("TetoraKodakkuScript")] -[assembly: System.Reflection.AssemblyTitleAttribute("TetoraKodakkuScript")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.RequiresPreviewFeaturesAttribute()] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] - -// 由 MSBuild WriteCodeFragment 类生成。 - diff --git a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache b/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache deleted file mode 100644 index 6fadd04..0000000 --- a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -2f2d257148330ad249e2c70c3912ba5fa928b7551ef2772237c79fb3df98ce27 diff --git a/obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache b/obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache deleted file mode 100644 index 5faea27..0000000 Binary files a/obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache and /dev/null differ