Skip to content

fix: keep creature modifier when adding from modal - #353

Open
Myp3a wants to merge 2 commits into
Obsidian-TTRPG-Community:mainfrom
Myp3a:fix/keep-creature-modifier
Open

fix: keep creature modifier when adding from modal#353
Myp3a wants to merge 2 commits into
Obsidian-TTRPG-Community:mainfrom
Myp3a:fix/keep-creature-modifier

Conversation

@Myp3a

@Myp3a Myp3a commented May 30, 2026

Copy link
Copy Markdown

Properly loads creature modifier value when adding creature to the encounter via modal window. Fixes #313
Also rolling initiative with dice button uses specified modifier.

Keeps current logic of resetting modifier to initial value if incorrect value is passed.

Tested on Kraken from 2025 Monster Manual.

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.

🐞 Modifier set to zero when adding a creature through the modal

1 participant