From 7e2174e78cc96c892672c6b587c64b650623c2ab 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: Sun, 20 Sep 2026 04:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 00-Other/NewDuty.cs | 81 +++++++++++++++++++++++++++++++++++++++++++-- OnlineRepo.json | 6 ++-- 2 files changed, 81 insertions(+), 6 deletions(-) diff --git a/00-Other/NewDuty.cs b/00-Other/NewDuty.cs index 65d7ddc..93d51ae 100644 --- a/00-Other/NewDuty.cs +++ b/00-Other/NewDuty.cs @@ -26,7 +26,7 @@ namespace NewDuty; [ScriptType(guid: "80890eac-4730-4708-ad1b-05aba469c2a1", name: "最新最热临时绘制", territorys: [1307, 1346, 1339, 1340, 1341, 1342, 1343], - version: "0.0.3.3", author: "Tetora", note: noteStr)] + version: "0.0.3.4", author: "Tetora", note: noteStr)] /* MapID * 1307: 格莱杨拉波尔歼灭战 @@ -38,7 +38,7 @@ public class NewDuty { const string noteStr = """ - v0.0.3.3: + v0.0.3.4: 最新最热副本绘制,可能会电,介意请关闭 别人的正式版发了这边就删 """; @@ -2973,7 +2973,82 @@ public class NewDuty accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); } - // Todo. 49381 百库啵横扫 ; 49387 奇子·莫古小医_绒绒神圣(三角) + [ScriptMethod(name: "随机#4: 奇子·莫古小猛_百库啵横扫(顺劈)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^49381$"])] + public void 莫古小猛_百库啵横扫 (Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = $"百库啵横扫{@event.SourceId}"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(60f); + dp.Radian = 60f.DegToRad(); + dp.DestoryAt = 7700; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp); + } + + [ScriptMethod(name: "随机#4: 奇子·莫古小术_绒绒陨石雨(步进扩大地火)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^49389$"])] + public void 莫古小术_绒绒陨石雨(Event @event, ScriptAccessory accessory) + { + // 后续依次为 50944 8m / 50945 10m / 50946 12m / 50947 14m,每次步进距离均为8m + if (isTTS)accessory.Method.TTS($"步进扩大地火"); + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = $"绒绒陨石雨{@event.SourceId}"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(6f); + dp.DestoryAt = 6700; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); + } + + [ScriptMethod(name: "随机#4: 奇子·莫古小医_绒绒神圣(三角)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^49387$"])] + public void 莫古小医_绒绒神圣 (Event @event, ScriptAccessory accessory) + { + // 实际攻击范围是三角 懒得抠了先画个扇形将就下! + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = $"莫古小医_绒绒神圣{@event.SourceId}"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(40f); + dp.Radian = 90f.DegToRad(); + dp.DestoryAt = 8700; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp); + } + + [ScriptMethod(name: "随机#5: 奇子·贝希摩斯_陨石冲击(提示)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^49402$"])] + public void 贝希摩斯_陨石冲击(Event @event, ScriptAccessory accessory) + { + if (isText)accessory.Method.TextInfo($"连续放置5个陨石,不要重叠", duration: 5000, true); + if (isTTS)accessory.Method.TTS($"连续放陨石,不要重叠"); + } + + [ScriptMethod(name: "随机#5: 奇子·贝希摩斯_引雷(提示)", eventType: EventTypeEnum.StatusAdd, eventCondition: ["StatusID:regex:^2574$"])] + public void 贝希摩斯_广域落雷_引雷(Event @event, ScriptAccessory accessory) + { + if (isText)accessory.Method.TextInfo($"传雷雷塔", duration: 3000, true); + if (isTTS)accessory.Method.TTS($"传雷雷塔"); + } + + [ScriptMethod(name: "随机#5: 奇子·贝希摩斯_黄道陨石(提示)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^49410$"])] + public void 贝希摩斯_黄道陨石(Event @event, ScriptAccessory accessory) + { + if (isTTS)accessory.Method.TTS($"躲在陨石后"); + } + + [ScriptMethod(name: "随机#5: 奇子·贝希摩斯_大漩涡(月环)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^49413"])] + public void 贝希摩斯_大漩涡(Event @event, ScriptAccessory accessory) + { + if (isTTS)accessory.Method.TTS($"靠近BOSS"); + + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = $"贝希摩斯_大漩涡{@event.SourceId}"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.SourceId(); + dp.Scale = new Vector2(40f); + dp.InnerScale = new Vector2(8f); + dp.Radian = float.Pi * 2; + dp.DestoryAt = 5700; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp); + } // 49420 死亡轮盘转转转 // 50940 怪光线 直线死刑 [TargetIcon 01D7] diff --git a/OnlineRepo.json b/OnlineRepo.json index 86c81b8..53e53bb 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -968,12 +968,12 @@ { "Name": "最新最热临时绘制", "Guid": "80890eac-4730-4708-ad1b-05aba469c2a1", - "Version": "0.0.3.3", + "Version": "0.0.3.4", "Author": "Tetora", "Repo": "https://github.com/Hibiya615/TetoraKAScript/tree/main", "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/00-Other/NewDuty.cs", - "Note": "v0.0.3.3:\r\n最新最热副本绘制,可能会电,介意请关闭\r\n别人的正式版发了这边就删", - "UpdateInfo": "0.0.3.3: 添加斗兽奇弈部分绘制", + "Note": "v0.0.3.4:\r\n最新最热副本绘制,可能会电,介意请关闭\r\n别人的正式版发了这边就删", + "UpdateInfo": "0.0.3.4: 添加斗兽奇弈部分绘制", "TerritoryIds": [ 1307, 1346,