def __init__ (self, gridspace=0, _unit_range=0, picture=None): Unit.__init__(self, 10, 2, gridspace, True, False, _unit_range, picture) self.__gridspace = gridspace if _unit_range == 1: self.__damage = 8 self.__accuracy = 90 self.__name = "Melee" elif _unit_range == 2: self.__damage = 5 self.__accuracy = 85 self.__name = "Short" elif _unit_range == 4: self.__damage = 3 self.__accuracy = 80 self.__name = "Long" else: print "WHAT THE HECK ARE YOU DOING?!" print "THIS IS TOTES AN INVALID RANGE!!"
def __init__(self, gridspace=0, _unit_range=0, picture=None): Unit.__init__(self, 10, 2, gridspace, True, False, _unit_range, picture) self.__gridspace = gridspace if _unit_range == 1: self.__damage = 8 self.__accuracy = 90 self.__name = "Melee" elif _unit_range == 2: self.__damage = 5 self.__accuracy = 85 self.__name = "Short" elif _unit_range == 4: self.__damage = 3 self.__accuracy = 80 self.__name = "Long" else: print "WHAT THE HECK ARE YOU DOING?!" print "THIS IS TOTES AN INVALID RANGE!!"
def __init__(self, gridspace=94, special=0, picture=None): Unit.__init__(self, 30, 3, gridspace, True, True, 4, picture) self.__special = special
def __init__(self, gridspace=None, picture=None): Unit.__init__(self, 30, 2, gridspace, True, False, 4, picture)
def __init__ (self, gridspace=94, special=0, picture=None): Unit.__init__(self, 30, 3, gridspace, True, True, 4, picture) self.__special = special