Skip to content

Repository files navigation

dnd

dnd code

Spell odds: saves, attack rolls and damage by monster CR and type

How likely a spell is to land on one cast against every monster in MM, MPMM, MTF and Tome of Beasts — ten spells, one per save type — plus spell attacks compared with saves, and per-target damage for the common cantrips.

.venv/bin/python -m pytest test_spell_saves.py -q   # the model, and the bugs it fixed
.venv/bin/jupyter notebook compute_spell_damage_and_saves.ipynb
.venv/bin/python writeup/build.py                   # rebuild writeup/will_it_land.html

spell_saves.py is the model. Every figure is exact rather than simulated.

About

dnd code

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages