mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
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:
@@ -69,7 +69,10 @@ def create_spellbook_pdf(character, basename):
|
||||
f.write(tex)
|
||||
# Compile the 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
|
||||
if result == 0:
|
||||
os.remove(tex_file)
|
||||
|
||||
@@ -1247,17 +1247,17 @@ class Blur(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
|
||||
fingertips. Each creature in a 15-foot cone must make a Dexterity
|
||||
saving throw. A creature takes 3d6 fire damage on a failed save,
|
||||
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.
|
||||
|
||||
**At Higher Levels.** When you cast lhis spell using a spell slot
|
||||
of 2nd level or higher, lhe damage increases by 1d6 for each slot
|
||||
**At Higher Levels.** When you cast this spell using a spell slot
|
||||
of 2nd level or higher, the damage increases by 1d6 for each slot
|
||||
level above 1st.
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user