更新O11N

This commit is contained in:
南沢响也
2025-03-22 22:47:22 +08:00
parent 3fb8b60b64
commit 3b0e09739a
3 changed files with 119 additions and 10 deletions

View File

@@ -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);
}
[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("冲击波");
}
// 19231 19232 左刀 4700ms / 2700ms
// 12929 12930 右刀 4700ms / 2700ms
}

View File

@@ -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",

View File

@@ -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 <br/>疯狂战舰无限回廊 | LV50 <br/>伊弗利特歼灭战 | LV50 <br/>莫古力贤王歼殛战 | T5 |
| | LV50 <br/>拉姆歼灭战 | | E1N |
| | LV50 <br/>海德拉讨伐战 | | E8N |
| | LV50 <br/>大桥上的决斗 | | E10N |
| | LV50 <br/>奥丁歼灭战 | | E12N |
| | LV60 <br/>祖尔宛歼灭战 | | |
| | LV50 <br/>拉姆歼灭战 | | O11N |
| | LV50 <br/>海德拉讨伐战 | | E1N |
| | LV50 <br/>大桥上的决斗 | | E8N |
| | LV50 <br/>奥丁歼灭战 | | E10N |
| | LV60 <br/>祖尔宛歼灭战 | | E12N |
| | LV70 <br/>吉祥天女歼灭战 | | |
| | LV70 <br/>神龙歼灭战 | | |
| | LV90 <br/>高贝扎歼灭战 | | |