From 2ac7a842f35e2409b3962acd0108f586162d60e1 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: Tue, 7 Oct 2025 22:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B7=B1=E5=B1=82=E8=BF=B7?= =?UTF-8?q?=E5=AE=AB=E9=94=80=E6=AF=81=E7=BB=98=E5=88=B6=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Deep_Dungeon/Eureka_Orthos.cs | 51 ++++++++++++++++++++++---- Deep_Dungeon/the_Palace_of_the_Dead.cs | 31 ++++++++++++---- OnlineRepo.json | 6 +-- 3 files changed, 69 insertions(+), 19 deletions(-) diff --git a/Deep_Dungeon/Eureka_Orthos.cs b/Deep_Dungeon/Eureka_Orthos.cs index 370684b..91a6116 100644 --- a/Deep_Dungeon/Eureka_Orthos.cs +++ b/Deep_Dungeon/Eureka_Orthos.cs @@ -19,26 +19,27 @@ namespace Eureka_Orthos; [ScriptType(guid: "5e8a4051-53f7-4eb3-bb32-b18df8b113aa", name: "正统优雷卡", territorys: [1099,1100,1101,1102,1103,1104,1105,1106,1107,1108], - version: "0.0.0.32", author: "Tetora", note: noteStr)] + version: "0.0.0.4", author: "Tetora", note: noteStr)] public class Eureka_Orthos { const string noteStr = """ - v0.0.0.31: + v0.0.0.4: 正统优雷卡绘制 注:方法设置中的层数仅做分割线效果,并不是批量开关 现支持层数:1~20、71~100 - 严重错误:暂未支持【缓速】【形态变化】【石化】【眩晕】【催眠】等限制 - 怪物死亡也暂时没有销毁绘图,先拯救ARR完再说[?] + 严重错误:暂未支持【缓速】,遇到没特效的技能可能会比判定提早消失 """; - //对应怪物死亡、眩晕、催眠、石化1511、无法发动技能1113等状态都需要销毁绘图,缓速3493需要额外注意没有omen的技能 - // 71~79层 【正统狼獾 杀人爪】【正统雷兽 尾镰】【正统雷兽 电火花】均未支持缓速 + // 缓速[3493] 需要额外注意没有omen的技能 + // 如71~79层 【正统狼獾 杀人爪】【正统雷兽 尾镰】【正统雷兽 电火花】均未支持缓速 #region 各种记录 /* StatusID + * 眩晕 2(如近战扫腿、T下踢) + * 睡眠 3(如法系催眠、奶妈沉静) * 变身 565 * 诅咒 1087 (拟态怪 - 怨念) * 失明 1088 @@ -92,8 +93,26 @@ public class Eureka_Orthos { [ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)] public void 打断销毁(Event @event, ScriptAccessory accessory) { - accessory.Method.RemoveDraw($"正统系统γ_高压电流{@event.TargetId()}"); - accessory.Method.RemoveDraw($"正统自控化奇美拉_(寒冰|雷电)咆哮{@event.TargetId()}"); + accessory.Method.RemoveDraw($".*{@event.TargetId()}"); + } + + [ScriptMethod(name: "特殊状态销毁", eventType: EventTypeEnum.StatusAdd, eventCondition: ["StatusID:regex:^(2|3|1511|1113)$"], userControl: false)] + public void 特殊状态销毁(Event @event, ScriptAccessory accessory) + { + // 赋予对应怪物 眩晕[2]、睡眠[3]、石化[1511]、(形态变化)无法发动技能[1113] 等状态都需要销毁绘图 + accessory.Method.RemoveDraw($".*{@event.TargetId()}"); + } + + [ScriptMethod(name: "咏唱中断销毁", eventType: EventTypeEnum.CancelAction, eventCondition: [], userControl: false)] + public void 咏唱中断销毁(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw($".*{@event.SourceId()}"); + } + + [ScriptMethod(name: "死亡销毁", eventType: EventTypeEnum.Death, eventCondition: [], userControl: false)] + public void 死亡销毁(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw($".*{@event.SourceId()}"); } public bool KnockPenalty = false; @@ -110,6 +129,22 @@ public class Eureka_Orthos { KnockPenalty = false; } + public bool Slow = false; + + [ScriptMethod(name: "缓速记录", eventType: EventTypeEnum.StatusAdd, eventCondition: ["StatusID:3493"],suppress:1000, userControl: false)] + public void 缓速记录(Event @event, ScriptAccessory accessory) + { + Slow = true; + if (isDeveloper) accessory.Method.SendChat($"/e [DEBUG]: 已记录缓速"); + } + + [ScriptMethod(name: "缓速移除", eventType: EventTypeEnum.StatusRemove, eventCondition: ["StatusID:3493"],suppress:1000, userControl: false)] + public void 缓速移除(Event @event, ScriptAccessory accessory) + { + Slow = false; + if (isDeveloper) accessory.Method.SendChat($"/e [DEBUG]: 已移除缓速"); + } + #endregion // 通用内容 diff --git a/Deep_Dungeon/the_Palace_of_the_Dead.cs b/Deep_Dungeon/the_Palace_of_the_Dead.cs index 724ee8b..0728906 100644 --- a/Deep_Dungeon/the_Palace_of_the_Dead.cs +++ b/Deep_Dungeon/the_Palace_of_the_Dead.cs @@ -16,23 +16,20 @@ namespace the_Palace_of_the_Dead; [ScriptType(guid: "4210c323-eba4-4d67-a7e7-b90799494729", name: "死者宫殿", author: "Tetora", territorys: [561,562,563,564,565,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607], - version: "0.0.0.7",note: noteStr)] + version: "0.0.0.8",note: noteStr)] public class the_Palace_of_the_Dead { const string noteStr = """ - v0.0.0.6: + v0.0.0.8: 死者宫殿绘制 注:方法设置中的层数仅做分割线效果,并不是批量开关 出现问题请携带ARR反馈! - 暂未支持【形态变化】【眩晕】【催眠】等限制,有需可以考虑使用Splatoon """; - // 眩晕、催眠、无法发动技能(形态变化)等状态都需要销毁绘图 - // 190 BOSS 有待修复的问题 // 70 BOSS 会同时满足 170 BOSS 或天气的条件 导致触发重复 需要额外判断sid , 170 BOSS 的伤害提高 也与强化自身 冲突 需额外判断sid - // 1~99层 与 101~199层 大量怪物技能ID重复,需要额外判断sid + // 【已完成】1~99层 与 101~199层 大量怪物技能ID重复,需要额外判断sid #region 各种记录 @@ -81,8 +78,26 @@ public class the_Palace_of_the_Dead [ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)] public void 打断销毁(Event @event, ScriptAccessory accessory) { - accessory.Method.RemoveDraw($"深宫假面_强麻痹{@event.TargetId()}"); - accessory.Method.RemoveDraw($"深宫浮灵_强麻痹{@event.TargetId()}"); + accessory.Method.RemoveDraw($".*{@event.TargetId()}"); + } + + [ScriptMethod(name: "特殊状态销毁", eventType: EventTypeEnum.StatusAdd, eventCondition: ["StatusID:regex:^(2|3|1511|1113)$"], userControl: false)] + public void 特殊状态销毁(Event @event, ScriptAccessory accessory) + { + // 赋予对应怪物 眩晕[2]、睡眠[3]、石化[1511]、(形态变化)无法发动技能[1113] 等状态都需要销毁绘图 + accessory.Method.RemoveDraw($".*{@event.TargetId()}"); + } + + [ScriptMethod(name: "咏唱中断销毁", eventType: EventTypeEnum.CancelAction, eventCondition: [], userControl: false)] + public void 咏唱中断销毁(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw($".*{@event.SourceId()}"); + } + + [ScriptMethod(name: "死亡销毁", eventType: EventTypeEnum.Death, eventCondition: [], userControl: false)] + public void 死亡销毁(Event @event, ScriptAccessory accessory) + { + accessory.Method.RemoveDraw($".*{@event.SourceId()}"); } [ScriptMethod(name: "防击退销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^(7548|7559)$"],userControl: false)] diff --git a/OnlineRepo.json b/OnlineRepo.json index 724bfaa..f3bb7a2 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -654,12 +654,12 @@ { "Name": "死者宫殿", "Guid": "4210c323-eba4-4d67-a7e7-b90799494729", - "Version": "0.0.0.7", + "Version": "0.0.0.8", "Author": "Tetora", "Repo": "https://github.com/Hibiya615/TetoraKAScript", "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/Deep_Dungeon/the_Palace_of_the_Dead.cs", - "Note": "v0.0.0.6:\n死者宫殿 初版绘制", - "UpdateInfo": "v0.0.0.6 全部层数进行二次更新,增加190熔岩爆弹怪生成位置预测", + "Note": "v0.0.0.8:\n死者宫殿 初版绘制", + "UpdateInfo": "v0.0.0.8 增加销毁绘制条件", "TerritoryIds": [ 561, 562,