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

No damage immunity for all non magical silvered weapons. And Passive perception calculation is wrong. #120

Open
Alynntheyelloweyed opened this issue Oct 14, 2023 · 1 comment
Labels
question Further information is requested

Comments

@Alynntheyelloweyed
Copy link

I realized that you have "bludgeoning, piercing, and slashing form non-magical attacks that aren't adamantine" but not "bludgeoning, piercing, and slashing from non-magical attacks that aren't silvered."

In addition Passive Perception is missing the 10+ on its calculation. So it says passive perception 3 instead of 13.

@ebshimizu
Copy link
Owner

You can add any damage resistance/immunity condition you like, just start typing in the field and hit enter when done instead of selecting something from the dropdown (this is admittedly not really documented). I'll make a note to add silvered options.

The passive perception always adds 10 unless you've manually overridden it:

const perception = state.skills.find((s) => s.key === 'PERCEPTION')
let passive = 10
if (perception) {
passive += bonusForSkill(state, perception)
} else {
passive += statModifier(state.stats.WIS)
}

If if's somehow still returning an incorrect value when the override is turned off, send me the monster file where that problem is occurring.

@ebshimizu ebshimizu added the question Further information is requested label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants