Lan Yan
Practical config
Use lanyan in configs. Aliases: None listed.
Code
lanyan char lvl=90/90 cons=0 talent=9,9,9;
lanyan add weapon="favoniussword" refine=5 lvl=90/90;
lanyan add set="emblemofseveredfate" count=4;
lanyan add stats hp=4780 atk=311 atk%=0.466 cr=0.311 cd=0.622 er=0.110;Combo recipes
Safe basic loop
This is the safest starter pattern. It checks if skill/burst are ready before pressing them, then uses attacks as filler. Use it when you do not know a character combo yet.
if .character.skill.ready
This reads the cooldown. If it says ready, the action can be used now. If it is false, the sim skips that action.
attack:3
`attack:3` means three normal attacks in a row. Change the number while you test.
No infinite loop here
This helper runs once when you call it. Put the repeated rotation outside, in your main `for` loop.
Code
fn lanyan_basic_loop() {
if .lanyan.skill.ready {
lanyan skill;
}
if .lanyan.burst.ready {
lanyan burst;
}
lanyan attack:3;
}Use skill[hold=...]
0 for Tap (default), value between 1 and 610 for Hold.
skill[hold=...]
Action params go inside brackets on the exact action you are casting.
Code
lanyan skill[hold=1];Use low_plunge[collision=...]
0 for no collision dmg (default), 1 for collision dmg.
low_plunge[collision=...]
Action params go inside brackets on the exact action you are casting.
Code
lanyan low_plunge[collision=0];Actions you can write
attack usable directly
Code
lanyan attack:3;charge Need to use attack right before charge.
Code
lanyan attack, charge;skill usable directly
Code
lanyan skill;burst usable directly
Code
lanyan burst;low_plunge Previous action must be a jump buffed via Xianyun's burst for example.
Code
lanyan low_plunge[collision=0];high_plunge Previous action must be a jump buffed via Xianyun's burst for example.
Code
lanyan high_plunge[collision=0];dash usable directly
Code
lanyan dash;jump usable directly
Code
lanyan jump;walk No action followed by walk (except low_plunge and high_plunge) has proper frames.
Code
lanyan walk;swap usable directly
Code
lanyan swap;Special action params
skill[hold=...] - 0 for Tap (default), value between 1 and 610 for Hold.
Code
lanyan skill[hold=1];low_plunge[collision=...] - 0 for no collision dmg (default), 1 for collision dmg.
Code
lanyan low_plunge[collision=0];high_plunge[collision=...] - 0 for no collision dmg (default), 1 for collision dmg.
Code
lanyan high_plunge[collision=0];Fields for conditions
No special entries documented.
Frames
- Video #1
- Video #2
- Video #3
Hitlag Data
- Normal
- Charge Attack
- Skill
| Ability | Halt Time | Scale | Defense Halt | Deployable |
|---|---|---|---|---|
| N1 | 0.03 | 0.01 | true | false |
| N2-1 | 0.03 | 0.01 | true | false |
| N2-2 | 0 | 0 | true | false |
| N3-1 | 0.03 | 0.01 | false | false |
| N3-2 | 0 | 0 | false | false |
| N4 | 0.06 | 0.01 | true | false |
| Ability | Halt Time | Scale | Defense Halt | Deployable |
|---|---|---|---|---|
| CA | 0 | 0 | false | true |
| Ability | Halt Time | Scale | Defense Halt | Deployable |
|---|---|---|---|---|
| E-Ring | 0 | 0.01 | true | false |
AoE Data
- Normal
- Plunge
- Skill
- Burst
- Ascension
| Ability | Shape | Center | Offset X | Offset Y | Radius | Fan Angle | Box X | Box Y | Notes |
|---|---|---|---|---|---|---|---|---|---|
| N1 | Box | Player | - | -0.2 | - | - | 2.2 | 3 | - |
| N2 | Box | Player | - | -0.2 | - | - | 2.3 | 3 | - |
| N3 | Circle | Player | - | 0.3 | 2.2 | - | - | - | - |
| N4 | Circle | Player | - | 0.5 | 2.4 | 240 | - | - | - |
| Ability | Shape | Center | Offset X | Offset Y | Radius | Fan Angle | Box X | Box Y | Notes |
|---|---|---|---|---|---|---|---|---|---|
| Plunge | Circle | Player | - | - | 1.5 | - | - | - | - |
| Low_Plunge | Circle | Player | - | - | 3 | - | - | - | - |
| High_Plunge | Circle | Player | - | - | 3.5 | - | - | - | - |
| Ability | Shape | Center | Offset X | Offset Y | Radius | Fan Angle | Box X | Box Y | Notes |
|---|---|---|---|---|---|---|---|---|---|
| E-Detect | Box | Player | - | - | - | - | 0.1 | 5 | - |
| E-Ring | Single | PrimaryTarget | - | - | - | - | - | - | - |
| Ability | Shape | Center | Offset X | Offset Y | Radius | Fan Angle | Box X | Box Y | Notes |
|---|---|---|---|---|---|---|---|---|---|
| Q | Circle | PrimaryTarget | - | - | 6 | - | - | - | - |
| Ability | Shape | Center | Offset X | Offset Y | Radius | Fan Angle | Box X | Box Y | Notes |
|---|---|---|---|---|---|---|---|---|---|
| A1 | Single | PrimaryTarget | - | - | - | - | - | - | - |
Known issues
Names
Legal Actions
| Ability | Legal | Notes |
|---|---|---|
attack | ✔ | - |
charge | ⚠ | Need to use attack right before charge. |
aim | ❌ | - |
skill | ✔ | - |
burst | ✔ | - |
low_plunge | ⚠ | Previous action must be a jump buffed via Xianyun's burst for example. |
high_plunge | ⚠ | Previous action must be a jump buffed via Xianyun's burst for example. |
dash | ✔ | - |
jump | ✔ | - |
walk | ⚠ | No action followed by walk (except low_plunge and high_plunge) has proper frames. |
swap | ✔ | - |
Params
| Ability | Param | Description |
|---|---|---|
skill | hold | 0 for Tap (default), value between 1 and 610 for Hold. |
low_plunge | collision | 0 for no collision dmg (default), 1 for collision dmg. |
high_plunge | collision | 0 for no collision dmg (default), 1 for collision dmg. |