Updated the __repr__ to remove self.name
This commit is contained in:
@@ -13,8 +13,7 @@ class Job:
|
|||||||
for key, value in self.proficiency.items():
|
for key, value in self.proficiency.items():
|
||||||
profs = profs + f"{key.title()}: {', '.join(value).title()}" + "\n"
|
profs = profs + f"{key.title()}: {', '.join(value).title()}" + "\n"
|
||||||
|
|
||||||
return f"{self.name}\n\n" \
|
return f"{self.description}\n\n" \
|
||||||
f"{self.description}\n\n" \
|
|
||||||
f"{self.name}'s have the following traits:\n\n" \
|
f"{self.name}'s have the following traits:\n\n" \
|
||||||
f"Hit Die\n" \
|
f"Hit Die\n" \
|
||||||
f"1d{self.hitdie[1]}\n\n" \
|
f"1d{self.hitdie[1]}\n\n" \
|
||||||
@@ -119,7 +118,7 @@ class Wizard(Job):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
name = "Wizard"
|
name = "Wizard"
|
||||||
description = "Clad in the silver robes that denote her station, an elf closes her eyes to shut out the " \
|
description = "Clad in the silver robes that denote her station, an elf closes her eyes to shut out the " \
|
||||||
" of the battlefield and begins her quiet chant. Fingers weaving in front of her, she\n" \
|
" noise of the battlefield and begins her quiet chant. Fingers weaving in front of her, she\n" \
|
||||||
"completes her spell and launches a tiny bead of fire toward the enemy ranks, where it erupts " \
|
"completes her spell and launches a tiny bead of fire toward the enemy ranks, where it erupts " \
|
||||||
"into a conflagration that engulfs the soldiers.\n" \
|
"into a conflagration that engulfs the soldiers.\n" \
|
||||||
"Checking and rechecking his work, a human scribes an intricate magic circle in chalk on the" \
|
"Checking and rechecking his work, a human scribes an intricate magic circle in chalk on the" \
|
||||||
|
|||||||
Reference in New Issue
Block a user