Factory Pattern
def CreatureFactory:
def __init__(self, modifiers):
self.modifiers = modifiers
def spawn(self, hero):
hp = hero.lvl
for modifier in self.modifiers:
hp += hp * modifier
return Creature(hp)