How to use the tavern.raws.monster.MonsterStock function in tavern

To help you get started, we’ve selected a few tavern 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 Arctem / arcbot / tavern / raws / monster.py View on Github external
),
    MonsterStock('pimple',
                 1, 2,
                 weaknesses={'barbarian', 'druid'},
                 ),
    MonsterStock('pixie',
                 1, 1,
                 weaknesses={'monk', 'bard'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('rat',
                 1, 1,
                 weaknesses={'barbarian', 'druid'},
                 strengths={'bard', 'wizard'},
                 ),
    MonsterStock('shapeshifter',
                 1, 10,
                 weaknesses={'bard'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('shoggoth',
                 12, 16,
                 weaknesses={'rogue', 'wizard'},
                 strengths={'bard', 'rogue', 'scholar'},
                 ),
    MonsterStock('skeleton',
                 1, 5,
                 weaknesses={'barbarian', 'scholar', 'wizard'},
                 ),
    MonsterStock('slime',
                 1, 10,
                 weaknesses={'druid', 'wizard'},
github Arctem / arcbot / tavern / raws / monster.py View on Github external
MonsterStock('pixie',
                 1, 1,
                 weaknesses={'monk', 'bard'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('rat',
                 1, 1,
                 weaknesses={'barbarian', 'druid'},
                 strengths={'bard', 'wizard'},
                 ),
    MonsterStock('shapeshifter',
                 1, 10,
                 weaknesses={'bard'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('shoggoth',
                 12, 16,
                 weaknesses={'rogue', 'wizard'},
                 strengths={'bard', 'rogue', 'scholar'},
                 ),
    MonsterStock('skeleton',
                 1, 5,
                 weaknesses={'barbarian', 'scholar', 'wizard'},
                 ),
    MonsterStock('slime',
                 1, 10,
                 weaknesses={'druid', 'wizard'},
                 strengths={'bard'},
                 ),
    MonsterStock('spider',
                 1, 5,
                 weaknesses={'barbarian', 'druid', 'monk'},
github Arctem / arcbot / tavern / raws / monster.py View on Github external
),
    MonsterStock('slime',
                 1, 10,
                 weaknesses={'druid', 'wizard'},
                 strengths={'bard'},
                 ),
    MonsterStock('spider',
                 1, 5,
                 weaknesses={'barbarian', 'druid', 'monk'},
                 strengths={'bard'},
                 ),
    MonsterStock('troll',
                 5, 10,
                 weaknesses={'bard', 'rogue'},
                 ),
    MonsterStock('unicorn',
                 7, 10,
                 weaknesses={'druid', 'scholar', 'wizard'},
                 strengths={},
                 ),
    MonsterStock('wolf',
                 2, 4,
                 weaknesses={'druid', 'monk'},
                 strengths={'wizard'},
                 ),
    MonsterStock('yeti',
                 7, 8,
                 weaknesses={'rogue'},
                 ),
}
stocks = {s.name: s for s in stocks}
github Arctem / arcbot / tavern / raws / monster.py View on Github external
MonsterStock('ghost',
                 2, 4,
                 weaknesses={'scholar', 'wizard'},
                 strengths={'barbarian', 'monk'},
                 ),
    MonsterStock('goat',
                 1, 3,
                 weaknesses={'druid'},
                 strengths={'wizard'},
                 ),
    MonsterStock('golem',
                 5, 8,
                 weaknesses={'rogue', 'wizard'},
                 strengths={'druid'},
                 ),
    MonsterStock('guard',
                 2, 5,
                 weaknesses={'bard', 'rogue'},
                 strengths={'druid', 'wizard'},
                 ),
    MonsterStock('gurgler',
                 3, 7,
                 weaknesses={},
                 strengths={'bard', 'scholar'},
                 ),
    MonsterStock('hogs',
                 3, 5,
                 weaknesses={'druid', 'monk'},
                 strengths={'bard', 'wizard'},
                 ),
    MonsterStock('knight',
                 5, 8,
github Arctem / arcbot / tavern / raws / monster.py View on Github external
MonsterStock('dragon',
                 10, 15,
                 weaknesses={'scholar', 'rogue'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('elemental',
                 2, 8,
                 weaknesses={'druid', 'wizard'},
                 strengths={'monk'},
                 ),
    MonsterStock('fairy',
                 2, 4,
                 weaknesses={'monk', 'bard'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('ghost',
                 2, 4,
                 weaknesses={'scholar', 'wizard'},
                 strengths={'barbarian', 'monk'},
                 ),
    MonsterStock('goat',
                 1, 3,
                 weaknesses={'druid'},
                 strengths={'wizard'},
                 ),
    MonsterStock('golem',
                 5, 8,
                 weaknesses={'rogue', 'wizard'},
                 strengths={'druid'},
                 ),
    MonsterStock('guard',
                 2, 5,
github Arctem / arcbot / tavern / raws / monster.py View on Github external
),
    MonsterStock('skeleton',
                 1, 5,
                 weaknesses={'barbarian', 'scholar', 'wizard'},
                 ),
    MonsterStock('slime',
                 1, 10,
                 weaknesses={'druid', 'wizard'},
                 strengths={'bard'},
                 ),
    MonsterStock('spider',
                 1, 5,
                 weaknesses={'barbarian', 'druid', 'monk'},
                 strengths={'bard'},
                 ),
    MonsterStock('troll',
                 5, 10,
                 weaknesses={'bard', 'rogue'},
                 ),
    MonsterStock('unicorn',
                 7, 10,
                 weaknesses={'druid', 'scholar', 'wizard'},
                 strengths={},
                 ),
    MonsterStock('wolf',
                 2, 4,
                 weaknesses={'druid', 'monk'},
                 strengths={'wizard'},
                 ),
    MonsterStock('yeti',
                 7, 8,
                 weaknesses={'rogue'},
github Arctem / arcbot / tavern / raws / monster.py View on Github external
MonsterStock('automaton',
                 1, 4,
                 weaknesses={'barbarian'},
                 strengths={'wizard'},
                 ),
    MonsterStock('bear',
                 3, 7,
                 weaknesses={'druid', 'rogue'},
                 strengths={'wizard'},
                 ),
    MonsterStock('cultist',
                 2, 6,
                 weaknesses={'bard', 'scholar'},
                 strengths={'druid'},
                 ),
    MonsterStock('dragon',
                 10, 15,
                 weaknesses={'scholar', 'rogue'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('elemental',
                 2, 8,
                 weaknesses={'druid', 'wizard'},
                 strengths={'monk'},
                 ),
    MonsterStock('fairy',
                 2, 4,
                 weaknesses={'monk', 'bard'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('ghost',
                 2, 4,
github Arctem / arcbot / tavern / raws / monster.py View on Github external
self.min_level = min_level
        self.max_level = max_level
        self.weaknesses = weaknesses
        self.strengths = strengths


class MonsterModifier:

    def __init__(self, name, level=0, weaknesses=set(), strengths=set()):
        self.name = name
        self.level = level
        self.weaknesses = weaknesses
        self.strengths = strengths

stocks = {
    MonsterStock('abomination',
                 5, 8,
                 weaknesses={'wizard'},
                 strengths={'scholar'},
                 ),
    MonsterStock('angel',
                 9, 13,
                 weaknesses={'bard', 'scholar'},
                 strengths={'barbarian', 'rogue'},
                 ),
    MonsterStock('automaton',
                 1, 4,
                 weaknesses={'barbarian'},
                 strengths={'wizard'},
                 ),
    MonsterStock('bear',
                 3, 7,
github Arctem / arcbot / tavern / raws / monster.py View on Github external
MonsterStock('bear',
                 3, 7,
                 weaknesses={'druid', 'rogue'},
                 strengths={'wizard'},
                 ),
    MonsterStock('cultist',
                 2, 6,
                 weaknesses={'bard', 'scholar'},
                 strengths={'druid'},
                 ),
    MonsterStock('dragon',
                 10, 15,
                 weaknesses={'scholar', 'rogue'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('elemental',
                 2, 8,
                 weaknesses={'druid', 'wizard'},
                 strengths={'monk'},
                 ),
    MonsterStock('fairy',
                 2, 4,
                 weaknesses={'monk', 'bard'},
                 strengths={'barbarian'},
                 ),
    MonsterStock('ghost',
                 2, 4,
                 weaknesses={'scholar', 'wizard'},
                 strengths={'barbarian', 'monk'},
                 ),
    MonsterStock('goat',
                 1, 3,
github Arctem / arcbot / tavern / raws / monster.py View on Github external
MonsterStock('guard',
                 2, 5,
                 weaknesses={'bard', 'rogue'},
                 strengths={'druid', 'wizard'},
                 ),
    MonsterStock('gurgler',
                 3, 7,
                 weaknesses={},
                 strengths={'bard', 'scholar'},
                 ),
    MonsterStock('hogs',
                 3, 5,
                 weaknesses={'druid', 'monk'},
                 strengths={'bard', 'wizard'},
                 ),
    MonsterStock('knight',
                 5, 8,
                 weaknesses={'bard', 'rogue'},
                 strengths={'druid', 'monk', 'wizard'},
                 ),
    MonsterStock('lizard',
                 2, 4,
                 weaknesses={'monk', 'druid'},
                 strengths={'bard'},
                 ),
    MonsterStock('frogman',
                 1, 8,
                 weaknesses={'barbarian', 'bard', 'druid'},
                 ),
    MonsterStock('minotaur',
                 7, 13,
                 weaknesses={'bard', 'rogue', 'wizard'},