tomfoster70 / dnd_python_parse

GNU General Public License v3.0
7 stars 1 forks source link

Spell slots are wrong #7

Open Mapes opened 6 years ago

Mapes commented 6 years ago

I'm multiclass 4 R, 6 FTR and Wiz 2. I have cantrips, 4 1st level, 2 2nd level slots. The spell list in the pdf shows I have 0 1st level slots and 4 2nd level slots.

The spell list xml block looks like

v1.1⊠0⊡4⊡2⊡0⊡0⊡0⊡0⊡0⊡0⊡0⊡⊠true⊡true⊡true⊡false⊡false⊡false⊡false⊡false⊡false⊡false⊡⊠0⊡0⊡0⊡0⊡0⊡0⊡0⊡0⊡0⊡⊠0⊡0⊡0⊡0⊡0⊡0⊡0⊡0⊡0⊡⊠0⊠3⊠false⊠0⊟Mesage AT VSM⊟⊟⊟⊟⊟⊟true⊟0⊡0⊟Mage Hand AT VS ⊟⊟⊟⊟⊟⊟true⊟0⊡0⊟Dancing Lights AT VSMc⊟⊟⊟⊟⊟⊟true⊟0⊡0⊟Minor Illusion AT SM⊟⊟⊟⊟⊟⊟true⊟0⊡0⊟True Strike W S⊟⊟⊟⊟⊟⊟true⊟0⊡0⊟Shocking Grasp W S⊟⊟⊟⊟⊟⊟true⊟0⊡0⊟Chill Touch W VS⊟⊟⊟⊟⊟⊟true⊟0⊡1⊟Feather Fall AT VM⊟⊟⊟⊟⊟⊟true⊟0⊡1⊟Charm Person AT VS⊟⊟⊟⊟⊟⊟true⊟0⊡1⊟Silent Image AT VSMc⊟⊟⊟⊟⊟⊟true⊟0⊡1⊟Disguise Self AT VS⊟⊟⊟⊟⊟⊟true⊟0⊡1⊟Shield W VS⊟⊟⊟⊟⊟⊟true⊟0⊡1⊟Jump W VSM⊟⊟⊟⊟⊟⊟true⊟0⊡2⊟Mirror image W VS⊟⊟⊟⊟⊟⊟false⊟0⊡2⊟Spider Climb W VSMc⊟⊟⊟⊟⊟⊟false⊟0⊡2⊟Enlarge Reduce W VSMc⊟⊟⊟⊟⊟⊟false⊟0⊡

Windows 10, python 2.7.13

Mapes commented 6 years ago

Not sure if it matters but, my current app I have used all of the level one slots. (we're just before a boss fight which happens tonight :) )

Mapes commented 6 years ago

Also thanks for this and fixing bugs. I should prolly take a look as I'm learning python (old bash person) but, with a newborn time is scarse

tomfoster70 commented 6 years ago

Oh yes I see the bug, I will look at it sometime later this week.