Minor fixes and minor version bump.

- More reliable clean up of stray temporary files.
- Typos in spell description.
- Separate file for version number.
This commit is contained in:
Mark Wolfman
2018-10-14 13:58:16 -05:00
parent 5a15b0dfd0
commit 2c8492485e
4 changed files with 10 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
0.4.1
+4 -1
View File
@@ -69,7 +69,10 @@ def create_spellbook_pdf(character, basename):
f.write(tex) f.write(tex)
# Compile the PDF # Compile the PDF
pdf_file = f'{basename}.pdf' pdf_file = f'{basename}.pdf'
result = subprocess.call(['pdflatex', tex_file], stdout=subprocess.DEVNULL) output_dir = os.path.dirname(pdf_file)
result = subprocess.call(['pdflatex', '--output-directory',
output_dir, tex_file],
stdout=subprocess.DEVNULL)
# Remove temporary files # Remove temporary files
if result == 0: if result == 0:
os.remove(tex_file) os.remove(tex_file)
+4 -4
View File
@@ -1247,17 +1247,17 @@ class Blur(Spell):
class BurningHands(Spell): class BurningHands(Spell):
"""As you hold your hands with lhumbs touching and fingers spread, a """As you hold your hands with thumbs touching and fingers spread, a
thin sheet of flames shoots forth from your outstretched thin sheet of flames shoots forth from your outstretched
fingertips. Each creature in a 15-foot cone must make a Dexterity fingertips. Each creature in a 15-foot cone must make a Dexterity
saving throw. A creature takes 3d6 fire damage on a failed save, saving throw. A creature takes 3d6 fire damage on a failed save,
or half as much damage on a successful one. or half as much damage on a successful one.
The fire ignites any flammable objecls in lhe area that aren't The fire ignites any flammable objects in the area that aren't
being worn or carried. being worn or carried.
**At Higher Levels.** When you cast lhis spell using a spell slot **At Higher Levels.** When you cast this spell using a spell slot
of 2nd level or higher, lhe damage increases by 1d6 for each slot of 2nd level or higher, the damage increases by 1d6 for each slot
level above 1st. level above 1st.
""" """
+1 -1
View File
@@ -8,7 +8,7 @@ def read(fname):
setup(name='dungeonsheets', setup(name='dungeonsheets',
version='0.4.0', version=read('VERSION'),
description='Dungeons and Dragons 5e Character Tools', description='Dungeons and Dragons 5e Character Tools',
long_description=read('README.rst'), long_description=read('README.rst'),
long_description_content_type='text/x-rst', long_description_content_type='text/x-rst',