Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix .char.dash.cd and .char.dash.ready fields #2348

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

soloxcx
Copy link
Contributor

@soloxcx soloxcx commented Feb 21, 2025

image

closes #2000

config for testing

options iteration=100;
energy every interval=480,720 amount=1;

hutao char lvl=90/90 cons=1 talent=9,9,9;
hutao add weapon="favlance" refine=3 lvl=90/90;

furina char lvl=90/90 cons=1 talent=9,9,9;
furina add weapon="favsword" refine=3 lvl=90/90;

target lvl=100 resist=0.1 hp=100000000 pos=0,2;

active hutao;

# Test dash fields when hitting cooldown+lockout
hutao skill;
for let i = 0; i < 3; i = i + 1 {
  hutao attack, charge;
  print("hutao.dash.ready: ", .hutao.dash.ready);
  print("hutao.dash.cd: ", .hutao.dash.cd);
  hutao dash;
}

wait(800);

# Test dash fields when low stamina
for let i = 0; i < 6; i = i + 1 {
  hutao attack, charge;
  print("stamina: ", .stam);
  print("hutao.dash.ready: ", .hutao.dash.ready);
  print("hutao.dash.cd: ", .hutao.dash.cd);
  hutao dash;
}

wait(500);

# Test swapping to different character when hitting cooldown+lockout
hutao skill, attack, charge, dash,
  attack, charge, dash;

print("hutao.dash.ready: ", .hutao.dash.ready);
print("hutao.dash.cd: ", .hutao.dash.cd);
print("furina.dash.ready: ", .furina.dash.ready);
print("furina.dash.cd: ", .furina.dash.cd);

furina swap;

print("hutao.dash.ready: ", .hutao.dash.ready);
print("hutao.dash.cd: ", .hutao.dash.cd);
print("furina.dash.ready: ", .furina.dash.ready);
print("furina.dash.cd: ", .furina.dash.cd);

furina dash;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix .<char>.dash.cd/ready conditional
1 participant