Skip to main content

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 credit: imring
Count: Sheet (credit: jwalk511 & imring)

Hitlag Data

AbilityHalt TimeScaleDefense HaltDeployable
N10.030.01truefalse
N2-10.030.01truefalse
N2-200truefalse
N3-10.030.01falsefalse
N3-200falsefalse
N40.060.01truefalse

AoE Data

AbilityShapeCenterOffset XOffset YRadiusFan AngleBox XBox YNotes
N1BoxPlayer--0.2--2.23-
N2BoxPlayer--0.2--2.33-
N3CirclePlayer-0.32.2----
N4CirclePlayer-0.52.4240---

Known issues

Does not have any known issues

Names

Does not have any known names

Legal Actions

AbilityLegalNotes
attack-
chargeNeed to use attack right before charge.
aim-
skill-
burst-
low_plungePrevious action must be a jump buffed via Xianyun's burst for example.
high_plungePrevious action must be a jump buffed via Xianyun's burst for example.
dash-
jump-
walkNo action followed by walk (except low_plunge and high_plunge) has proper frames.
swap-

Params

AbilityParamDescription
skillhold0 for Tap (default), value between 1 and 610 for Hold.
low_plungecollision0 for no collision dmg (default), 1 for collision dmg.
high_plungecollision0 for no collision dmg (default), 1 for collision dmg.

Fields

Does not have any fields