


def attack(self, goblin):
    goblin.health -= hero.power
    print("You do {} damage to the goblin.".format(hero.power))

def alive(self, goblin):
    if hero.health <= 0:
        print("You are dead.")
    return self.health

def print_status(self):
    print("You have {} health and {} power.".format(hero.health, hero.power))
