Zibai
Practical config
Use zibai in configs. Aliases: None listed.
Code
zibai char lvl=90/90 cons=0 talent=9,9,9;
zibai add weapon="favoniussword" refine=5 lvl=90/90;
zibai add set="emblemofseveredfate" count=4;
zibai add stats hp=4780 atk=311 atk%=0.466 cr=0.311 cd=0.622 er=0.110;Special notes
Stance vs stride
The first `skill` starts the stance. The second `skill` inside that status is the stride / alternate hit.
Code
zibai skill;
zibai skill;Radiance gate
Radiance is what unlocks the alternate flow. If you stay below the required amount, the second part will not open cleanly.
Code
zibai skill;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 zibai_basic_loop() {
if .zibai.skill.ready {
zibai skill;
}
if .zibai.burst.ready {
zibai burst;
}
zibai attack:3;
}Actions you can write
No special entries documented.
Special action params
No special entries documented.
Fields for conditions
No special entries documented.