def check_death_enemy(arena, target):
    if (target.health <= 0):
        target.moves = 0
        arena.arena[target.pos] = 0
        arena.targets -= 1
        if (arena.targets <= 0):
            arena.targets = 0
    return (arena, target)
def check_death_enemy(arena, target):
    if (target.health <= 0):
        target.moves = 0
        arena.arena[target.pos] = 0
        arena.targets -= 1
        if (arena.targets <= 0):
            arena.targets = 0
    return (arena, target)