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

CGT: Improve Sleep Talk and boosting sets #9998

Merged
merged 10 commits into from
Nov 18, 2024
Merged

Conversation

pyuk-bot
Copy link
Contributor

@pyuk-bot pyuk-bot commented Dec 20, 2023

This adds a moveStats object to keep track of information about the moveset so far which should help speed up the move weighing process a little. It also:

  • Remembers that Stone Axe and Ceaseless Edge exist
  • Makes having an offensive setup move not only lower the weight of moves that don't use it but also increase the weight of moves that do
  • Tries to prevent sets from having both Sleep Talk and a status move that doesn't work well with Sleep Talk (which is most of them)
  • Lowers the weight of Protect and Endure
  • Emphasizes the importance of speed to the power of Gyro Ball and Electro Ball
  • Strongly lowers the weight of all status moves on sets with no attacks and only one slot left, especially if they have setup
  • Prevents (hopefully) all Poison-immune Pokemon from rolling Toxic Orb, not just Poison Types, and also makes Toxic Orb more likely on Toxic Boost

data/cg-teams.ts Outdated Show resolved Hide resolved
data/cg-teams.ts Outdated Show resolved Hide resolved
@KrisXV KrisXV merged commit 0c18c9c into smogon:master Nov 18, 2024
1 check passed
protected static moveIsSpecial(move: Move, species: Species) {
if (move.category === 'Special') {
return !(move.damageCallback || move.damage);
} else if (['terablast', 'terastarstorm', 'photongeyser', 'shellsidearm'].includes(move.id)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, this should have been the first check in this function since all those moves pass the other one.

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.

2 participants