-
-
Notifications
You must be signed in to change notification settings - Fork 408
fix: Normalize resistance/immunity/vulnerability strings #561
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
Conversation
e9d5644 to
1e74b03
Compare
|
@ASTRELION Can you list the additional strings that you're not sure of and how you might group them? As it stands, thanks for doing this, I think it was necessary. |
For example, there are 4 instances of something like: And 23 instances of something like: Looking at the SRD, it does seem like they actually use those different strings. So, maybe it should just stay that way in the API. |
|
@ASTRELION I think that they're functionally the same so I don't mind rewriting them for consistency. @fergcb What do you think? |
Like you say, they're functionally the same. I'm in favour of this change - it'll make things nicer for computers, and it won't change the meaning for humans. |
|
Are they actually the same? Couldn't it be interpreted that "bludgeoning, piercing, and slashing from nonmagical attacks not made with silvered weapons" would be resistant to an unarmed, bludgeoning attack but, "bludgeoning, piercing, and slashing from nonmagical weapons that aren't silvered" would not be resistant to an unarmed, bludgeoning attack since unarmed isn't a weapon. Or does an unarmed attack count as a weapon? Maybe there are better examples, but this was the first I thought of. |
|
@ASTRELION As far as I am aware, they are the same. An unarmed attack is a melee weapon attack. |
|
Sorry for the delay, this should be ready to merge now. The last commit changes all 4 of the outlying |
|
🎉 This PR is included in version 3.3.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
* Normalize resistance/immunity/vulnerability strings * Normalize non-silver weapon immunities
What does this do?
Some of these strings would contain "...damage from nonmagical..." or "...from nonmagical...", so this PR removes "damage" from every string to be consistent with the rest.
Also, the Imp had a completely different format of "nonmagical/nonsilver" instead of the usual "nonmagical not made with silver".
Finally, I made the Archmage's resistance from Stoneskin more like the rest of the resistances' formats.
Some strings have "nonmagical attacks not made with silvered weapons" and some have "nonmagical weapons that aren't silvered" and those are unchanged. I wasn't sure if there was a practical difference between them, but if there isn't, I'd be happy to normalize those, too.
Let me know if I missed any!
Force push was to correct misspelled commit message.
How was it tested?
Built locally.
Is there a Github issue this is resolving?
No.
Did you update the docs in the API? Please link an associated PR if applicable.
N/A
Here's a fun image for your troubles