From 1d80a3ceb387f5dbed77fda582848a0a34314bcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=97=E6=B2=A2=E5=93=8D=E4=B9=9F?=
<72963826+Hibiya615@users.noreply.github.com>
Date: Mon, 3 Mar 2025 05:19:37 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=83=A8=E5=88=86=E5=86=85?=
=?UTF-8?q?=E5=AE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
05-Eden/Normal/E10n.cs | 32 +++---
Fate/Formidable.cs | 14 +++
Fate/Mica_the_MagicalMu.cs | 104 ++++++++++++++++++
Fate/Ttokrrone.cs | 1 +
.../TetoraKodakkuScript.AssemblyInfo.cs | 25 -----
...toraKodakkuScript.AssemblyInfoInputs.cache | 1 -
...dakkuScript.csproj.AssemblyReference.cache | Bin 2396 -> 0 bytes
7 files changed, 135 insertions(+), 42 deletions(-)
delete mode 100644 obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs
delete mode 100644 obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache
delete mode 100644 obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache
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 5faea278fdf974f580ba5462b37d294e275be939..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 2396
zcmZQ$&Nv@|d_i*YO{a7iplj0wt5%+1V8kBRUM^GPhtOU_6w
za`uZ!Oi9Vli}A?M&n}KhNiB%8>l*)I8g~(wrQyQ4EY+WhNj!2F8Y#42=F%@uG8nZf<@a+^5TC
zbisVe2MYy=5^z93+<{7B^{^|dW+Z=uy=_3gw}UD2wwoI;=ACmgQ}arKONvU9ON!xM
zFZ_337aGYzn93lr3G{i0C=uTG!88C71fX~~H8BHHt33v=jR#%_q>U?
zk{;CaoN!riln0@D7tF&N<&JQD2(KFISr~yLoP3W4P~=g+)bf)2yyE<{5P5
z%~PMY86V!Yk7I)&((A<+AIJv}c_1t3D9m|R$-iTimI=6TCrbUe&wdY>_
zp4+@?GQW|4{XSVuL8s`WB@Rr-899J%GFa>XY}2xJZyAHpe2NrJ#>D1IV}ryLleAQ`
zB%?&L#MIOjp!q<6S}?g&6lFf8zydlEo-nOdEMYOl29aV!E^Q(9LrByJf|S3Ewh&DS
zzY^_LT;;AWHN59qk(`ZI^z{rm5KO{C*uR0@ZMR?ep*to^z;Y5-=
zoS9c#l9-c|ni7yxnhxZ|c;}}iW@nc=78hq0m&6$88R{7VofP8=sa6o>FN5;akS&l(
zmIEfq2+CA2jO2eDwJb~