def __init__(self, session, character): LS_highbehavior.__init__(self, session, character) self.children = [LS_derp(self.session, self.character)] self.target = None self.subtype = "zombie" self.randomwalk = LS_randomwalk(self.session, self.character)
def __init__(self, session, character, target): #ideally this will be a character LS_highbehavior.__init__(self, session, character) self.target = target self.children.append(LS_randomwalk(self.session, self.character)) self.children.append(LS_derp(self.session, self.character)) self.target_in_sight = False
def __init__(self, session, character): #ideally this will be a character LS_highbehavior.__init__(self, session, character) self.children.append(LS_attack(self.session, self.character)) self.children.append(LS_derp(self.session, self.character))