def attack_structure_cb(objects: Objects, areas, abilities, attack_speed): ''' Attacks a enemy turret ''' use_ability(objects.structure[0], abilities, 'q') attack(objects.structure[0], attack_speed)
def attack_minion_cb(objects: Objects, areas, abilities, attack_speed): ''' Attacks a enemy minion ''' use_ability(objects.closest_enemy_minion, abilities, 'q') attack(objects.closest_enemy_minion, attack_speed)
def attack_turret_cb(objects: Objects, areas, abilities, attack_speed): ''' Attacks a enemy turret ''' use_ability(objects.closest_turret, abilities, 'q') attack(objects.closest_turret, attack_speed)