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

Basic August support #506

Merged
merged 10 commits into from
Aug 15, 2023
Merged

Basic August support #506

merged 10 commits into from
Aug 15, 2023

Conversation

horrible-little-slime
Copy link
Contributor

No description provided.

* @returns Today's august scepter skill
*/
export function todaysSkill(): Skill {
return SKILLS[today() - 1];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for doing it this way rather than just referring to the skillnumber minus a constant (7451)? Would mean we dont have to list out all the skill names, which feels neater to me?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah we can do that. I still think we should export the constant.

Because you're doing arithmetic, you'll want to do like toSkill((7451 + today()).toFixed(0)) because of dumb int vs float stuff

@burningbman burningbman merged commit d6f3d36 into main Aug 15, 2023
3 checks passed
@burningbman burningbman deleted the august-scepter branch August 15, 2023 00:12
github-actions bot pushed a commit that referenced this pull request Aug 15, 2023
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.

3 participants