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

Programatically produce cosmetic formes #16

Closed
wants to merge 18 commits into from

Conversation

shrianshChari
Copy link
Collaborator

Requires tests to be re-enabled (#3) before we can test these changes

The updates to cosmetic formes does not use the species.cosmeticFormes attribute because then it would produce output that is inconsistent with Antar's original code. Instead, I have used the Pokemon's typing and base stats to identify formes that can be skipped. The only exception is Basculin, which has a single different ability between its red-striped and blue-striped forme (Reckless and Rock Head, respectively). However, Antar included it in his list, and it's for two abilities that don't even get used on Basculin, so it's fine.

Uses a `getBL` function because people recommended not writing the same
code twice
stats/src/reports.ts Outdated Show resolved Hide resolved
@shrianshChari shrianshChari changed the title Programatically update tiering information Programatically produce cosmetic formes Sep 19, 2024
@scheibo
Copy link
Contributor

scheibo commented Sep 22, 2024

The reports tests have been reenabled. Per discussion on Discord adding a reports.test.ts file with a unit test would be a good way to add coverage for this. Thanks

@shrianshChari shrianshChari deleted the cosmetic-formes branch September 23, 2024 00:32
@shrianshChari
Copy link
Collaborator Author

Me when I butcher a rebase

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

Successfully merging this pull request may close these issues.

2 participants