Skip to content

feat: persist choice/cast level in effects#2238

Merged
codybanman merged 1 commit intoavrae:nightlyfrom
1drturtle:feat/persist_cast_level_effect
Nov 25, 2025
Merged

feat: persist choice/cast level in effects#2238
codybanman merged 1 commit intoavrae:nightlyfrom
1drturtle:feat/persist_cast_level_effect

Conversation

@1drturtle
Copy link
Copy Markdown
Contributor

Summary

Allows for specifying some extra fields when adding effects that you previously could not in automation.
Allows for copying effects with original choice & spell level.
Reference: https://discord.com/channels/269275778867396608/795769081282297928/1386853378365325486

Changelog Entry

Added granting_spell_id, granting_spell_cast_level, and original_choice as possible fields to SimpleCombatant.add_effect

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.

@codybanman codybanman merged commit 30a258f 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