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
示例#2
0
class Ranger(CharacterClass):
    """Class for psychic ranger"""

    name = "ranger"
    hp = 8
    hit_die = dice_throw.throw_dices(1, 8)
示例#3
0
class Rogue(CharacterClass):
    """Class for psychic rogue"""

    name = "rogue"
    hp = 6
    hit_die = dice_throw.throw_dices(1, 6)
示例#4
0
class Psion(CharacterClass):
    """Class for psion"""

    name = "psion"
    hp = 4
    hit_die = dice_throw.throw_dices(1, 4)
示例#5
0
class PsychicWarrior(CharacterClass):
    """Class for psychic warrior"""

    name = "psychic warrior"
    hp = 8
    hit_die = dice_throw.throw_dices(1, 8)
示例#6
0
class Monk(CharacterClass):
    """Class for monk"""

    name = "monk"
    hp = 8
    hit_die = dice_throw.throw_dices(1, 8)
示例#7
0
class Paladin(CharacterClass):
    """Class for paladin"""

    name = "paladin"
    hp = 10
    hit_die = dice_throw.throw_dices(1, 10)
示例#8
0
class Druid(CharacterClass):
    """Class for druid"""

    name = "druid"
    hp = 8
    hit_die = dice_throw.throw_dices(1, 8)
示例#9
0
class FighterClass(CharacterClass):
    """Class for warrior"""

    name = "fighter"
    hp = 10
    hit_die = dice_throw.throw_dices(1, 10)
示例#10
0
class Bard(CharacterClass):
    """Class for bard"""

    name = "bard"
    hp = 6
    hit_die = dice_throw.throw_dices(1, 6)
示例#11
0
class Cleric(CharacterClass):
    """Class for cleric"""

    name = "cleric"
    hp = 8
    hit_die = dice_throw.throw_dices(1, 8)
示例#12
0
class Barbarian(CharacterClass):
    """Class for barbarian"""

    name = "barbarian"
    hp = 12
    hit_die = dice_throw.throw_dices(1, 12)
示例#13
0
class Wizard(CharacterClass):
    """Class for wizard"""

    name = "wizard"
    hp = 4
    hit_die = dice_throw.throw_dices(1, 4)
示例#14
0
class Wilder(CharacterClass):
    """Class for wilder"""

    name = "wilder"
    hp = 6
    hit_die = dice_throw.throw_dices(1, 6)
示例#15
0
class Soulknife(CharacterClass):
    """Class for soulknife"""

    name = "soulknife"
    hp = 10
    hit_die = dice_throw.throw_dices(1, 10)
示例#16
0
class Sorcerer(CharacterClass):
    """Class for sorcerer"""

    name = "sorcerer"
    hp = 4
    hit_die = dice_throw.throw_dices(1, 4)