跳到主要内容

夜兰

实用配置

使用 yelan 写在 config 里。 别名: 没有登记别名。

复制起手配置

yelan char lvl=90/90 cons=0 talent=9,9,9;
yelan add weapon="favoniussword" refine=5 lvl=90/90;
yelan add set="emblemofseveredfate" count=4;
yelan add stats hp=4780 atk=311 atk%=0.466 cr=0.311 cd=0.622 er=0.110;

连招示例

Breakthrough barb

Use aim only when Breakthrough is ready; otherwise use the normal skill/burst route.

复制连招

if .yelan.breakthrough {
  yelan aim;
}
if .yelan.skill.ready {
  yelan skill;
}

安全基础循环

这是最稳的起步模板。它会先确认元素战技/元素爆发是否可用,再执行动作,最后用普攻补空档。还不知道角色真正连招时,先用这个。

if .character.skill.ready

读取冷却状态。为真时现在可以释放;为假时模拟器会跳过这个动作。

attack:3

`attack:3` 表示连续三次普通攻击。测试连招时可以改这个数字。

这里不要写无限循环

这个 helper 只在被调用时运行一次。真正重复整套轴的部分,应该放在外层主 `for` 循环里。

复制连招

fn yelan_basic_loop() {
  if .yelan.skill.ready {
    yelan skill;
  }
  if .yelan.burst.ready {
    yelan burst;
  }
  yelan attack:3;
}

等待 .yelan.breakthrough 仍然存在

Whether Yelan is in the Breakthrough state or not.

实时状态

这不是开局设置值,而是当前帧的模拟器状态。

等待上限

帧数上限可以防止状态永远不变时配置卡死。

复制连招

let start = f();
while .yelan.breakthrough > 0 && f() - start < 300 {
  yelan attack;
}

以 breakthrough 开局

0 for no Breakthrough state at start of sim, 1 (default) for Breakthrough state at start of sim. Set via '+params=[breakthrough=...]' in Yelan's 'char' line.

+params=[...]

角色参数写在 `char` 那一行。

复制连招

yelan char lvl=90/90 cons=0 talent=9,9,9 +params=[breakthrough=1];

使用 attack[travel=...]

投射物飞行时间,单位为帧。

attack[travel=...]

动作参数写在该动作后面的方括号里。

复制连招

yelan attack[travel=10];

可写动作

attack 可直接使用

复制命令

yelan attack:3;

aim 可直接使用

复制命令

yelan aim[weakspot=1,travel=10];

skill 可直接使用

复制命令

yelan skill;

burst 可直接使用

复制命令

yelan burst;

dash 可直接使用

复制命令

yelan dash;

jump 可直接使用

复制命令

yelan jump;

walk Only aim followed by walk has proper frames.

复制命令

yelan walk;

swap 可直接使用

复制命令

yelan swap;

动作特殊参数

-[breakthrough=...] - 0 for no Breakthrough state at start of sim, 1 (default) for Breakthrough state at start of sim. Set via '+params=[breakthrough=...]' in Yelan's 'char' line.

复制命令

yelan -[breakthrough=1];

attack[travel=...] - 投射物飞行时间,单位为帧。

复制命令

yelan attack[travel=10];

aim[hold=...] - 0 for Physical Aimed Shot, 1 for Fully-Charged Aimed Shot (default).

复制命令

yelan aim[hold=1];

aim[travel=...] - 投射物飞行时间,单位为帧。

复制命令

yelan aim[travel=10];

aim[weakspot=...] - 1 会启用该特殊变体或效果;0 则关闭。

复制命令

yelan aim[weakspot=1];

skill[marked=...] - Number of enemies to mark with the Lifeline. Default 1.

复制命令

yelan skill[marked=1];

burst[travel=...] - 投射物飞行时间,单位为帧。

复制命令

yelan burst[travel=10];

条件字段

.yelan.breakthrough - Whether Yelan is in the Breakthrough state or not.

复制条件

if .yelan.breakthrough > 0 {
  # action here
}

帧数据

视频作者: Kolibri#7675
计数: 表格 (作者: Kolibri#7675)

Hitlag 数据

能力停顿时间缩放防御停顿召唤物
Q-Initial0.050.05falsetrue

范围数据

能力形状中心X 偏移Y 偏移半径扇形角矩形 X矩形 Y备注
N1BoxPrimaryTarget--0.5--0.11-
N2BoxPrimaryTarget--0.5--0.11-
N3BoxPrimaryTarget--0.5--0.11-
N4-1BoxPrimaryTarget--0.5--0.11-
N4-2BoxPrimaryTarget--0.5--0.11-

已知问题

没有已知问题

名称

  • yelan

可用动作

能力可用备注
attack-
charge-
aim-
skill-
burst-
low_plunge-
high_plunge-
dash-
jump-
walkOnly aim followed by walk has proper frames.
swap-

参数

能力参数说明
-breakthrough0 for no Breakthrough state at start of sim, 1 (default) for Breakthrough state at start of sim. Set via '+params=[breakthrough=...]' in Yelan's 'char' line.
attacktravelProjectile travel time. Default 10 frames.
aimhold0 for Physical Aimed Shot, 1 for Fully-Charged Aimed Shot (default).
aimtravelProjectile travel time. Default 10 frames.
aimweakspotHit weakspot with aimed shot. Default 0 (false), 1 for true.
skillmarkedNumber of enemies to mark with the Lifeline. Default 1.
bursttravelExquisite Throw projectile travel time. Default 20 frames.

字段

字段说明
.yelan.breakthrough
Whether Yelan is in the Breakthrough state or not.
如果有多个字段,使用其中任意一个都可以。