mirror of
https://github.com/Hibiya615/TetoraKAScript.git
synced 2025-12-18 15:55:06 +08:00
增加深层迷宫销毁绘制条件
This commit is contained in:
@@ -19,26 +19,27 @@ namespace Eureka_Orthos;
|
|||||||
|
|
||||||
[ScriptType(guid: "5e8a4051-53f7-4eb3-bb32-b18df8b113aa", name: "正统优雷卡",
|
[ScriptType(guid: "5e8a4051-53f7-4eb3-bb32-b18df8b113aa", name: "正统优雷卡",
|
||||||
territorys: [1099,1100,1101,1102,1103,1104,1105,1106,1107,1108],
|
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 {
|
public class Eureka_Orthos {
|
||||||
const string noteStr =
|
const string noteStr =
|
||||||
"""
|
"""
|
||||||
v0.0.0.31:
|
v0.0.0.4:
|
||||||
正统优雷卡绘制
|
正统优雷卡绘制
|
||||||
注:方法设置中的层数仅做分割线效果,并不是批量开关
|
注:方法设置中的层数仅做分割线效果,并不是批量开关
|
||||||
现支持层数:1~20、71~100
|
现支持层数:1~20、71~100
|
||||||
严重错误:暂未支持【缓速】【形态变化】【石化】【眩晕】【催眠】等限制
|
严重错误:暂未支持【缓速】,遇到没特效的技能可能会比判定提早消失
|
||||||
怪物死亡也暂时没有销毁绘图,先拯救ARR完再说[?]
|
|
||||||
""";
|
""";
|
||||||
|
|
||||||
//对应怪物死亡、眩晕、催眠、石化1511、无法发动技能1113等状态都需要销毁绘图,缓速3493需要额外注意没有omen的技能
|
// 缓速[3493] 需要额外注意没有omen的技能
|
||||||
// 71~79层 【正统狼獾 杀人爪】【正统雷兽 尾镰】【正统雷兽 电火花】均未支持缓速
|
// 如71~79层 【正统狼獾 杀人爪】【正统雷兽 尾镰】【正统雷兽 电火花】均未支持缓速
|
||||||
|
|
||||||
|
|
||||||
#region 各种记录
|
#region 各种记录
|
||||||
|
|
||||||
/* StatusID
|
/* StatusID
|
||||||
|
* 眩晕 2(如近战扫腿、T下踢)
|
||||||
|
* 睡眠 3(如法系催眠、奶妈沉静)
|
||||||
* 变身 565
|
* 变身 565
|
||||||
* 诅咒 1087 (拟态怪 - 怨念)
|
* 诅咒 1087 (拟态怪 - 怨念)
|
||||||
* 失明 1088
|
* 失明 1088
|
||||||
@@ -92,8 +93,26 @@ public class Eureka_Orthos {
|
|||||||
[ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)]
|
[ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)]
|
||||||
public void 打断销毁(Event @event, ScriptAccessory accessory)
|
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;
|
public bool KnockPenalty = false;
|
||||||
@@ -110,6 +129,22 @@ public class Eureka_Orthos {
|
|||||||
KnockPenalty = false;
|
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
|
#endregion
|
||||||
|
|
||||||
// 通用内容
|
// 通用内容
|
||||||
|
|||||||
@@ -16,23 +16,20 @@ namespace the_Palace_of_the_Dead;
|
|||||||
|
|
||||||
[ScriptType(guid: "4210c323-eba4-4d67-a7e7-b90799494729", name: "死者宫殿", author: "Tetora",
|
[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],
|
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
|
public class the_Palace_of_the_Dead
|
||||||
{
|
{
|
||||||
const string noteStr =
|
const string noteStr =
|
||||||
"""
|
"""
|
||||||
v0.0.0.6:
|
v0.0.0.8:
|
||||||
死者宫殿绘制
|
死者宫殿绘制
|
||||||
注:方法设置中的层数仅做分割线效果,并不是批量开关
|
注:方法设置中的层数仅做分割线效果,并不是批量开关
|
||||||
出现问题请携带ARR反馈!
|
出现问题请携带ARR反馈!
|
||||||
暂未支持【形态变化】【眩晕】【催眠】等限制,有需可以考虑使用Splatoon
|
|
||||||
""";
|
""";
|
||||||
|
|
||||||
// 眩晕、催眠、无法发动技能(形态变化)等状态都需要销毁绘图
|
|
||||||
// 190 BOSS 有待修复的问题
|
|
||||||
// 70 BOSS 会同时满足 170 BOSS 或天气的条件 导致触发重复 需要额外判断sid , 170 BOSS 的伤害提高 也与强化自身 冲突 需额外判断sid
|
// 70 BOSS 会同时满足 170 BOSS 或天气的条件 导致触发重复 需要额外判断sid , 170 BOSS 的伤害提高 也与强化自身 冲突 需额外判断sid
|
||||||
// 1~99层 与 101~199层 大量怪物技能ID重复,需要额外判断sid
|
// 【已完成】1~99层 与 101~199层 大量怪物技能ID重复,需要额外判断sid
|
||||||
|
|
||||||
#region 各种记录
|
#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)]
|
[ScriptMethod(name: "伤头&插言 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75(38|51)$"], userControl: false)]
|
||||||
public void 打断销毁(Event @event, ScriptAccessory accessory)
|
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)]
|
[ScriptMethod(name: "防击退销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^(7548|7559)$"],userControl: false)]
|
||||||
|
|||||||
@@ -654,12 +654,12 @@
|
|||||||
{
|
{
|
||||||
"Name": "死者宫殿",
|
"Name": "死者宫殿",
|
||||||
"Guid": "4210c323-eba4-4d67-a7e7-b90799494729",
|
"Guid": "4210c323-eba4-4d67-a7e7-b90799494729",
|
||||||
"Version": "0.0.0.7",
|
"Version": "0.0.0.8",
|
||||||
"Author": "Tetora",
|
"Author": "Tetora",
|
||||||
"Repo": "https://github.com/Hibiya615/TetoraKAScript",
|
"Repo": "https://github.com/Hibiya615/TetoraKAScript",
|
||||||
"DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/Deep_Dungeon/the_Palace_of_the_Dead.cs",
|
"DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/Deep_Dungeon/the_Palace_of_the_Dead.cs",
|
||||||
"Note": "v0.0.0.6:\n死者宫殿 初版绘制",
|
"Note": "v0.0.0.8:\n死者宫殿 初版绘制",
|
||||||
"UpdateInfo": "v0.0.0.6 全部层数进行二次更新,增加190熔岩爆弹怪生成位置预测",
|
"UpdateInfo": "v0.0.0.8 增加销毁绘制条件",
|
||||||
"TerritoryIds": [
|
"TerritoryIds": [
|
||||||
561,
|
561,
|
||||||
562,
|
562,
|
||||||
|
|||||||
Reference in New Issue
Block a user