Creating a new Season - RaiderIO/keystone.guru GitHub Wiki

Creating a new Season

Seasons are created whenever a new .. season happens in-game. A new season happens whenever the rotation of the dungeons change. They usually match the Raider.io seasons, though for Keystone.guru purposes we don't really care about any changes in player power level which may affect Raider.io score. I only care when dungeons change.

Adding a new Season in the seeder

The seeders contain all the static data for Keystone.guru. This is the data that does not change during the runtime of the site - things that users cannot edit. They will only change whenever the site is updated and as such can be cached heavily. Seasons are one of these things.

In folder database/seeders/SeasonsSeeder.php exists a list of seasons that currently exist in the platform. Simply add your new season here just like the other seasons are added. Seasons are assigned to an expansion, and must have a list of dungeons associated with them. Since Shadowlands S4 a season is no longer directly coupled to it's parent expansion's dungeons. Instead, dungeons are picked from the entire pool of available dungeons. They mentioned dungeons pre-Mists were too simple so they wouldn't add those (and promptly added Throne of the Tides from Cata) but that's not relevant here. All dungeons can be added to a season. If you're going to add more than 8 dungeons some things may need adjusting (such as the dungeon grid view) but you'll see that soon enough.

Adding affixes for the new season

Affixes are managed in app/database/seeders/AffixSeeder.php. Adding the affixes for the season is straight forward, just find your new season_id, the expansion_id for that season and finally a list of affixes. You can add as many "affix groups" as you want (previous seasons has 12 per season, Dragonflight has 10).

That's all there is to it! If you entered the date correctly all of the site's features will pick up your new season and adjust itself accordingly.