Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically calculate attack and damage bonuses #48

Open
rg-wood opened this issue Feb 18, 2020 · 0 comments
Open

Automatically calculate attack and damage bonuses #48

rg-wood opened this issue Feb 18, 2020 · 0 comments

Comments

@rg-wood
Copy link
Member

rg-wood commented Feb 18, 2020

Automatically calculate attack and damage bonuses from ability score modifiers.

For example, if a Strength +3 monster has an attack defined without attack bonus or damage as follows:

                  {
                    "name": "Dagger",
                    "type": "melee-or-ranged-attack",
                    "reach": "5ft.",
                    "range": "20/60 ft.",
                    "target": "one target",
                    "damageDie": "2d4",
                    "damageType": "slashing"
                  }

We end up with actual attack bonus of +5 and a damage of 2d4+4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant