Fix project-wide spelling of "sorcerer"

"Sorcerer" was spelled "Sorceror" by mistake, which caused confusion
when trying to set character classes.

This is an API-breaking change.
This commit is contained in:
Tristan Maat
2019-01-24 16:49:22 +00:00
parent 6480bcfc8f
commit 6680ab1c07
3 changed files with 30 additions and 30 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ from .armor import Armor, NoArmor, Shield, NoShield
dice_re = re.compile('(\d+)d(\d+)')
__all__ = ('Barbarian', 'Bard', 'Cleric', 'Druid', 'Fighter', 'Monk',
'Paladin', 'Ranger', 'Rogue', 'Sorceror', 'Warlock', 'Wizard', )
'Paladin', 'Ranger', 'Rogue', 'Sorcerer', 'Warlock', 'Wizard', )
class Character():
"""A generic player character. Intended to be subclasses by the
@@ -538,8 +538,8 @@ class Rogue(Character):
'Performance', 'Persuasion', 'Sleight of Hand', 'Stealth')
class Sorceror(Character):
class_name = 'Sorceror'
class Sorcerer(Character):
class_name = 'Sorcerer'
hit_dice_faces = 6
saving_throw_proficiencies = ('constitution', 'charisma')
_proficiencies_text = ('daggers', 'darts', 'slings',