Changed attack function for basic tower