修改回旋沙暴逻辑

This commit is contained in:
南沢响也
2025-03-06 00:46:59 +08:00
parent 2c96f31d42
commit 5afc1c07fc

View File

@@ -18,7 +18,7 @@ using ECommons.MathHelpers;
namespace The_Serpentlord_Seethes; namespace The_Serpentlord_Seethes;
[ScriptType(guid: "ab67129e-880f-48e8-852e-f92b4afa68e5", name: "蛇王得酷热涅:荒野的死斗", territorys: [1190], [ScriptType(guid: "ab67129e-880f-48e8-852e-f92b4afa68e5", name: "蛇王得酷热涅:荒野的死斗", territorys: [1190],
version: "0.0.0.1", author: "Tetora", note: noteStr)] version: "0.0.0.11", author: "Tetora", note: noteStr)]
public class Ttokrrone public class Ttokrrone
{ {
@@ -27,7 +27,7 @@ public class Ttokrrone
v0.0.0.1: v0.0.0.1:
LV100 Fate LV100 Fate
Discord联系
"""; """;
#region #region
@@ -105,6 +105,7 @@ public class Ttokrrone
public void 回旋沙暴(Event @event, ScriptAccessory accessory) public void 回旋沙暴(Event @event, ScriptAccessory accessory)
{ {
// 【前方回旋沙暴】 37317 顺时针、37321 逆时针 ;【后方回旋沙暴】 37318 顺时针 、37322 逆时针 // 【前方回旋沙暴】 37317 顺时针、37321 逆时针 ;【后方回旋沙暴】 37318 顺时针 、37322 逆时针
var dp = accessory.Data.GetDefaultDrawProperties(); var dp = accessory.Data.GetDefaultDrawProperties();
var dp1 = accessory.Data.GetDefaultDrawProperties(); var dp1 = accessory.Data.GetDefaultDrawProperties();
dp.Owner = @event.SourceId(); dp.Owner = @event.SourceId();
@@ -133,7 +134,6 @@ public class Ttokrrone
dp.DestoryAt = 7600; dp.DestoryAt = 7600;
dp1.Name = "后方回旋沙暴Adjust"; dp1.Name = "后方回旋沙暴Adjust";
dp1.Rotation = 180f.DegToRad();
dp1.Delay = 7800; dp1.Delay = 7800;
dp1.DestoryAt = 17100; dp1.DestoryAt = 17100;
break; break;
@@ -312,7 +312,7 @@ public class Ttokrrone
{ {
var dp = accessory.Data.GetDefaultDrawProperties(); var dp = accessory.Data.GetDefaultDrawProperties();
dp.Name = ""; dp.Name = "";
dp.Color = new Vector4(1f, 1f, 0f, 1f); dp.Color = new Vector4(1f, 1f, 0f, 1.2f);
dp.Owner = @event.SourceId(); dp.Owner = @event.SourceId();
dp.Scale = new Vector2(12f); dp.Scale = new Vector2(12f);
dp.DestoryAt = @event.ActionId() == 39245 ? 7700 : 5700; dp.DestoryAt = @event.ActionId() == 39245 ? 7700 : 5700;