mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
fix flake8 warnings
This commit is contained in:
@@ -176,8 +176,8 @@ class InfuseItem(Feature):
|
||||
def name(self):
|
||||
known_infusions = self._infusions[self.owner.Artificer.level][0]
|
||||
infused_items = self._infusions[self.owner.Artificer.level][1]
|
||||
return self._name + " ({:d} Infusions Known, {:d} Infused Items)".format(
|
||||
known_infusions, infused_items)
|
||||
name_ext = " ({:d} Infusions Known, {:d} Infused Items)"
|
||||
return self._name + name_ext.format(known_infusions, infused_items)
|
||||
|
||||
|
||||
class ArtificerSpecialist(Feature):
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
|
||||
class Infusion():
|
||||
name = "Unknown infusion"
|
||||
item = "Item to be infused"
|
||||
prerequisite = ""
|
||||
classes = ('Artificer',)
|
||||
|
||||
|
||||
def __str__(self):
|
||||
indicator = ('$', self.special_material)
|
||||
if indicator:
|
||||
@@ -91,7 +89,7 @@ class HomunculusServant(Infusion):
|
||||
take a bonus action on your turn to command it to take the action in its
|
||||
stat block or the Dash, Disengage, Help, Hide, or Search action.
|
||||
|
||||
The homunculus regains 2d6 hit points if the mending spell is cast on it.
|
||||
The homunculus regains 2d6 hit points if the *mending* spell is cast on it.
|
||||
If it dies, it vanishes, leaving its heart in its space.
|
||||
"""
|
||||
|
||||
@@ -130,7 +128,8 @@ class RepeatingShot(Infusion):
|
||||
"""
|
||||
|
||||
name = "Repeating Shot"
|
||||
item = "A simple or martial weapon with the ammunition property (requires attunement)"
|
||||
item = """A simple or martial weapon with the ammunition property (requires
|
||||
attunement)"""
|
||||
|
||||
|
||||
class ReplicateMagicItem(Infusion):
|
||||
|
||||
Reference in New Issue
Block a user