def __init__(self, health, mana, name="Baron", title="Dragonslayer", mana_regeneration_rate=2): Man.__init__(health, mana) self.__mana_regeneration_rate = mana_regeneration_rate self.__name = name self.__title = title self.__weapon = None self.__spell = None
def __init__(self, health=100, mana=100, damage=20): Man.__init__(self, health, mana) self.__damage = damage def attack(self): return self.__damage