def draw_attributes(): """Throws 6 times 4 6-sided dices to draw attributes""" throws = [] throw = 1 while throw <= 6: throw_result = throw_dices(4, 6) throw_result.remove(min(throw_result)) throws.append(sum(throw_result)) throw += 1 return throws
class Ranger(CharacterClass): """Class for psychic ranger""" name = "ranger" hp = 8 hit_die = dice_throw.throw_dices(1, 8)
class Rogue(CharacterClass): """Class for psychic rogue""" name = "rogue" hp = 6 hit_die = dice_throw.throw_dices(1, 6)
class Psion(CharacterClass): """Class for psion""" name = "psion" hp = 4 hit_die = dice_throw.throw_dices(1, 4)
class PsychicWarrior(CharacterClass): """Class for psychic warrior""" name = "psychic warrior" hp = 8 hit_die = dice_throw.throw_dices(1, 8)
class Monk(CharacterClass): """Class for monk""" name = "monk" hp = 8 hit_die = dice_throw.throw_dices(1, 8)
class Paladin(CharacterClass): """Class for paladin""" name = "paladin" hp = 10 hit_die = dice_throw.throw_dices(1, 10)
class Druid(CharacterClass): """Class for druid""" name = "druid" hp = 8 hit_die = dice_throw.throw_dices(1, 8)
class FighterClass(CharacterClass): """Class for warrior""" name = "fighter" hp = 10 hit_die = dice_throw.throw_dices(1, 10)
class Bard(CharacterClass): """Class for bard""" name = "bard" hp = 6 hit_die = dice_throw.throw_dices(1, 6)
class Cleric(CharacterClass): """Class for cleric""" name = "cleric" hp = 8 hit_die = dice_throw.throw_dices(1, 8)
class Barbarian(CharacterClass): """Class for barbarian""" name = "barbarian" hp = 12 hit_die = dice_throw.throw_dices(1, 12)
class Wizard(CharacterClass): """Class for wizard""" name = "wizard" hp = 4 hit_die = dice_throw.throw_dices(1, 4)
class Wilder(CharacterClass): """Class for wilder""" name = "wilder" hp = 6 hit_die = dice_throw.throw_dices(1, 6)
class Soulknife(CharacterClass): """Class for soulknife""" name = "soulknife" hp = 10 hit_die = dice_throw.throw_dices(1, 10)
class Sorcerer(CharacterClass): """Class for sorcerer""" name = "sorcerer" hp = 4 hit_die = dice_throw.throw_dices(1, 4)