Exemplo n.º 1
0
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)
Exemplo n.º 2
0
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)
Exemplo n.º 3
0
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)