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

feat: Add size and shape to dragonborn's breath weapon #495

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

SleeplessOne1917
Copy link
Contributor

@SleeplessOne1917 SleeplessOne1917 commented Aug 7, 2022

What does this do?

Adds size and shape of dragonborn's breath weapon since the API didn't have that information already

How was it tested?

I ran db:refresh and looked at the data with mongo db compass.

Is there a Github issue this is resolving?

n/a

Did you update the docs in the API? Please link an associated PR if applicable.

Yes.

Here's a fun image for your troubles

random photo - update me

@@ -759,6 +759,7 @@
"breath_weapon": {
"name": "Breath Weapon",
"desc": "You can use your action to exhale destructive energy. Your draconic ancestry determines the size, shape, and damage type of the exhalation. When you use your breath weapon, each creature in the area of the exhalation must make a saving throw, the type of which is determined by your draconic ancestry. The DC for this saving throw equals 8 + your Constitution modifier + your proficiency bonus. A creature takes 2d6 damage on a failed save, and half as much damage on a successful one. The damage increases to 3d6 at 6th level, 4d6 at 11th level, and 5d6 at 16th level. After you use your breath weapon, you can't use it again until you complete a short or long rest.",
"size_and_shape": "5 by 30 ft. line",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it make sense to split this up more? Since we can standardize shape and use it in other places (like spells). And we can probably standardize size too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Something like:

{
    size: string;
    shape: string;
}

?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually, I think Spells already have an area_of_effect field. It would probably make more sense to use that and potentially expand on it? Just for consistency. I can also see this being used for some monster attacks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

So something like this then?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah.

@bagelbits bagelbits merged commit 4dd5378 into 5e-bits:main Aug 10, 2022
@github-actions
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

bagelbits pushed a commit that referenced this pull request Aug 10, 2022
* feat: Add size and shape to dragonborn's breath weapon

* Use area od effect object instead of size and shape string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants