How to use the dungeonsheets.features.features.FeatureSelector function in dungeonsheets

To help you get started, we’ve selected a few dungeonsheets examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github canismarko / dungeon-sheets / dungeonsheets / features / barbarian.py View on Github external
"""
    name = "Totem Spirit (Elk)"
    source = "Barbarian (Totem Warrior)"


class TigerSpirit(Feature):
    """While raging, you can add 10 feet to your long jump distance and 3 feet to
    your high jump distance. The spirit of the tiger empowers your leaps

    """
    name = "Totem Spirit (Tiger)"
    source = "Barbarian (Totem Warrior)"


class TotemSpirit(FeatureSelector):
    """
    Select a Totem Spirit from one of the following under feature_choices in
    your .py file:

    bear spirit

    eagle spirit

    wolf spirit

    elk spirit

    tiger spirit

    """
    options = {'bear spirit': BearSpirit,
github canismarko / dungeon-sheets / dungeonsheets / features / bard.py View on Github external
source = "Bard (College of Glamour)"


# College of Swords
class SwordsProficiency(Feature):
    """When you join the College of Swords at 3rd level, you gain proficiency with
    medium armor and the scimitar. If you‘re proficient with a simple or
    martial melee weapon, you can use it as a spellcasting focus for your hard
    spells

    """
    name = "Bonus Proficiencies"
    source = "Bard (College of Swords)"


class BardFightingStyle(FeatureSelector):
    """
    Select a Fighting Style by choosing in feature_choices:

    dueling

    two-weapon fighting
    """
    options = {'dueling': Dueling,
               'two-weapon fighting': TwoWeaponFighting,
               'two-weapon': TwoWeaponFighting,
               'dual wield': TwoWeaponFighting}
    name = "Fighting Style (Select One)"
    source = "Bard (College of Swords)"


class BladeFlourish(Feature):
github canismarko / dungeon-sheets / dungeonsheets / features / fighter.py View on Github external
class RemarkableAthelete(Feature):
    """Starting at 7th level, you can add half your proficiency bonus (round up)
    to any Strength, Dexterity, or Constitution check you make that doesn't
    already use your proficiency bonus.

    In addition, when you make a running long jump, the distance you can cover
    increases by a number of feet equal to your Strength modifier.

    """
    name = "Remarkable Athelete"
    source = "Fighter (Champion)"


class AdditionalFightingStyle(FeatureSelector):
    """
    Select a Fighting Style by choosing in feature_choices:

    archery 2

    defense 2

    dueling 2

    great-weapon fighting 2

    protection 2

    two-weapon fighting 2
    """
    options = {'archery 2': Archery,
github canismarko / dungeon-sheets / dungeonsheets / features / barbarian.py View on Github external
name = "Aspect of the Beast (Wolf)"
    source = "Barbarian (Totem Warrior)"


class ElkAspect(FeatureSelector):
    """Whether mounted or on foot , your travel pace is doubled, as is the travel
    pace of up to ten companions while they're within 60 feet of you and you're
    not incapacitated (see chapter 8 in the Player's Handbook for more
    information about travel pace). The elk spirit helps you roam far and fast

    """
    name = "Aspect of the Beast (Elk)"
    source = "Barbarian (Totem Warrior)"


class TigerAspect(FeatureSelector):
    """You gain proficiency in two skills from the following list: Athletics,
    Acrobatics, Stealth, and Survival. The cat spirit hones your survival
    instincts

    """
    name = "Aspect of the Beast (Tiger)"
    source = "Barbarian (Totem Warrior)"


class BeastAspect(FeatureSelector):
    """Select an Aspect of the Beast from one of the following under
    feature_choices in your .py file:

    bear aspect

    eagle aspect
github canismarko / dungeon-sheets / dungeonsheets / features / barbarian.py View on Github external
"""
    name = "Aspect of the Beast (Eagle)"
    source = "Barbarian (Totem Warrior)"


class WolfAspect(FeatureSelector):
    """You gain the hunting sensibilities of a wolf. You can track other creatures
    while traveling at a fast pace, and you can move stealthily while traveling
    at a normal pace (see chapter 8 for rules on travel pace).

    """
    name = "Aspect of the Beast (Wolf)"
    source = "Barbarian (Totem Warrior)"


class ElkAspect(FeatureSelector):
    """Whether mounted or on foot , your travel pace is doubled, as is the travel
    pace of up to ten companions while they're within 60 feet of you and you're
    not incapacitated (see chapter 8 in the Player's Handbook for more
    information about travel pace). The elk spirit helps you roam far and fast

    """
    name = "Aspect of the Beast (Elk)"
    source = "Barbarian (Totem Warrior)"


class TigerAspect(FeatureSelector):
    """You gain proficiency in two skills from the following list: Athletics,
    Acrobatics, Stealth, and Survival. The cat spirit hones your survival
    instincts

    """
github canismarko / dungeon-sheets / dungeonsheets / features / barbarian.py View on Github external
name = "Aspect of the Beast (Bear)"
    source = "Barbarian (Totem Warrior)"


class EagleAspect(FeatureSelector):
    """You gain the eyesight of an eagle. You can see up to 1 mile away with no
    difficulty, able to discern even fine details as though looking at
    something no more than 100 feet away from you. Additionally, dim light
    doesn't impose disadvantage on your Wisdom (Perception) checks.

    """
    name = "Aspect of the Beast (Eagle)"
    source = "Barbarian (Totem Warrior)"


class WolfAspect(FeatureSelector):
    """You gain the hunting sensibilities of a wolf. You can track other creatures
    while traveling at a fast pace, and you can move stealthily while traveling
    at a normal pace (see chapter 8 for rules on travel pace).

    """
    name = "Aspect of the Beast (Wolf)"
    source = "Barbarian (Totem Warrior)"


class ElkAspect(FeatureSelector):
    """Whether mounted or on foot , your travel pace is doubled, as is the travel
    pace of up to ten companions while they're within 60 feet of you and you're
    not incapacitated (see chapter 8 in the Player's Handbook for more
    information about travel pace). The elk spirit helps you roam far and fast

    """
github canismarko / dungeon-sheets / dungeonsheets / features / barbarian.py View on Github external
"""
    name = "Aspect of the Beast (Elk)"
    source = "Barbarian (Totem Warrior)"


class TigerAspect(FeatureSelector):
    """You gain proficiency in two skills from the following list: Athletics,
    Acrobatics, Stealth, and Survival. The cat spirit hones your survival
    instincts

    """
    name = "Aspect of the Beast (Tiger)"
    source = "Barbarian (Totem Warrior)"


class BeastAspect(FeatureSelector):
    """Select an Aspect of the Beast from one of the following under
    feature_choices in your .py file:

    bear aspect

    eagle aspect

    wolf aspect

    elk aspect

    tiger aspect

    """
    options = {'bear aspect': BearAspect,
               'eagle aspect': EagleAspect,
github canismarko / dungeon-sheets / dungeonsheets / features / paladin.py View on Github external
can cure multiple diseases and neutralize multiple poisons with a single
    use of Lay on Hands, expending hit points separately for each one.

    This feature has no effect on undead and constructs

    """
    _name = "Lay on Hands"
    source = "Paladin"

    @property
    def name(self):
        level = self.owner.Paladin.level
        return self._name + " ({:d}HP/LR)".format(level*5)


class PaladinFightingStyle(FeatureSelector):
    """
    Select a Fighting Style by choosing in feature_choices:

    defense

    dueling

    great-weapon fighting

    protection
    """
    options = {'defense': Defense,
               'dueling': Dueling,
               'great': GreatWeaponFighting,
               'great-weapon fighting': GreatWeaponFighting,
               'projection': Protection}
github canismarko / dungeon-sheets / dungeonsheets / features / barbarian.py View on Github external
class RagingTundra(Feature):
    """At 14th level, the power of the storm you channel grows mightier, lashing
    out at your foes. The effect is based on the environment you chose for your
    Storm Aura

    **Tundra**: Whenever the effect of your Storm Aura is activated, you can
    choose one creature you can see in the aura. That creature must succeed on
    a Strength saving throw, or its speed is reduced to 0 until the start of
    your next turn, as magical frost covers it

    """
    name = "Raging Storm (Tundra)"
    source = "Barbarian (Storm Herald)"


class RagingStorm(FeatureSelector):
    """Select a Raging Storm (same as Soul Aura) from one of the following under
    feature_choices in your .py file:

    desert

    sea

    tundra

    """
    options = {'desert': RagingDesert,
               'sea': RagingSea,
               'tundra': RagingTundra}
    name = "Raging Storm (Select One)"
    source = "Barbarian (Storm Herald)"
github canismarko / dungeon-sheets / dungeonsheets / features / ranger.py View on Github external
"""
    name = "Volley"
    source = "Ranger (Hunter)"


class WhirlwindAttack(Feature):
    """You can use your action to make a melee attack against any number o f
    creatures within 5 feet of you, with a separate attack roll for each target

    """
    name = "Whirlwind Attack"
    source = "Ranger (Hunter)"


class MultiattackRanger(FeatureSelector):
    """Select a Multiattack option in "feature_choices" in your .py file from
    one of:

    volley

    whirlwind attack

    """
    options = {'volley': Volley,
               'whirlwind attack': WhirlwindAttack}
    name = "Multiattack (Select One)"
    source = "Ranger (Hunter)"


class StandAgainstTheTide(Feature):
    """When a hostile creature misses you with a melee attack, you can use your