mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-06 04:38:28 +02:00
Monster stat blocks now include XP alongside challenge rating.
This commit is contained in:
@@ -362,3 +362,8 @@ class MonsterSpellcastingTests(TestCase):
|
||||
msg="Monster spell is not a class")
|
||||
self.assertTrue(issubclass(MyMonster.spells[0], spells.Spell))
|
||||
|
||||
|
||||
class ChallengeRatingTests(TestCase):
|
||||
def test_challenge_rating_to_xp(self):
|
||||
self.assertEqual(monsters.challenge_rating_to_xp(1 / 8), "25")
|
||||
self.assertEqual(monsters.challenge_rating_to_xp(30), "155,000")
|
||||
|
||||
Reference in New Issue
Block a user