def __init__(self, lvl): if lvl == 1: Character.__init__(self, 5, 2, 2, 1) self.goblinSwipe() else: raise Exception("Fail to create Goblin!") quit()
def __init__(self, lvl): if lvl == 1: Character.__init__(self, 7, 3, 6, 3) self.rogueStab() self.roguePotion() else: raise Exception("Fail to create Warrior!") quit()
def __init__(self, lvl): if lvl == 1: Character.__init__(self, 7, 5, 3, 2) self.warriorCleave() self.warriorPotion() else: raise Exception("Fail to create Warrior!") quit()