Skip to content

feat: add initscore flag to !i madd/meta#2223

Merged
codybanman merged 2 commits intoavrae:nightlyfrom
7he4lph4:norollinit-feature
Nov 25, 2025
Merged

feat: add initscore flag to !i madd/meta#2223
codybanman merged 2 commits intoavrae:nightlyfrom
7he4lph4:norollinit-feature

Conversation

@7he4lph4
Copy link
Copy Markdown
Contributor

@7he4lph4 7he4lph4 commented Oct 26, 2025

Summary

Adds initscore flag to !init madd and !init meta. Uses monster's initiative score (10 + modifier) instead of rolling, as per MM2024 optional rule.

Changelog Entry

Added initscore flag to !init madd and !init meta as per MM2024 optional rule.

Checklist

PR Type

  • This PR is a code change that implements a feature request.
  • This PR fixes an issue.
  • This PR adds a new feature that is not an open feature request.
  • This PR is not a code change (e.g. documentation, README, ...)

Other

  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • If code changes were made then they have been tested.
  • I have updated the documentation to reflect the changes.

@7he4lph4 7he4lph4 changed the title feat: add norollinit flag for i madd feat: add initscore flag to !i madd/meta Oct 30, 2025
Copy link
Copy Markdown
Contributor

@codybanman codybanman left a comment

Choose a reason for hiding this comment

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

This looks great. I made a note in the code but I think we should apply the -b bonus to the initscore calculation if set.

Also, it would be good to add tests for this. You could add something to tests/e2e/cogs/initTracker_test.py, similar to the existing TestYourStandardInitiative class.

@codybanman codybanman merged commit e9201c6 into avrae:nightly Nov 25, 2025
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