mirror of
https://github.com/Hibiya615/TetoraKAScript.git
synced 2025-12-17 07:18:15 +08:00
增加正统优雷卡71~100层绘制
This commit is contained in:
@@ -28,13 +28,22 @@ public class Eureka_Orthos {
|
||||
v0.0.0.1:
|
||||
正统优雷卡绘制
|
||||
注:方法设置中的层数仅做分割线效果,并不是批量开关
|
||||
现支持层数:1~20、99(BOSS)
|
||||
现支持层数:1~20、71~100
|
||||
严重错误:暂未支持【缓速】【形态变化】【石化】【眩晕】【催眠】等限制
|
||||
错误:第20层扇形绘制会有偏差
|
||||
怪物死亡也暂时没有销毁绘图,先拯救ARR完再说[?]
|
||||
""";
|
||||
|
||||
//对应怪物死亡、眩晕、催眠、石化1511、无法发动技能1113等状态都需要销毁绘图,缓速3493需要额外注意没有omen的技能
|
||||
// 71~79层 【正统狼獾 杀人爪】【正统雷兽 尾镰】【正统雷兽 电火花】均未支持缓速
|
||||
|
||||
//99层 石中剑 计数
|
||||
uint timesCaliburniHasBeenCast=0;
|
||||
public void Init(ScriptAccessory accessory) {
|
||||
|
||||
timesCaliburniHasBeenCast=0;
|
||||
|
||||
}
|
||||
|
||||
// 通用内容
|
||||
[ScriptMethod(name: "拟态怪_怨念提示", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32798"])]
|
||||
public void 拟态怪_怨念(Event @event, ScriptAccessory accessory)
|
||||
@@ -86,11 +95,20 @@ public class Eureka_Orthos {
|
||||
// 1~10层 小怪
|
||||
[ScriptMethod(name: "—————— \ue061 ~ \ue061\ue060 层 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])]
|
||||
public void 第1层(Event @event, ScriptAccessory accessory) { }
|
||||
[ScriptMethod(name: "正统贝希摩斯 黄道陨石(狂暴卡墙提示)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:33043"])]
|
||||
[ScriptMethod(name: "正统贝希摩斯 黄道陨石(狂暴)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:33043"])]
|
||||
public void 正统贝希摩斯_黄道陨石(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
accessory.Method.TextInfo("狂暴,躲在墙壁后", duration: 2700, true);
|
||||
accessory.Method.TTS("躲在墙壁后");
|
||||
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "正统贝希摩斯_黄道陨石";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 0.2f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(50f);
|
||||
dp.DestoryAt = 11700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统榴弹怪 大爆炸(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32381"])]
|
||||
@@ -159,17 +177,68 @@ public class Eureka_Orthos {
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(10);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.Radian = 90f.DegToRad();
|
||||
dp.Rotation = 180f.DegToRad();
|
||||
dp.DestoryAt = 2200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
// 20 BOSS 盾龙复制体
|
||||
[ScriptMethod(name: "\ue062\ue060 盾龙复制体_连线预兆", eventType: EventTypeEnum.Tether, eventCondition: ["Id:0016"])]
|
||||
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(50);
|
||||
dp.Radian = 30f.DegToRad();
|
||||
dp.DestoryAt = 4000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
|
||||
/* 有点BUG 先放着
|
||||
// 小龙被连线 0016 时会有一个技能ID为 32552 的 ActionEffect
|
||||
// 开场小龙被连线 跳下来时疑似有个32554的ActionEffect,跳下来后约 3.2s 开始读条火焰吐息
|
||||
// 仇恨栏出现读条时候,同时会有一个1.7s ID为 32544 的火焰吐息读条,意义不明但是伤害类型为魔法伤害
|
||||
// 仇恨栏看到的 3.2s ID为 32864 的火焰吐息 为真实伤害读条(且有约 1s 的可见omen)
|
||||
// 在【攻击命令 32543】读条时需显示 6.5s ,如果没有在读条 【攻击命令 32543】 ,则显示 4s
|
||||
// 连续攻击命令:32545
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(50);
|
||||
dp.Radian = float.Pi / 6;
|
||||
|
||||
if (Svc.Objects.Any(x => x is IBattleChara y && y.CastActionId == 32543))
|
||||
{
|
||||
dp.Name = "盾龙复制体_单次预兆";
|
||||
dp.DestoryAt = 6500;
|
||||
}
|
||||
else
|
||||
{
|
||||
dp.Name = "盾龙复制体_连续预兆";
|
||||
dp.DestoryAt = 4000;
|
||||
}
|
||||
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
*/
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue062\ue060 盾龙复制体_开场火焰吐息", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:32554"])]
|
||||
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(50);
|
||||
dp.Radian = 30f.DegToRad();
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue062\ue060 盾龙复制体_火焰吐息", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32864"])]
|
||||
//顺劈范围需要一定偏移
|
||||
//需要捕获 “vfx/channeling/eff/gard_pow00bf.avfx” 连线对场外的小龙进行4秒的提前绘制(距离场中24~45m)
|
||||
//对于已经跳下来的场内小龙,需要在 32544 32864读条时取消绘制(距离场中23m)
|
||||
public void 盾龙复制体_火焰吐息(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
@@ -187,7 +256,6 @@ public class Eureka_Orthos {
|
||||
[ScriptMethod(name: "—————— \ue062\ue061 ~ \ue063\ue060 层 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])]
|
||||
public void 第21层(Event @event, ScriptAccessory accessory) { }
|
||||
|
||||
|
||||
// 30 BOSS 提亚马特复制体
|
||||
|
||||
// 31~40层 小怪
|
||||
@@ -222,16 +290,630 @@ public class Eureka_Orthos {
|
||||
[ScriptMethod(name: "—————— \ue067\ue061 ~ \ue068\ue060 层 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])]
|
||||
public void 第71层(Event @event, ScriptAccessory accessory) { }
|
||||
|
||||
|
||||
[ScriptMethod(name: "正统曙象 怒踏(钢铁)", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:33191"])]
|
||||
public void 正统曙象_怒踏(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
//33191 猛进 释放完2s后 读条 33192怒踏 1.2s
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "正统曙象_怒踏";
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(6f);
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
|
||||
/* 备用
|
||||
[ScriptMethod(name: "正统曙象 怒踏(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:33192"])]
|
||||
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(6f);
|
||||
dp.DestoryAt = 1200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
*/
|
||||
|
||||
[ScriptMethod(name: "正统巨嘴鸟 减速咒(顺劈)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32635"])]
|
||||
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(6f);
|
||||
dp.Radian = 90f.DegToRad();
|
||||
dp.DestoryAt = 2700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统狼獾 杀人爪(二连顺劈)", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:33193"])]
|
||||
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(6f);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
dp.DestoryAt = 3000; // 缓速情况下 需要绘制 11200
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统焰兽 怒吼(穿墙直线)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:33199"])]
|
||||
public void 正统焰兽_怒吼(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "正统焰兽_怒吼";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 1f);
|
||||
dp.Scale = new (20, 40f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统斯卡尼特 唧唧咋咋(睡眠钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32637"])]
|
||||
public void 正统斯卡尼特_唧唧咋咋(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "正统斯卡尼特_唧唧咋咋";
|
||||
dp.Color = new Vector4(1f, 0f, 1f, 1f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(3f);
|
||||
dp.DestoryAt = 2700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
/*
|
||||
[ScriptMethod(name: "正统卡尔加斯 凛冬之风(狂暴钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32785"])]
|
||||
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(40f);
|
||||
dp.DestoryAt = 4700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
*/
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统长须豹 回旋尾(扫尾)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32647"])]
|
||||
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(25f);
|
||||
dp.Radian = 60f.DegToRad();
|
||||
dp.Rotation = 180f.DegToRad();
|
||||
dp.DestoryAt = 2200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统雷兽 尾镰(趴地钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32656"])]
|
||||
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(6f);
|
||||
dp.DestoryAt = 3200; // 暂无缓速数据
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统雷兽 电火花(月环)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32660"])]
|
||||
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(30f);
|
||||
dp.InnerScale = new Vector2(12f);
|
||||
dp.Radian = float.Pi * 2;
|
||||
dp.DestoryAt = 3200; // 暂无缓速数据
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue0bc 正统大脚巨猿 吃香蕉", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:33195"])]
|
||||
public void 正统大脚巨猿_吃香蕉(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = $"正统大脚巨猿_吃香蕉{@event.SourceId()}";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 2f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(2f);
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统大脚巨猿 吃香蕉销毁", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32680"], userControl: false)]
|
||||
public void 深宫大脚巨猿_吃香蕉销毁(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
accessory.Method.RemoveDraw($"正统大脚巨猿_吃香蕉{@event.SourceId()}");
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue0bc 正统大脚巨猿 捶胸(脱战钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32680"])]
|
||||
public void 正统大脚巨猿_捶胸(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
//33195 吃香蕉 1.7s ; 32680 捶胸 1.7s ; 伤害提高 61
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = $"正统大脚巨猿_捶胸{@event.SourceId()}";
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(52f);
|
||||
dp.DestoryAt = 1700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统大脚巨猿 捶胸销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^(6499|3266[12])$"], userControl: false)]
|
||||
public void 深宫大脚巨猿_捶胸销毁(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
// 6499 平A攻击 ; 32661 打飞 ; 32662 殴打
|
||||
accessory.Method.RemoveDraw($"正统大脚巨猿_捶胸{@event.SourceId()}");
|
||||
}
|
||||
|
||||
// 80 BOSS 原形卡利亚
|
||||
[ScriptMethod(name: "\ue068\ue060 原形卡利亚 共鸣(顺劈死刑)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31422"])]
|
||||
public void 原形卡利亚_共鸣(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
dp.Name = "原形卡利亚_共鸣";
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.TargetObject = @event.TargetId();
|
||||
dp.Scale = new Vector2(12f);
|
||||
dp.Radian = 90f.DegToRad();
|
||||
dp.DestoryAt = 4700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue068\ue060 原形卡利亚 气压领域 内圈即死范围", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^(31427|32930)$"])]
|
||||
public void 原形卡利亚_气压领域_内(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "原形卡利亚_气压领域_内";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 1.8f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(5f);
|
||||
dp.DestoryAt = 6900;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue068\ue060 原形卡利亚 气压领域 外圈即死范围", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31427"])]
|
||||
public void 原形卡利亚_气压领域_外(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "原形卡利亚_气压领域_外";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 1f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(25f);
|
||||
dp.InnerScale = new Vector2(20f);
|
||||
dp.Radian = float.Pi * 2;
|
||||
dp.DestoryAt = 6900;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue068\ue060 原形卡利亚 前方神经毒气喷射", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32933"])]
|
||||
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(25f);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
dp.DestoryAt = 5000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue068\ue060 原形卡利亚 左侧神经毒气喷射", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32934"])]
|
||||
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(25f);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.Rotation = 135f.DegToRad();
|
||||
dp.DestoryAt = 5000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue068\ue060 原形卡利亚 右侧神经毒气喷射", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32935"])]
|
||||
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(25f);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.Rotation = 225f.DegToRad();
|
||||
dp.DestoryAt = 5000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue068\ue060 原形卡利亚 环状神经毒气喷射", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32930"])]
|
||||
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(20f);
|
||||
dp.InnerScale = new Vector2(8f);
|
||||
dp.Radian = float.Pi * 2;
|
||||
dp.DestoryAt = 6900;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "炮击无人机 自动火炮(直线)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31432"])]
|
||||
public void 炮击无人机_自动火炮(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "炮击无人机_自动火炮";
|
||||
dp.Scale = new (5, 43f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.DestoryAt = 3700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp);
|
||||
}
|
||||
|
||||
// 81~90层 小怪
|
||||
[ScriptMethod(name: "—————— \ue068\ue061 ~ \ue069\ue060 层 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])]
|
||||
public void 第81层(Event @event, ScriptAccessory accessory) { }
|
||||
|
||||
[ScriptMethod(name: "正统卡托布莱帕斯 恶魔之瞳(脱战背对)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32762"])]
|
||||
public void 正统卡托布莱帕斯_恶魔之瞳(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = $"正统卡托布莱帕斯_恶魔之瞳{@event.SourceId()}";
|
||||
dp.Color = new Vector4(1f, 0f, 1f, 0.6f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(33f);
|
||||
dp.DestoryAt = 4700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统卡托布莱帕斯_恶魔之瞳打断销毁", eventType: EventTypeEnum.CancelAction, eventCondition: ["ActionId:32762"], userControl: false)]
|
||||
public void 正统卡托布莱帕斯_恶魔之瞳打断销毁(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
accessory.Method.RemoveDraw($"正统卡托布莱帕斯_恶魔之瞳{@event.SourceId()}");
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统深瞳 绝叫(易伤)", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:32738"])]
|
||||
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(8f);
|
||||
dp.Delay = 16000; // 表格的Recast为18000,考虑到误差故此设置
|
||||
dp.DestoryAt = 4000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统深瞳 绝叫销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:32738"], userControl: false)]
|
||||
public void 正统深瞳_绝叫销毁(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
accessory.Method.RemoveDraw($"正统深瞳_绝叫{@event.SourceId()}");
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统百目妖 凶眼(背对)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32731"])]
|
||||
public void 正统百目妖_凶眼(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "正统百目妖_凶眼";
|
||||
dp.Color = new Vector4(1f, 0f, 1f, 1f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(5f);
|
||||
dp.DestoryAt = 4700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统地生人 三重强击(顺劈)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32740"])]
|
||||
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(14);
|
||||
dp.Radian = 90f.DegToRad();
|
||||
dp.DestoryAt = 2700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统幽灵 尖啸(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32772"])]
|
||||
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(20f);
|
||||
dp.DestoryAt = 4700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统黑天马 天马嘶啸(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32768"])]
|
||||
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(12f);
|
||||
dp.DestoryAt = 3200;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统铁面腐尸 追打 TTS", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:32757"])]
|
||||
public void 正统铁面腐尸_追打(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
accessory.Method.TTS("远离正面");
|
||||
// 如果在此技能就开始画图会过早显示,延迟的话也就显示个半秒反而不好看,故只留TTS作提醒
|
||||
}
|
||||
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统铁面腐尸 挥舞(顺劈)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32759"])]
|
||||
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(6);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
dp.DestoryAt = 2700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统贪吃鬼 发霉喷嚏(顺劈)", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:32748"])]
|
||||
public void 正统贪吃鬼_发霉喷嚏(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
accessory.Method.TTS("远离正面");
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
dp.Name = "正统贪吃鬼_发霉喷嚏";
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(6);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
dp.Delay = 1000;
|
||||
dp.DestoryAt = 2000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
/*
|
||||
[ScriptMethod(name: "\ue05e 正统贪吃鬼 发霉喷嚏(顺劈)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32749"])]
|
||||
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(6);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
dp.DestoryAt = 700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
*/
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统妖影 左侧横扫", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32776"])]
|
||||
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(30);
|
||||
dp.Radian = 210f.DegToRad();
|
||||
dp.Rotation = 75f.DegToRad();
|
||||
dp.DestoryAt = 3700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统妖影 右侧横扫", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32777"])]
|
||||
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(30);
|
||||
dp.Radian = 210f.DegToRad();
|
||||
dp.Rotation = -75f.DegToRad();
|
||||
dp.DestoryAt = 3700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统妖影 圆形爆发(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32774"])]
|
||||
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(15f);
|
||||
dp.DestoryAt = 3700;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统妖影 环形爆发(月环)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32775"])]
|
||||
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(30f);
|
||||
dp.InnerScale = new Vector2(7f);
|
||||
dp.Radian = float.Pi * 2;
|
||||
dp.DestoryAt = 3700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
// 90 BOSS 管理者
|
||||
[ScriptMethod(name: "\ue069\ue060 协作程序 魔科学射线α(蛋扇形)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31451"])]
|
||||
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(50);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
dp.Delay = 2500;
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue060 协作程序 魔科学射线β(方块激光)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31452"])]
|
||||
public void 协作程序_魔科学射线β(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "协作程序_魔科学射线β";
|
||||
dp.Scale = new (5, 40f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.Delay = 2500;
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue060 协作程序 魔科学射线γ(月环)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31453"])]
|
||||
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(40f);
|
||||
dp.InnerScale = new Vector2(8f);
|
||||
dp.Radian = float.Pi * 2;
|
||||
dp.Delay = 2500;
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue060 协作程序 魔科学射线γ(月环内径)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31453"])]
|
||||
public void 协作程序_魔科学射线γ内径(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "协作程序_魔科学射线γ内径";
|
||||
dp.Color = new Vector4(0f, 1f, 0f, 8f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(8.08f);
|
||||
dp.InnerScale = new Vector2(8f);
|
||||
dp.Radian = float.Pi * 2;
|
||||
dp.DestoryAt = 5700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
//齐射程序 的直线激光,可以考虑抓 BOSS本体读条 31455 delay(或者不用)来给边缘描个框 以作提前绘制 [?
|
||||
[ScriptMethod(name: "\ue069\ue060 齐射程序 魔科学射线α(蛋扇形)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32832"])]
|
||||
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(50);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
dp.DestoryAt = 7700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue060 杀戮程序 魔科学射线β(方块激光)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32833"])]
|
||||
public void 杀戮程序_魔科学射线β(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "杀戮程序_魔科学射线β";
|
||||
dp.Scale = new (5, 40f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Color = accessory.Data.DefaultDangerColor;
|
||||
dp.Delay = 4300;
|
||||
dp.DestoryAt = 3400;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Rect, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue060 管理者 环状射线", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31447"])]
|
||||
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(30f);
|
||||
dp.InnerScale = new Vector2(5f);
|
||||
dp.Radian = float.Pi * 2;
|
||||
dp.Delay = 2700;
|
||||
dp.DestoryAt = 3000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue060 管理者 十字射线", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31448"])]
|
||||
public void 管理者_十字射线(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var currentProperty = accessory.Data.GetDefaultDrawProperties();
|
||||
currentProperty.Name = "管理者_十字射线";
|
||||
currentProperty.Scale = new (10, 60f);
|
||||
currentProperty.Owner = @event.SourceId();
|
||||
currentProperty.Color = accessory.Data.DefaultDangerColor;
|
||||
currentProperty.Delay = 2700;
|
||||
currentProperty.DestoryAt = 3000;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Straight, currentProperty);
|
||||
|
||||
//旋转90°,使其绘制结果为一个十字
|
||||
for(int i=1;i<=2;++i) {
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default,DrawTypeEnum.Straight,currentProperty);
|
||||
currentProperty.Rotation+=90f.DegToRad();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue060 管理者 执行杀戮程序 诱导黄圈提示", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31454"])]
|
||||
public void 管理者_执行杀戮程序(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
accessory.Method.TextInfo("诱导五连AOE", duration: 3000, true);
|
||||
accessory.Method.TTS("诱导五连AOE");
|
||||
}
|
||||
|
||||
// 91~100层 小怪
|
||||
[ScriptMethod(name: "—————— \ue069\ue061 ~ \ue061\ue060\ue060 层 ——————", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:"])]
|
||||
@@ -251,11 +933,10 @@ public class Eureka_Orthos {
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "正统系统γ 高压电流 打断销毁", eventType: EventTypeEnum.CancelAction, eventCondition: ["ActionId:32878"], userControl: false)]
|
||||
[ScriptMethod(name: "正统系统γ 高压电流 打断销毁", eventType: EventTypeEnum.ActionEffect, eventCondition: ["ActionId:regex:^75[38|51]$"], userControl: false)]
|
||||
public void 正统系统γ_高压电流打断销毁(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
//伤头:7551
|
||||
accessory.Method.RemoveDraw($"正统系统γ_高压电流{@event.SourceId()}");
|
||||
accessory.Method.RemoveDraw($"正统系统γ_高压电流{@event.TargetId()}");
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue05e 正统系统γ 排斥炮(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32877"])]
|
||||
@@ -396,19 +1077,17 @@ public class Eureka_Orthos {
|
||||
accessory.Method.RemoveDraw($"正统扎戈斧龙_残虐咆哮{@event.SourceId()}");
|
||||
}
|
||||
|
||||
/* 需要抓取点名跟随被点名玩家 TargetIcon:Id 0016
|
||||
[ScriptMethod(name: "正统扎戈斧龙 XXX突袭(击退点名)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32888"])]
|
||||
public void 正统扎戈斧龙_XXX突袭(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "正统扎戈斧龙_XXX突袭";
|
||||
dp.Color = new Vector4(1f, 0.4f, 0f, 1f);
|
||||
dp.TargetObject = @event.TargetId();
|
||||
dp.Owner = @event.TargetId();
|
||||
dp.Scale = new Vector2(10f);
|
||||
dp.DestoryAt = 2700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
}
|
||||
*/
|
||||
|
||||
[ScriptMethod(name: "正统整备工 邪圣(脱战钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:32931"])]
|
||||
public void 正统整备工_邪圣(Event @event, ScriptAccessory accessory)
|
||||
@@ -464,7 +1143,7 @@ public class Eureka_Orthos {
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(30);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
//dp.Rotation = 45f; //不知道转多少才是左上.jpg
|
||||
dp.Rotation = 30f;
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
@@ -478,7 +1157,7 @@ public class Eureka_Orthos {
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(30);
|
||||
dp.Radian = 120f.DegToRad();
|
||||
//dp.Rotation = 45f; //不知道转多少才是右上.jpg
|
||||
dp.Rotation = -30f;
|
||||
dp.DestoryAt = 3200;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
@@ -526,6 +1205,88 @@ public class Eureka_Orthos {
|
||||
|
||||
|
||||
// 99 BOSS 王者之剑
|
||||
[ScriptMethod(name:"Reset_Caliburni_石中剑重置",userControl:false,eventType:EventTypeEnum.Chat,
|
||||
eventCondition:["Type:NPCDialogueAnnouncements","Message:regex:^连接良好.*","Sender:斗神 王者之剑"])]
|
||||
public void Reset_Caliburni_石中剑重置(Event @event, ScriptAccessory accessory) {
|
||||
// 根据开场台词重置
|
||||
// 注意开头添加了变量和Init函数 Init函数是在每次整个副本reset时调用的
|
||||
timesCaliburniHasBeenCast=0;
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue069 石中剑", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31333"])]
|
||||
public void 石中剑_直线(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
//本体无意义读条:31333,组合对应的飞剑强袭直线读条:31334
|
||||
//开场为正面10个直线,且顺时针为6°,逆时针为4°,间隔10°,左5右5
|
||||
//之后为3组共15个直线,每个直线固定间隔10°,每组固定间隔120°;
|
||||
|
||||
var dp=accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
if(timesCaliburniHasBeenCast<=0) {
|
||||
|
||||
for(int i=1,currentRotation=4;i<=4;++i,currentRotation+=10) {
|
||||
// 开场 左4
|
||||
// -4 -14 -24 -34
|
||||
dp=accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
dp.Name="石中剑_开场";
|
||||
dp.Scale=new(4,20f);
|
||||
dp.Owner=@event.SourceId();
|
||||
dp.Color=accessory.Data.DefaultDangerColor;
|
||||
dp.DestoryAt=4700;
|
||||
dp.Rotation=((float)currentRotation).DegToRad();
|
||||
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default,DrawTypeEnum.Rect,dp);
|
||||
}
|
||||
|
||||
for(int i=1,currentRotation=-6;i<=6;++i,currentRotation-=10) {
|
||||
// 开场 右6
|
||||
// 6 16 26 36 46 56
|
||||
dp=accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
dp.Name="石中剑_开场";
|
||||
dp.Scale=new(4,20f);
|
||||
dp.Owner=@event.SourceId();
|
||||
dp.Color=accessory.Data.DefaultDangerColor;
|
||||
dp.DestoryAt=4700;
|
||||
dp.Rotation=((float)currentRotation).DegToRad();
|
||||
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default,DrawTypeEnum.Rect,dp);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
for(int axisRotation=0;axisRotation<360;axisRotation+=120) {
|
||||
// 一共三组 中轴线相隔120度
|
||||
// 0 120 240
|
||||
// 注意axisRotation<360所以360不会被执行 一共三次
|
||||
|
||||
for(int i=1,currentRotation=axisRotation-20;i<=5;++i,currentRotation+=10) {
|
||||
// 分别是当前中轴的-20 -10 0 10 20度
|
||||
|
||||
dp=accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
dp.Name="石中剑_战斗途中";
|
||||
dp.Scale=new(4,20f);
|
||||
dp.Owner=@event.SourceId();
|
||||
dp.Color=accessory.Data.DefaultDangerColor;
|
||||
dp.DestoryAt=4700;
|
||||
dp.Rotation=((float)currentRotation).DegToRad();
|
||||
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default,DrawTypeEnum.Rect,dp);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
++timesCaliburniHasBeenCast;
|
||||
|
||||
}
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue069 王者之剑 魂剑之实(钢铁)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31327"])]
|
||||
public void 魂剑之实(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
@@ -566,43 +1327,54 @@ public class Eureka_Orthos {
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Fan, dp);
|
||||
}
|
||||
|
||||
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue069 次元斩(扇环)", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:regex:^(31339|3134[01])$"])]
|
||||
public void 次元斩(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "次元斩内";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 3f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(7);
|
||||
dp.InnerScale = new Vector2(2);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
|
||||
dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "次元斩中";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 3f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(12);
|
||||
dp.InnerScale = new Vector2(7);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
|
||||
dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "次元斩外";
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 3f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(22);
|
||||
dp.InnerScale = new Vector2(17f);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
if (@event["ActionId"].Equals("31339"))
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
dp.Name = "次元斩内"; //31339
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 1.8f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(7);
|
||||
dp.InnerScale = new Vector2(2);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
if (@event["ActionId"].Equals("31340"))
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
|
||||
dp.Name = "次元斩中"; //31340
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 1.6f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(12);
|
||||
dp.InnerScale = new Vector2(7);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
|
||||
if (@event["ActionId"].Equals("31341"))
|
||||
{
|
||||
var dp = accessory.Data.GetDefaultDrawProperties();
|
||||
dp.Name = "次元斩外"; //31341
|
||||
dp.Color = new Vector4(1f, 0f, 0f, 1.6f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(22);
|
||||
dp.InnerScale = new Vector2(17f);
|
||||
dp.Radian = 180f.DegToRad();
|
||||
dp.DestoryAt = 6700;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Donut, dp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
[ScriptMethod(name: "\ue069\ue069 极寒冰川 (冰花) ", eventType: EventTypeEnum.StartCasting, eventCondition: ["ActionId:31347"])]
|
||||
public void 极寒冰川(Event @event, ScriptAccessory accessory)
|
||||
{
|
||||
|
||||
@@ -51,7 +51,7 @@ public class the_Palace_of_the_Dead
|
||||
dp.Name = "地宫斯卡尼特_唧唧咋咋";
|
||||
dp.Color = new Vector4(1f, 0f, 1f, 1f);
|
||||
dp.Owner = @event.SourceId();
|
||||
dp.Scale = new Vector2(3f); //表格里的范围是20,待证实 还需要加目标圈
|
||||
dp.Scale = new Vector2(20f); //还需要加目标圈
|
||||
dp.DestoryAt = 2200;
|
||||
dp.ScaleMode = ScaleMode.ByTime;
|
||||
accessory.Method.SendDraw(DrawModeEnum.Default, DrawTypeEnum.Circle, dp);
|
||||
|
||||
Reference in New Issue
Block a user