夜兰
实用配置
使用 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
}帧数据
- 视频 #1
- 视频 #2
- 视频 #3
- 视频 #4
- 视频 #5
- 视频 #6
Hitlag 数据
- 元素爆发
| 能力 | 停顿时间 | 缩放 | 防御停顿 | 召唤物 |
|---|---|---|---|---|
| Q-Initial | 0.05 | 0.05 | false | true |
范围数据
- 普通攻击
- 瞄准射击
- 元素战技
- 元素爆发
- 命座
| 能力 | 形状 | 中心 | X 偏移 | Y 偏移 | 半径 | 扇形角 | 矩形 X | 矩形 Y | 备注 |
|---|---|---|---|---|---|---|---|---|---|
| N1 | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| N2 | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| N3 | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| N4-1 | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| N4-2 | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| 能力 | 形状 | 中心 | X 偏移 | Y 偏移 | 半径 | 扇形角 | 矩形 X | 矩形 Y | 备注 |
|---|---|---|---|---|---|---|---|---|---|
| Aim | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| Aim-Head | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| FullAim | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| FullAim-Head | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| Breakthrough-Barb | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| Breakthrough-Barb-Head | Box | PrimaryTarget | - | -0.5 | - | - | 0.1 | 1 | - |
| Breakthrough-Barb-Explosion | Circle | PrimaryTarget | - | - | 6 | - | - | - | - |
| 能力 | 形状 | 中心 | X 偏移 | Y 偏移 | 半径 | 扇形角 | 矩形 X | 矩形 Y | 备注 |
|---|---|---|---|---|---|---|---|---|---|
| E-Skill | Single | GlobalValue | - | - | - | - | - | - | Spawns on all enemies marked by E |
| 能力 | 形状 | 中心 | X 偏移 | Y 偏移 | 半径 | 扇形角 | 矩形 X | 矩形 Y | 备注 |
|---|---|---|---|---|---|---|---|---|---|
| Q-Initial | Circle | Player | -1.5 | -1.7 | 6 | - | - | - | - |
| Q-Dice | Circle | PrimaryTarget | - | - | 0.5 | - | - | - | - |
| 能力 | 形状 | 中心 | X 偏移 | Y 偏移 | 半径 | 扇形角 | 矩形 X | 矩形 Y | 备注 |
|---|---|---|---|---|---|---|---|---|---|
| Q-C2 | Circle | PrimaryTarget | - | - | 0.5 | - | - | - | - |
| C6 | Circle | PrimaryTarget | - | - | 4 | - | - | - | - |
已知问题
名称
- yelan
可用动作
| 能力 | 可用 | 备注 |
|---|---|---|
attack | ✔ | - |
charge | ❌ | - |
aim | ✔ | - |
skill | ✔ | - |
burst | ✔ | - |
low_plunge | ❌ | - |
high_plunge | ❌ | - |
dash | ✔ | - |
jump | ✔ | - |
walk | ⚠ | Only aim followed by walk has proper frames. |
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. |
attack | travel | Projectile travel time. Default 10 frames. |
aim | hold | 0 for Physical Aimed Shot, 1 for Fully-Charged Aimed Shot (default). |
aim | travel | Projectile travel time. Default 10 frames. |
aim | weakspot | Hit weakspot with aimed shot. Default 0 (false), 1 for true. |
skill | marked | Number of enemies to mark with the Lifeline. Default 1. |
burst | travel | Exquisite Throw projectile travel time. Default 20 frames. |
字段
| 字段 | 说明 |
|---|---|
.yelan.breakthrough | Whether Yelan is in the Breakthrough state or not. |