From 3b0e09739a6966b208aeac49ca00b1976a3de7e4 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: Sat, 22 Mar 2025 22:47:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0O11N?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 04-Omega_Quests/Normal/O11n.cs | 99 +++++++++++++++++++++++++++++++++- OnlineRepo.json | 13 +++++ README.md | 17 +++--- 3 files changed, 119 insertions(+), 10 deletions(-) diff --git a/04-Omega_Quests/Normal/O11n.cs b/04-Omega_Quests/Normal/O11n.cs index d8af111..4e36286 100644 --- a/04-Omega_Quests/Normal/O11n.cs +++ b/04-Omega_Quests/Normal/O11n.cs @@ -29,9 +29,104 @@ public class O11n LV70 欧米茄时空狭缝 阿尔法幻境3(欧米茄)初版绘制 """; + [ScriptMethod(name: "芥末爆弹(死刑)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:12935"])] + public void 芥末爆弹死刑(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "芥末爆弹死刑"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.TargetId(); + dp.Scale = new Vector2(5f); + dp.DestoryAt = 5000; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); + } - // 19231 19232 左刀 4700ms / 2700ms - // 12929 12930 右刀 4700ms / 2700ms + [ScriptMethod(name: "左/右舷齐射·波动炮", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^(12929|1293[012])$"])] + 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(60); + dp.Radian = 210f.DegToRad(); + + switch (@event.ActionId()) + { + case 12929: + dp.Rotation = 270f.DegToRad(); + dp.DestoryAt = 4700; + break; + case 12930: + dp.Rotation = 270f.DegToRad(); + dp.DestoryAt = 2700; + break; + case 12931: + dp.Rotation = 90f.DegToRad(); + dp.DestoryAt = 4700; + break; + case 12932: + dp.Rotation = 90f.DegToRad(); + dp.DestoryAt = 2700; + break; + } + + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp); + } + + [ScriptMethod(name: "生成外设-火箭飞拳(直线)", eventType: EventTypeEnum.AddCombatant, eventCondition: ["DataId:9622"])] + public void 突进(Event @event, ScriptAccessory accessory) + { + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "突进"; + dp.Scale = new (15f, 49f); + dp.Owner = @event.SourceId(); + dp.Color = accessory.Data.DefaultDangerColor; + dp.DestoryAt = 12500; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp); + } + + [ScriptMethod(name: "突进销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:13724"],userControl: false)] + public void 突进销毁(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw("突进"); + } + + /* + [ScriptMethod(name: "雷力投射点 开始", eventType: EventTypeEnum.Chat, eventCondition: ["Type:NPCDialogueAnnouncements", "Message:regex:^从欧米茄那里感知到了强烈的能量反应.*"])] + public void 雷力投射点Start(Event @event, ScriptAccessory accessory) + { + } + + [ScriptMethod(name: "雷力投射点 结束", eventType: EventTypeEnum.Chat, eventCondition: ["Type:NPCDialogueAnnouncements", "Message:regex:^确认到防御力场生成完成.*"])] + public void 雷力投射点End(Event @event, ScriptAccessory accessory) + { + } + */ + + + [ScriptMethod(name: "芥末爆弹(连线)", eventType: EventTypeEnum.Tether, eventCondition: ["Id:0054"])] + public async void 冲击波(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw("冲击波"); + + await Task.Delay(200); + + var dp = accessory.Data.GetDefaultDrawProperties(); + dp.Name = "冲击波"; + dp.Color = accessory.Data.DefaultDangerColor; + dp.Owner = @event.TargetId(); + dp.Scale = new Vector2(15f); + dp.DestoryAt = 8400; + accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp); + } + + [ScriptMethod(name: "冲击波销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:12928"],userControl: false)] + public void 冲击波销毁(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw("冲击波"); + } + } diff --git a/OnlineRepo.json b/OnlineRepo.json index 375446a..31daf0b 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -129,6 +129,19 @@ 364 ] }, + { + "Name": "O11N", + "Guid": "2232ae84-c1e7-4382-88b4-d691887f27cf", + "Version": "0.0.0.1", + "Author": "Tetora", + "Repo": "https://github.com/Hibiya615/TetoraKAScript/tree/main", + "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/04-Omega_Quests/Normal/O11n.cs", + "Note": "v0.0.0.1:\r\nLV70 欧米茄时空狭缝 阿尔法幻境3(欧米茄)初版绘制", + "UpdateInfo": "", + "TerritoryIds": [ + 800 + ] + }, { "Name": "E1N", "Guid": "35c751e5-2958-4f55-b783-405b4acfde1b", diff --git a/README.md b/README.md index fa81cbf..1ee6946 100644 --- a/README.md +++ b/README.md @@ -4,25 +4,26 @@ 纯画着玩,更新不保证,质量不保证 -## How-to-install +## How-to-install / 使用指南 - Use this link / 在线库链接: ```https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/main/OnlineRepo.json``` - Or download the Local version in **Releases** / 或者下载您所需要的文件并添加至您的**本地仓库** + 感谢 [Ciceros](https://github.com/AdmiralLvtzov) 、[Cyf](https://github.com/cyf5119) 、[VV](https://github.com/VeeverSW) 等人的鼎力相助 -## Scripts List 支持副本: +## Scripts List / 支持副本: | 迷宫挑战 | 讨伐歼灭战 | 讨伐歼殛战 | 大型Raid | |-------------------------|-------------------|-------------------|--------| | LV70
疯狂战舰无限回廊 | LV50
伊弗利特歼灭战 | LV50
莫古力贤王歼殛战 | T5 | -| | LV50
拉姆歼灭战 | | E1N | -| | LV50
海德拉讨伐战 | | E8N | -| | LV50
大桥上的决斗 | | E10N | -| | LV50
奥丁歼灭战 | | E12N | -| | LV60
祖尔宛歼灭战 | | | +| | LV50
拉姆歼灭战 | | O11N | +| | LV50
海德拉讨伐战 | | E1N | +| | LV50
大桥上的决斗 | | E8N | +| | LV50
奥丁歼灭战 | | E10N | +| | LV60
祖尔宛歼灭战 | | E12N | | | LV70
吉祥天女歼灭战 | | | | | LV70
神龙歼灭战 | | | | | LV90
高贝扎歼灭战 | | | @@ -55,7 +56,7 @@ ### 【施工中】 -**请注意:**测试仓库内的脚本均为**未实际验证** 或者**有未修复的BUG** 请慎用 +**请注意:** 测试仓库内的脚本均为**未实际验证** 或者**有未修复的BUG** 请慎用 **测试仓库链接**