Conversation
…r chance in special games
WalkthroughRemoves randomized public-game modifier generation, replacing it with fixed baseline settings for non-"special" games; increases the selection weight for the Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/server/MapPlaylist.ts`:
- Around line 154-160: The MapPlaylist baseline currently sets
publicGameModifiers but omits the actual rule flag disableAlliances, so update
the normal-game baseline in MapPlaylist (the publicGameModifiers block) to
explicitly set disableAlliances as well; ensure the same boolean value used for
isAlliancesDisabled is applied to disableAlliances so GameServer (which copies
disableAlliances when defined) receives the explicit rule and behaves
consistently with the special branch.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 82c9b0f7-aeec-4c5d-aac7-a0c51d2164b5
📒 Files selected for processing (1)
src/server/MapPlaylist.ts
…old multiplier for special games, decrease random spawn) 🎲 (#3471) ## Description: Normal (FFA and Team) public games no longer roll random modifiers. Special games remain fully unaffected and continue to use random modifiers as before. I also increased the gold multiplier ticket count in the special modifier pool from 1 to 4 because of player feedback. Edit: And because I saw complaints of too much random spawn I decreased the chance of it. ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: FloPinguin
…old multiplier for special games, decrease random spawn) 🎲 (#3471) Normal (FFA and Team) public games no longer roll random modifiers. Special games remain fully unaffected and continue to use random modifiers as before. I also increased the gold multiplier ticket count in the special modifier pool from 1 to 4 because of player feedback. Edit: And because I saw complaints of too much random spawn I decreased the chance of it. - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced regression is found: FloPinguin
…old multiplier for special games, decrease random spawn) 🎲 (#3471) Normal (FFA and Team) public games no longer roll random modifiers. Special games remain fully unaffected and continue to use random modifiers as before. I also increased the gold multiplier ticket count in the special modifier pool from 1 to 4 because of player feedback. Edit: And because I saw complaints of too much random spawn I decreased the chance of it. - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced regression is found: FloPinguin
Description:
Normal (FFA and Team) public games no longer roll random modifiers.
Special games remain fully unaffected and continue to use random modifiers as before.
I also increased the gold multiplier ticket count in the special modifier pool from 1 to 4 because of player feedback.
Edit: And because I saw complaints of too much random spawn I decreased the chance of it.
Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
FloPinguin